Pages

Wednesday, October 23, 2013

Disable display properties through batch file:-
-------------------------------------------

@echo off

COLOR 6A

@echo                           ***********************************************
@echo                           *                                                                                          *   
@echo                           *        UPDATING REG KEY FOR DISPLAY                   *
@echo                           *                                                                                          *   
@echo                           ***********************************************

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispAppearancePage" /t  REG_DWORD /d "00000001" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispCPL" /t REG_DWORD /d "00000001" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispBackgroundPage" /t REG_DWORD /d "00000001" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispScrSavPage" /t REG_DWORD /d "00000001" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispSettingsPage" /t REG_DWORD /d "00000001" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "Wallpaper" /t REG_DWORD /d "00000001" /f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispAppearancePage"  /t REG_DWORD /d "00000001" /f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispCPL" /t REG_DWORD /d "00000001" /f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispBackgroundPage"  /t REG_DWORD /d "00000001" /f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispScrSavPage" /t REG_DWORD  /d "00000001" /f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "NoDispSettingsPage" /t REG_DWORD /d "00000001"/f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "Wallpaper" /t  REG_SZ   /d "00000001" /f
REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /v "ConvertedWallpaper" /t REG_SZ  /d "C:\WINDOWS\system32\IC.bmp" /f

pause

Copy it in notepad and save as .bat file.

No comments:

Post a Comment