|
-
January 15th, 2001, 12:37 AM
#1
[RESOLVED] Logon Scripts
I am running Windows 2000 Advanced Server at home and I had a machine running 2000 Professional logging into it for a while. I had problems with Professional finding my ECP port so I just gave up and went back to Win98. I have it logging into my domain, and that's fine and I can see the files. However, I'd like to create a logon script. I'm getting an error with the one I currently have which is simply:
net use E: \\Upstairs01\Network\KJohnson
KJohnson is the folder that I'd like for the user KJohnson to log onto and use. I have it as a batch file and I'm getting the error that it can't do it for whatever reason. Can anyone help and give me better direction in writing these scripts and the like?
I'd appreciate it!
-
January 15th, 2001, 04:27 PM
#2
I just happened to be wandering through this section and I saw your post. I've been using Kixtart at work, it seems to handle most everything I throw at it. It will allow you to create a script that includes a line like this:
USE X: @HOMESHR
Where the @HOMESHR is the directory you set in your account. Or you can try this:
USE X: \\Upstairs01\Network\@USERID
or something to that effect. I hate to preach this scripting utility, but it's been a godsend to me, and has done everything from logon scripts to software rollouts!
You can find it at www.kixtart.org
Hope that helps!
------------------
Lee Madajczyk, MCP
Systems Administrator
Lee Madajczyk, MCP
Systems Administrator
-
January 16th, 2001, 04:42 AM
#3
The syntax of net use is :
net use driveletter \\servername\sharename.
So you can only connect to a share. If you want a user to connect directly to his homedirectory, you've got to share it on the server. If you don't want everybody to see the usre shares then you have to make them hidden. So for your example share the directory KJohnson as KJohnson$ (Hidden Share) Then in your logonscript you can use : Net Use E: \\Upstairs01\%username%$
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
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
|
|