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

Logging onto NT4 using XP-Shared Drive error

Status
Not open for further replies.

bchizary

Technical User
Aug 28, 2003
148
GB
Hello, hope ya all can help me out here- we are migrating from win 98 to xp pro (about blooming time!!) the file and print server is nt4.0, at the moment when someone logs onto the domain it maps there network drive on the pc as a 'h' drive using an NT logon script. If i log onto an xp pro machine this drive isnt mapped. i have to manually do it.
Is there something i need to change in the script- this is it below:

Net Time \\autnts01 /SET /YES >nul
Net Use h: /delete /yes >nul
Net Use h: /HOME /yes >nul

Thanks for any help
BenC
 
Logon scripts that are domain based will not run when the user logs onto the workstation locally. You must logon to the domain for the script to run.

"If i log onto an xp pro machine this drive isnt mapped" Don't have users logon to the xp pro machine, rather have them logon to the domain from the xp pro machines. Logging onto the domain will allow them to user domain resources.

-hope this helps..

Joseph L. Poandl
MCSE 2003

If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
 
sorry i meant to say when i log onto the domain on the xp machine, so when i log onto the machine it is like this:

User Name 'my username'
Password 'my domain password'
Domain 'autdom01' (not the machine name)

it picks up my name from the nt machine bacuse it appears on top of the start menu- but it doesnt map the drives.
 
Test your logon script manually through using a mapped drive to the netlogon directory:


1)login as the client user (without admin rights)
2)map a drive to the netlogon directory.
3)Goto a dos prompt and change the drive letter to the mapped drive.
4)run the bat file....and see if errors are displayed. (You can run the bat file, simply by typing the name of the bat file in the DOS prompt

Joseph L. Poandl
MCSE 2003

If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
 
Ran the batch file:

*********************************************
System Error 1314 has occurred
The required privilege not held by client

The Current Directory is not valid
The Current Directory is not valid
*********************************************

I am siging on as a user which did work on the win98 machine.
 
update again! the 1314 error was the batch file updating the time, so i have took that line out, so that bit is sorted.
If i just log on then it doesnt map the drives, however if i log on and then go to 'NETLOGON' and run the batch file it does map the drives.

Shouldnt it run my logon script as set in my NT user profile when i log onto the domain on the xp machine?
 
Pick the users ID FROM THE DOMAIN and make this user a local admin of the XP Professional.

Try to logon into the domain...

This is just a test....

Joseph L. Poandl
MCSE 2003

If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top