Advertisement
Combreal

hideDesktopIcon.bat

Jun 21st, 2020
2,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.36 KB | None | 0 0
  1. rem Hide/Show Desktop items (req admin rights)
  2. reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDesktop /t REG_DWORD /d 1
  3. taskkill /F /IM explorer.exe & start explorer
  4.  
  5. reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDesktop /f
  6. taskkill /F /IM explorer.exe & start explorer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement