|
-
Hammerhead Shark
Logon Script
Hi,
I am trying to create a Logon Script for a win2k machine and to map a drive when it logs on, with the Logon Script is:
Echo off
Echo
net use U: \\Win2k3-svr-bd1\Users\Ian Taylor
Where am i going wrong?
Last edited by iantaylor; 06-19-2003 at 02:27 PM.
-
Crash Test Dummy
If you want to use the NET USE command to map drives, you need to either get rid of spaces in your UNC path or enclose the UNC path in quotation marks:
NET USE U: "\\Win2k3-svr-bd1\Users\Ian Taylor"
But if you're using a Windows NT/2000/XP workstation to log on to a domain, you shouldn't need to use a logon script to map a home directory. You can define a home directory in Active Directory Users and Computers (ADUC). Double-click a user in ADUC and go to the Profile tab. Under the "Home Folder" section, you can define a drive mapping.
Last edited by SkyDog; 06-19-2003 at 02:38 PM.
-
Hammerhead Shark
There is no domain setup, theres really no point when u have 2 machines. I've done the home directory but when i try that it works for a couple of times then the map drives then fall over and die.
Last edited by iantaylor; 06-19-2003 at 03:42 PM.
-
Crash Test Dummy
Another thing you could do is just use the /persistent:yes switch when you map the drive, so the system will keep the drive mapping, even if you restart the computer.
Just go to a command prompt and type:
NET USE U: "\\Win2k3-svr-bd1\Users\Ian Taylor" /persistent:yes
-
Hammerhead Shark
sorted it now.
cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|