Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logon script

Status
Not open for further replies.

seanos

IS-IT--Management
Mar 4, 2002
126
GB
anyone know what the code would be to put a default background screen on people's machine when they log onto the network??

Seanos
 
Although Darrangl's suggestion will work, I do it this way.

Modify the "HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper" value in the registry.

If you want the same for all users, you can do this simply by putting a line in the logon script:
"reg update "HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper=\\server\share\filename.bmp"

Cheers,
Sam
 
i gather the reg update command doesnt work in win98. just keeps throwing up "Bad command or file name" messages.

Any idea what thr syntax is for win98.
 
Check out

Put KIX32.EXE and the other two DLLs into the NETLOGON share.

At the bottom of the logon script put;

%\..\KIX32 mykixscript.kix



Contents of mykixscript.kix is as follows;
_________________________________________________
If SetWallpaper ("kixtart.bmp") = 0
? "Set current wallpaper to KiXtart.bmp..."
Endif
_________________________________________________


This is a fantastic and simple to use logon scripting tool..

You'll find loads of functions for completing the most complex administrative tasks from a logon script..

There's also a great forum, and sample scripts

Hope this helps
 
sorry if i seem a bit thick.....but what

a: what is this kix32

b: which 2 dll files are u refering too.
 
Did you check the URL at the top of the Post ?


Download and extract the above ZIP file, it contains KIX32.exe and the mentioned DLL files, along with a word document which gives simple instructions, on the use of this great tool.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top