Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Script to change Logon wallpaper

Script to change Logon wallpaper

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Script to change Logon wallpaper

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

Hi there,
I want to change the default logon screen wallpaper for machines on our
Win2k domain. I have accomplished it by modifying the registry at
HKEY_USERS\.DEFAULT\Control Panel\Desktop Wallpaper and specifying a path
here, but is there a way this can be written into a Visual Basic script to
run as a logon script?
Many thanks to anyone who knows how to do this!

PS. If anyone knows how to change the logon box logo from the standard
windows xp one I would be even more pleased! :)

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

On Tue, 21 Dec 2004 09:21:04 -0800, Andy C Matthews <Andy C Matthews@discussions.microsoft.com> wrote:

>Hi there,
>I want to change the default logon screen wallpaper for machines on our
>Win2k domain. I have accomplished it by modifying the registry at
>HKEY_USERS\.DEFAULT\Control Panel\Desktop Wallpaper and specifying a path
>here, but is there a way this can be written into a Visual Basic script to
>run as a logon script?
>Many thanks to anyone who knows how to do this!
>
>PS. If anyone knows how to change the logon box logo from the standard
>windows xp one I would be even more pleased! :)


Ordinary users don't have the permission.

Install reg.exe from the support tools on the W2K CD-ROM to your
workstation. Then run
DefWP WallPaperPath
to change all the computers on your network.

@echo off
if {%1}=={} @echo Syntax: DefWP WallerPaperPath&goto :EOF
if not exist %1 @echo Syntax: DefWP WallerPaperPath - %1 not found.&goto :EOF
setlocal
set wp=%1
for /f "Tokens=*" %%c in ('net view^|FIND "\\"') do (
REG ADD "%%c\HKU\.DEFAULT\Control Panel\Desktop" /V Wallpaper /T REG_SZ /D %wp% /F
)
endlocal


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com

Reply to Anonymous

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

or you could write a vbs script (see below), create a group policy COMPUTER
startup script (will run with local system permissions, and then you don't
have user restriction problems) and write it that way...

Set objShell=CreateObject("Wscript.Shell" )
KeyName = "HKEY_USERS\.DEFAULT\Control Panel\"
objShell.RegWrite KeyName & "Desktop Wallpaper", "\\server\share\image.jpg"

change the UNC path and file name to whatever you want and that should work.

-Brian

"Jerold Schulman" <Jerry@jsiinc.com> wrote in message
news:gbris0hjivtppor60arsjg5n92qmh4goo4@4ax.com...
> On Tue, 21 Dec 2004 09:21:04 -0800, Andy C Matthews <Andy C
> Matthews@discussions.microsoft.com> wrote:
>
>>Hi there,
>>I want to change the default logon screen wallpaper for machines on our
>>Win2k domain. I have accomplished it by modifying the registry at
>>HKEY_USERS\.DEFAULT\Control Panel\Desktop Wallpaper and specifying a path
>>here, but is there a way this can be written into a Visual Basic script to
>>run as a logon script?
>>Many thanks to anyone who knows how to do this!
>>
>>PS. If anyone knows how to change the logon box logo from the standard
>>windows xp one I would be even more pleased! :)
>
>
> Ordinary users don't have the permission.
>
> Install reg.exe from the support tools on the W2K CD-ROM to your
> workstation. Then run
> DefWP WallPaperPath
> to change all the computers on your network.
>
> @echo off
> if {%1}=={} @echo Syntax: DefWP WallerPaperPath&goto :EOF
> if not exist %1 @echo Syntax: DefWP WallerPaperPath - %1 not found.&goto
> :EOF
> setlocal
> set wp=%1
> for /f "Tokens=*" %%c in ('net view^|FIND "\\"') do (
> REG ADD "%%c\HKU\.DEFAULT\Control Panel\Desktop" /V Wallpaper /T REG_SZ /D
> %wp% /F
> )
> endlocal
>
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Script to change Logon wallpaper
Go to:

There are 1286 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them