Question

Locked

NET USE COMMAND

By delachriyo ·
I am trying to write a net use command to map a home drive for a user but itdoes not work..
my server name is SERVER1 and
the user name is Dan.
the home direcory I am trying to map is on SERVER1 and is a subfolder of the big USER folder.
I am typing the following net use command;
net use N: \\SERVER1\USER /USER:domain001\Dan

but I am still geting system error 59, or 67...

any help??
thanks

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Try this way

by IC-IT In reply to NET USE COMMAND

Presumably the user already has permission so just use the;
net use N: \\SERVER1\USER\HomeFolderName

Collapse -

Assuming that each user

by TonytheTiger In reply to NET USE COMMAND

will have a separate home directory, and that the directories already exist under a directory on SERVER1 with the share name of USER

Net use n: \\server1\user\%username%

Collapse -

NET USE COMMAND FOR MAPPING HOME FOLDER

by delachriyo In reply to Assuming that each user

Thanks for the reply but it still did not work for me the syntax I am puting asuming that the following metrics are fulfilled -

The user has a home directory on the server called DAN
the user home directory is within the USER folder and is called DAN
the server name is SERVER1
the Domain name is DOMAIN001

the syntax I used is:

net use N: \\SERVER1\USERS\%username%
and it prompted me for a sername and for a password, but when I put the user name DAN and the password I got
system error 59 .....unexpected network error occured.

same thing when I try the secnd option.

any idea please!!!!!!!

Collapse -

Couple of things

by IC-IT In reply to NET USE COMMAND FOR MAPPI ...

Is the users domain user name simply Dan?
Does Dan have the proper permissions on the folder?
Lastly is Dan actually logged onto the domain?

Collapse -

NET USE COMMAND FOR MAPPING HOME FOLDER

by delachriyo In reply to Couple of things

Yes the Username is DAN and his home folder in the USER directory is called DAN.
Dan is a user of the Domain and can log onto the Domain without problems.

Collapse -

What OS is on the server, and the workstation?

by TonytheTiger In reply to NET USE COMMAND FOR MAPPI ...

You aren't trying to use an XP Home machine on a domain are you?

Collapse -

NET USE COMMAND FOR MAPPING HOME FOLDER

by delachriyo In reply to What OS is on the server, ...

I am using a Windows XP SP2 workstation to connect to the server running WIN2003 OS.
the permissions are corrects in a sense thatthe user DAN have full control of his home directory and can access the USER folder.

It is not only the user who cannot connect with that command, but myself cannot when in fact I've got full access every folders on the server...

ANY IDEA ABOUT A COMMAND THAT WILL SORT ME OUT !!!!!!

Collapse -

A couple things

by TonytheTiger In reply to NET USE COMMAND FOR MAPPI ...

there are two kinds of permissions, NTFS permissions and share permissions. This sounds like a problem with share permissions.

Is the USER folder shared? Are the share permissions set right? (we set ours to everyone full control, and control access to individual files/folders on that share with NTFS permissions.)

Collapse -

Also check permissions

by Churdoo In reply to NET USE COMMAND FOR MAPPI ...

If mapping through the USER share, as in "net use p: \\server1\user\%username%" the domain users need to have Full Control on the USER SHARE. For NTFS permissions, they need READ permissions on the parent USER folder, but do not let that permission propogate to subfolders or all users will be able to browse other users' home folders. Then of course, the user will need Full Control of his own home folder.

Lastly, did you create the user home folders in ADUC / Properties / Profile / Home Directory? If so, that will create the home folder with the proper NTFS permissions on the home folder itself. You can also assign the drive letter on the same dialogue and may not need the net use command.

Collapse -

Not the way that I would do it

by Jacky Howe In reply to NET USE COMMAND

Try this from a command line on the Server.
<br><br>
xcacls %LOGONSERVER%\users\dan /T /G "Administrators":F dan:F
<br><br>
If you are not using Windows Home Edition why don't you use the built in feature and redirect My Documents.
<br><br>
I normally create the Users Home Directory Folders first. EG: \users\user1
<br><br>
The <u>Base</u> Users Folder needs to be Shared with appropriate permissions.
<br><br>
Open up Active Directory users and computers. Select all users that need the update. They all should be highlighted. Right Click Properties, Profile Tab, Place a check mark in the home folder. Click Connect radio button, provide the drive letter and path: \\server\Users\%username%.
<br><br>
Permissions will be applied.
<br><br>
The next time that the user opens My Documents or navigates through Explorer he/she is in his/her Home Folder on the specified Drive Letter.
<br><br>
< another alternative >

How to assign a home folder to a user

http://support.microsoft.com/kb/816313

Assign a home folder to a user from the command line
You can use the net user command to assign a home folder to a user from the command line. For example, at the command line, type the following command, and then press ENTER:
net user tester /homedir:\\server\tester$
This command assigns the tester$ hidden shared folder on the server to the user Tester.

Back to Networks Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums