[gptalk] Re: Vista and environment variables

  • From: "Pickard, Steve" <steve.pickard@xxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Sat, 28 Jul 2007 17:26:48 +0100

And to make it even stranger, using the same evironment variable in the 
wallpaper display setting works absolutely fine!

        -----Original Message----- 
        From: gptalk-bounce@xxxxxxxxxxxxx on behalf of Darren Mar-Elia 
        Sent: Fri 27/07/2007 17:52 
        To: gptalk@xxxxxxxxxxxxx 
        Cc: 
        Subject: [gptalk] Re: Vista and environment variables
        
        

        Strange. Well, I will have to track this down as I’ve not seen it 
before. Do any other environment variables work on Vista, like %userprofile%?

         

        Darren

         

        From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] 
On Behalf Of Pickard, Steve
        Sent: Friday, July 27, 2007 9:38 AM
        To: gptalk@xxxxxxxxxxxxx
        Subject: [gptalk] Re: Vista and environment variables

         

        Darren - thanks for the reply

         

        There is no difference in the way we treat XP and Vista machines. The 
“Always wait ..” setting is enabled for both

         

        Steve

         

        From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] 
On Behalf Of Darren Mar-Elia
        Sent: 27 July 2007 17:32
        To: gptalk@xxxxxxxxxxxxx
        Subject: [gptalk] Re: Vista and environment variables

         

        Steve-

        This could be a timing issue where %appdata% is not available when 
policy is running. Are there are any differences in how your XP vs. Vista 
machines are configured? For example, do you have the “Always wait for the 
network at computer startup and user logon” configured on both versions?

         

        Thanks

        
        Darren

         

        From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] 
On Behalf Of Pickard, Steve
        Sent: Friday, July 27, 2007 1:10 AM
        To: gptalk@xxxxxxxxxxxxx
        Subject: [gptalk] Vista and environment variables

         

        Hi

         

        I’m trying to download and install a corporate screensaver on our 
machines – Win2k, XP and Vista.

         

        The method I chose was to use a GPO to 

         

        a)      Use a batch file to copy the .scr to the %appdata% folder 
(system32 was causing permission problems)

        b)      Put %appdata%\screensavername.scr in the Screen Saver 
Executable Name field under User Configuration/Administrative Templates/Control 
Panel/Display

         

        This seems to work OK for the XP machines, but Vista doesn’t seem to 
like the %appdata% variable in the GPO. If I put in the full pathname its OK.

         

        Any ideas gratefully received!

         

        Thanks

         

        Steve 

         

Other related posts: