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

  • From: "James F. Prudente" <JPrudente@xxxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Wed, 10 Sep 2008 10:31:52 -0400

Why not just locate the wallpaper on a network share and point to it via
the GPO Jamie indicates below?

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Nelson, Jamie
Sent: Wednesday, September 10, 2008 10:05 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Need help on rollout logon batch script

 

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
settings:

 

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
this 

 

 here is the script i have did

 

copy \\pdc\screen\picture.bmp <file:///\\pdc\screen\picture.bmp>
%SystemRoot%\picture.bmp 
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D
"%SystemRoot%\picture.bmp"
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,
UpdatePerUserSystemParameters

 

Thanks for the help

 

Cheers

Acchuthan

  

________________________________

New Email names for you!
<http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http:/mail.
promotions.yahoo.com/newdomains/sg/> 
Get the Email name you've always wanted on the new @ymail and
@rocketmail.
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: