%WINDIR% in Wallpaper Policy

  • Thread starter Thread starter Peter C
  • Start date Start date
P

Peter C

I am trying to use the 'Active Desktop Wallpaper' policy.
Currently it works fine when set
to 'C:\Winnt\Web\Wallpaper\Corp.htm'
However when I try to use it with %WINDIR% in place of
C:\Winnt nothing is displayed on the desktops. Just the
background colour.
We made this change to allow the policy to work on Windows
XP (%WINDIR%=C:\Windows , not C:\WINNT).
 
Peter-

I'm not sure if you need it, but maybe %SYSTEMDRIVE% or
something like that so it'd read %SYSTEMDRIVE%%WINDIR%
\web\wallpaper\corp.htm

other than that, why not put the wallpaper on a shared
resource, and point to it w/ a UNC path?

Just some thoughts--they may be wrong ;)

Ken
 
Use %SystemRoot% instead of %Windir
It points to Windows folder. (for example C:\Windows or C:\Winnt).
 
%SYSTEMROOT% and %WINDIR% produce the same result.
On Windows 2000
%SYSTEMROOT% = C:\WINNT
%WINDIR% = C:\WINNT
On Windows XP
%SYSTEMROOT% = C:\Windows
%WINDIR% = C:\Windows
 
Back
Top