.bat batch file to use as startup script to set desktop background color for all users
-
Wednesday, February 27, 2013 9:51 AM
hi friends
need a batch file to use as startup script so that any user login to pc (is a workgroup pc ) , the desktop background color be pink.
the following script doesn't work :
reg add "hkcu\control panel\controls" /v background /t reg_sz /d 21681113 /f
what is the problem ? help me plz.
( i think format of this code 21681113 shouldn't be so )
thanks in advance
- Edited by john.s2011 Wednesday, February 27, 2013 9:52 AM
All Replies
-
Wednesday, February 27, 2013 10:05 AM
A startup script cannot set a user key. I think you want to use Group Policy or perhaps a logon script.
¯\_(ツ)_/¯
- Marked As Answer by IamMredMicrosoft Employee, Owner Wednesday, May 01, 2013 4:33 AM
-
Wednesday, February 27, 2013 10:08 AM
Try this:
reg query "hkcu\control panel\colors" /v background
¯\_(ツ)_/¯
- Marked As Answer by IamMredMicrosoft Employee, Owner Wednesday, May 01, 2013 4:33 AM

