bcdboot c:\Windows
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:000000ff [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=-
powercfg -h off
Control Panel\All Control Panel Items\Action Center
%userprofile%\Desktop %userprofile%\Downloads
%userprofile%\AppData\Local\Temp
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /va /f >nul 2>nul
%PROGRAMFILES(X86)%\Notepad++\plugins\APIs mel.api %appdata%\Notepad++ insertExt userDefineLang
//python27.dll C:\Program Files (x86)\Notepad++ \\ .\plugin C:\Program Files (x86)\Notepad++\plugins
Control Panel\All Control Panel Items\Programs and Features
Control Panel\All Control Panel Items\Programs and Features
wf.msc
REM show rule detail by name netsh advfirewall firewall show rule name=YourRuleName REM add a app-blocking rule netsh advfirewall firewall add rule name="myApp" dir=out action=block program="D:\path_to_app\myApp.exe" REM import and export rule in binary netsh advfirewall export "D:\tmp\fw-rules.wfw" netsh advfirewall import "D:\tmp\fw-rules.wfw" REM export rule in reg format in admin mode regedit /E D:\zTmp\fw.reg "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" REM restore to default rule netsh advfirewall reset