1
0
Files
Repository/Windows-Custom-user/install.cmd
2025-10-31 08:58:36 +01:00

11 lines
456 B
Batchfile

Set cmdwinsat=Winsat
Set cmdpowershell=powershell
Set cmdpowercfg=powercfg
if defined PROCESSOR_ARCHITEW6432 Set cmdwinsat=%SystemRoot%\Sysnative\cmd.exe /c Winsat
if defined PROCESSOR_ARCHITEW6432 Set cmdpowershell=%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe
if defined PROCESSOR_ARCHITEW6432 Set cmdpowercfg=%SystemRoot%\Sysnative\cmd.exe /c powercfg
copy "%~dp0CustWin.cmd" c:\windows\CustWin.cmd /Y
regedit /s "%~dp0activeSetup.reg"