Windows Server TechCenter > Windows Server Forums > General > Modifying Windows Appearance via Command Line / Script

Answered Modifying Windows Appearance via Command Line / Script

  • Saturday, January 23, 2010 3:33 PM
     
     
    How do I specify the Windows Appearance settings (eg - color, border width, etc) via a script or command line?  tx

Answers

All Replies

  • Saturday, January 23, 2010 6:07 PM
     
     Answered
    You might be able to modify via RegWrite method of VBScript

    HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
    HKEY_CURRENT_USER\Control Panel\Colors

    Then run;

    RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters,1,True





    Regards, Dave Patrick .... Microsoft Certified Professional Microsoft MVP [Windows]
  • Saturday, January 23, 2010 7:36 PM
     
     
    Just a note that if you utilize group policy preferences (available in Windows Server 2008 and later) you can easily handle and push out registry values not avaliable with regular group policies, which might be what you want if you are about to customize the look of many client machines.
  • Monday, January 25, 2010 6:58 AM
    Moderator
     
     Answered

    Hi,

     

    Agree with Dave that you may modify the keys under  HKEY_CURRENT_USER\Control Panel\Desktop to customize the appearance settings. For more information about these sub keys, please refer to:

     

    http://technet.microsoft.com/en-us/library/cc776173(WS.10).aspx

     

    Regards,

    Bruce