[gptalk] Re: Need help on rollout logon batch script

  • From: "Nelson, Jamie" <Jamie.Nelson@xxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Wed, 10 Sep 2008 09:04:48 -0500

Well for starters, I would use a computer startup script to copy the
file to the system root folder. It will run under the NT
AUTHORITY\SYSTEM context and should have all the rights you need. Or, if
you have the Group Policy Preference (GPP) extensions deployed, you can
also them to do simple file copies like this.


For configuring the actual wallpaper though, you should use the native
Group Policy settings so the wallpaper can easily be "undone" my simply
removing the GPO . You'll need to configure the following policy


User Configuration/Administrative Templates/Desktop/Active
Desktop/Enable Active Desktop = "Enabled"

User Configuration/Administrative Templates/Desktop/Active
Desktop/Active Desktop Wallpaper = "Local/UNC Path to Wallpaper"


Keep in mind that once you configure it this way, the user will not be
able to change it.


Jamie Nelson | Operations Consultant | BI&T Infrastructure-Intel | Devon
Energy Corporation | Work: 405.552.8054 | Mobile: 405.200.8088 |
http://www.dvn.com <http://www.dvn.com/> 


From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Acchuthan Ramachandran
Sent: Tuesday, September 09, 2008 11:36 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Need help on rollout logon batch script


Hi! All,


  i need a help on rollout the batch file in logon script, i have
created a bacth script to change the default wall paper and screen
saver, But the users are normal users, so when the script cant copy the
file to the system root folder. I want this to be done and dont let the
users to changet the wall paper or screen saver. could anyone help me on


 here is the script i have did


copy \\pdc\screen\picture.bmp <file:///\\pdc\screen\picture.bmp>
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
%SystemRoot%\System32\RUNDLL32.EXE user32.dll,


Thanks for the help






New Email names for you!
Get the Email name you've always wanted on the new @ymail and
Hurry before someone else does!

Confidentiality Warning: This message and any attachments are intended only for 
the use of the intended recipient(s), are confidential, and may be privileged. 
If you are not the intended recipient, you are hereby notified that any review, 
retransmission, conversion to hard copy, copying, circulation or other use of 
all or any portion of this message and any attachments is strictly prohibited. 
If you are not the intended recipient, please notify the sender immediately by 
return e-mail, and delete this message and any attachments from your system. 

Other related posts: