Windows Explorer Separate Process Batch Script

Run Windows Explorer in a separate process

@Echo Off
Title Reg Windows Explorer in a separate process
cd% systemroot% \ system32
call: IsAdmin

Reg.exe add "HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced" / v "SeparateProcess" / t REG_DWORD / d "1" / f
Exit

: IsAdmin
Reg.exe query "HKU \ S-1-5-19 \ Environment"
If Not% ERRORLEVEL% EQU 0 (
Cls & Echo Administrative rights are required ...
Pause & Exit
)
Cls
goto: eof

Windows Explorer Separate Process

Software Restrictions Software Restriction Policies