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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logon scripts for NT server

Status
Not open for further replies.
Feb 2, 2004
36
CA
I have an NT server 4.0. I am upgrading my windows 98 workstations to XP pro. But the logon scripts don't work in xp. The xp machines will have to connect to printers, shares, and have no access to control panel, net neighborhood...and so on
please help
 
Please answer the following:

Does the script even process?

What happens when you type the commands manually?

Matt J.

Please always take the time to backup any and all data before performing any actions suggested for ANY problem, regardless of how minor a change it might seem. Also test the backup to make sure it is intact.
 
the script does not process. the command window just appears for a second then dissapears when i log in. But when i do, i get the default icons for xp. As if i logged in for the first time.
if i try to run them manually it does the same thing (the command window just appears for a second).
ps- i forgot to install service pack 1. Does that affect my problem?
thanks
 

Type the word PAUSE at the end of your logon scripts. This will pause the command window on client's screen so you can take down any errors the that the script is reporting.

Post the errors back to this thread.

Also, are you using Systems Policies in your domain to prevent access to the Control Panel, remove Network Neighborhood, etc?





 
Hi
I included PAUSE at the end of the script. It says: "NT Os detected... Skipping scriptPress any key to continue . . ."
Then it disapears.
This is the script:

@ECHO OFF
CLS
ECHO Loading script ...
CALL \\server\NETLOGON\kix32 \\server\NETLOGON\GOZER.SCR
rem CALL \\server\NETLOGON\SMSLS.BAT
pause

All I want to do is map 4 shares and a printer
please help
 

On your NT 4 Server in User Manager for Domains, is each User set up properly to process the required logon script?

Also, what does kix32 do which you are calling in your script?
 
yes all users are set up properly in user manager.
kix32.exe is the script editor I use.
 
Right, so you're using the KiXtart scripting language from
The first thing i'd do is try and execute the commands in your KiXtart script locally. For example, download the KiXtart runtime to one of your XP machines and try and execute each line of your script - one by one.

The message 'NT OS Detected... Skipping script' - is this part of your script? An error catching routine for example?

As a matter of interest, does your script work okay under Windows 98? If so, could you have permission problems under XP?
 
yes I use this script for my Windows 98 machines, and it works fine. I log in to an XP machine and it does nothing.
 
Chrisosullivan,
I have encountered ALL sorts of errors when trying to run KIX32 in an XP environment. I have used KIX32 for my Win9x logins to enable %username% and other standard Windows system variables. Windows XP can handle the system variables just fine. I would just go to a standard scripting bat file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top