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

  • From: Acchuthan Ramachandran <acchuthan@xxxxxxxxxxxx>
  • To: gptalk@xxxxxxxxxxxxx
  • Date: Thu, 11 Sep 2008 13:24:57 +0800 (CST)

HI! All, thanks for the info's,
   
    The reson i copy to their local system instead of network share, wre dont 
want anytime if the network conenctivity loss, as what Nelson says,i will try 
to apply it admin template it also didnt take effect.. more over i tried to use 
run as , but runas won't allow be encoded with the password... once i copied to 
systemroot folder.
   
  Regards
  Acchu

"Nelson, Jamie" <Jamie.Nelson@xxxxxxx> wrote:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        
        Well if you do want to keep everything on the network (I would), just 
use offline files to cache those network shares which hold your desktop, start 
menu, and wallpaper content. J
   
    Jamie Nelson | Operations Consultant | BI&T Infrastructure-Intel | Devon 
Energy Corporation | Work: 405.552.8054 | Mobile: 405.200.8088 | 
http://www.dvn.com

   
      From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On 
Behalf Of James F. Prudente
Sent: Wednesday, September 10, 2008 10:29 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Need help on rollout logon batch script


   
  OK, fair enough. In my case, if a user loses their network connection they?re 
not getting a start menu, desktop or anything else, so the wallpaper is the 
least of their problems. :)
   
   
      From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On 
Behalf Of Nelson, Jamie
Sent: Wednesday, September 10, 2008 10:54 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Need help on rollout logon batch script


   
  Because if you ever lose your network connection for whatever reason your 
wallpaper will go blank. Copying it to the local system is an extra step, but 
it?s simple and gives you  much more consistent results. J
   
    Jamie Nelson | Operations Consultant | BI&T Infrastructure-Intel | Devon 
Energy Corporation | Work: 405.552.8054 | Mobile: 405.200.8088 | 
http://www.dvn.com

   
      From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On 
Behalf Of James F. Prudente
Sent: Wednesday, September 10, 2008 9:32 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Need help on rollout logon batch script


   
  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
   
    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 %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! 
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. 



       
---------------------------------
  New Email names for you!  
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!

Other related posts: