Update Windows post install tweaks
This commit is contained in:
parent
628f355a42
commit
3aae380de4
@ -43,6 +43,11 @@ REG ADD HKEY_CLASSES_ROOT\Directory\background\shell\cmd /v "Extended" /d "" /F
|
|||||||
REG ADD HKEY_CLASSES_ROOT\Directory\shell\Powershell /v "Extended" /d "" /F >nul 2>&1
|
REG ADD HKEY_CLASSES_ROOT\Directory\shell\Powershell /v "Extended" /d "" /F >nul 2>&1
|
||||||
REG ADD HKEY_CLASSES_ROOT\Directory\background\shell\Powershell /v "Extended" /d "" /F >nul 2>&1
|
REG ADD HKEY_CLASSES_ROOT\Directory\background\shell\Powershell /v "Extended" /d "" /F >nul 2>&1
|
||||||
|
|
||||||
|
echo Enabling numlock during login screen
|
||||||
|
reg add "HKEY_USERS\.DEFAULT\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f
|
||||||
|
echo Enabling numlock when logged in
|
||||||
|
reg add "HKEY_CURRENT_USER\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f
|
||||||
|
|
||||||
echo Disabling password complexity.
|
echo Disabling password complexity.
|
||||||
@rem secedit /export /cfg "%cd%\secconfig.cfg"
|
@rem secedit /export /cfg "%cd%\secconfig.cfg"
|
||||||
(
|
(
|
||||||
@ -82,6 +87,14 @@ if %ERRORLEVEL% EQU 1 (
|
|||||||
echo You must restart the computer before changes are in effect.
|
echo You must restart the computer before changes are in effect.
|
||||||
)
|
)
|
||||||
|
|
||||||
|
choice /C yn /M "Disable adds?"
|
||||||
|
if %ERRORLEVEL% EQU 1 (
|
||||||
|
echo Disabling adds
|
||||||
|
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_IrisRecommendations /t REG_DWORD /d 0 /f >nul 2>&1
|
||||||
|
echo Disabling Copilot
|
||||||
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f >nul 2>&1
|
||||||
|
)
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo All done!
|
echo All done!
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user