From 8020be67e177afab1e421249045ab360c8cb520f Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Tue, 30 Mar 2021 23:24:39 +0200 Subject: [PATCH] finalizing --- scripts/autoconfig-all.cmd | 4 +-- scripts/modify-explorer.cmd | 31 ++---------------- .../tweaks/remove_userfolders_thispc_64.reg | Bin 0 -> 6614 bytes 3 files changed, 5 insertions(+), 30 deletions(-) create mode 100644 scripts/tweaks/remove_userfolders_thispc_64.reg diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index f67d0cd..0f5d248 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -78,8 +78,8 @@ echo. call modify-path.cmd echo. -call modify-explorer.cmd -echo. +rem call modify-explorer.cmd +rem echo. call modify-powersettings.cmd echo. diff --git a/scripts/modify-explorer.cmd b/scripts/modify-explorer.cmd index f2059bd..be13863 100644 --- a/scripts/modify-explorer.cmd +++ b/scripts/modify-explorer.cmd @@ -6,37 +6,12 @@ echo disabling network icon ... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\NonEnum" ^ /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 1 /f 1>nul -echo removing user folders ... -for %%K in ( - - {0DB7E03F-FC29-4DC6-9020-FF41B59E513A} - {B4BFCC3A-DB2C-424C-B029-7FE99A87C641} - {A8CDFF1C-4878-43be-B5FD-F8091C1C60D0} - {d3162b92-9365-467a-956b-92703aca08af} - {374DE290-123F-4565-9164-39C4925E467B} - {088e3905-0323-4b02-9826-5d99428e115f} - {1CF1260C-4DD0-4ebb-811F-33C572699FDE} - {3dfdf296-dbec-4fb4-81d1-6a3438bcf4de} - {3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA} - {24ad3ad4-a569-4530-98e1-ab02f9417aa8} - {A0953C92-50DC-43bf-BE83-3742FED03C9C} - {f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a} - -) do ( - - echo %%K - rem reg delete ^ - "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\%%K" /f 2>nul - rem reg delete ^ - "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\%%K" /f 2>nul - reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons" ^ - /v "%%K" /t REG_DWORD /d 1 /f 2>nul - -) +echo removing 3d Objects ... +reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 1>nul +reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 1>nul echo restarting explorer ... taskkill /f /im explorer.exe 1>nul 2>nul start explorer.exe echo ####### %0 ####### - diff --git a/scripts/tweaks/remove_userfolders_thispc_64.reg b/scripts/tweaks/remove_userfolders_thispc_64.reg new file mode 100644 index 0000000000000000000000000000000000000000..5035021c48d6c283cd54aec0f48ba45fa694645a GIT binary patch literal 6614 zcmds*QE$^Q5XbKsiSN)a5R^7an~0}2Z3TjkX`oezqN!^em|$zwZj1@>)q&st+6U0~ zMx%6Hq?S9(ihOaBQLD1EjYdR`y6M>c2vE9S6)T0qV0hYc*HjL|PGVO9|agm9cf>oPow+T#SY__K4Boj@9e6Q1ir_g^&bz9`7NJI8Nd6M4jq3KJhY{+Q{YU%E z99(WPLM6ml3dW3l&x?t>HdF!_^pQ1Wi*tB;)XJ&5@G^Wu*@1Eg^=tEF4M(Vu{3TR`s@sq5Bh-ZaNg4j4!MT(2 zA7xF7wHR74IP`2t)QWgimXLeY39S;IlKAU+55=W&s!=15DFJCJFFKhBdzP$z#s8Nr zDrjM|Y_X(7Xw0!jO39He&`6Q2YOzJAQ5TZGgleO@{pdb29Xl#r`zc|b~ zq|7KI(ju^CK&>1hCFYbb=xjGYrw64|U>{!Jc^S3tA^Nq%GC7mmM#YNNXS=srH3f=}8B*Nw&|;Y{Ii zS5ga+GC0FS7NvWq3f=(3${o4(S$zkD8lk0AkNTCh#N%UQQ^gv)tXCP4a7XvLF+Q-z p=?bJ4Iv3Q+86z}>-4!|+*rn5L