Solved

Logon script command (net use x: /home) fails with system error 53

Posted on 2009-07-09
9
1,018 Views
Last Modified: 2013-12-04
I'm hoping someone can help shed some light on a problem I'm having. Here's the situation:

We've got a W2K3 network with two DCs and about 25 or so users running XP Professional clients. For each user's profile, the Home folder is specified as drive H: via the Connect option and points to \\server\user.name, and each user's logon script contains the net use H: /home /y command.  Also, each DC has a Users folder which in turn contains home folders for some of the users. (The servers used to handle seperate divisions (different OUs) in different locations prior to a company consolidation.)

Here's the problem. When users with home folders on DC01 login to the domain, they get their H: drive. But when users with home folders on DC02 login, they don't get it-- instead, while other drive mappings to DC02 work OK, the net use /home command fails with Error 53, network path not found. For the users with home folders on DC02, I can manually map their home folder via net use \\server\user.name as well as in Windows Explorer.

Anyone have any ideas as to why the \home command works for one group and not the other? Could this have something to do with OU settings or how permissions are configured on the respective Users folders?

Any insights would be greatly appreciated!

Regards,

Joe


 

0
Comment
Question by:Joe2009
  • 2
  • 2
  • 2
  • +2
9 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 24817770
Possibly.

also, I would make sure you do a delete of the H: drive before mapping it in the login script.

I hope this helps !
0
 
LVL 4

Expert Comment

by:samsixty
ID: 24821108
Odd that it works for one group but not the other yet you are doing the same thing.

Personally I use group policy to redirect users home folders, and a logon vbscript to to map drives depending on which group the user is in. (see code snippet for example)

These links may be helpful:

Folder redirection best practices, http://technet.microsoft.com/en-us/library/cc739647%28WS.10%29.aspx

Implementing folder redirection using group policy, http://www.tech-faq.com/implementing-folder-redirection-using-group-policy.shtml


On Error Resume Next
 
Set objSysInfo = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")
 
strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)
strUserName = objNetwork.UserName
objNetwork.MapNetworkDrive "N:", "\\Servername\Private\" & strUserName
 
For Each strGroup in objUser.MemberOf
    strGroupPath = "LDAP://" & strGroup
    Set objGroup = GetObject(strGroupPath)
    strGroupName = objGroup.CN
 
    Select Case strGroupName
        Case "Accounts"
			objNetwork.MapNetworkDrive "R:", "\\Servername\Common"
			objNetwork.MapNetworkDrive "J:", "\\Servername\Accounts"
 
 
 
	Case "Engineering"
			objNetwork.MapNetworkDrive "R:", "\\Servername\Common"
			objNetwork.MapNetworkDrive "H:", "\\Servername\Engineer"
 
 
    End Select
Next

Open in new window

0
 

Author Comment

by:Joe2009
ID: 24843270
Thank you for the links.

Since I didn't set up this network originally, I want to avoid making any wholesale changes until I better understand how things are configured. Plus I'm a little rusty (OK, a lot) and don't have much experience with Group Policy.

What I don't understand is why the \home variable doesn't work when I can map to the specific folder by name. Is there any way this can be an NTFS/sharing  permissions issue?
 
Joe
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:samsixty
ID: 24859892
How about trying 'net use h: \\server\%username%' instead of 'net use H: /home' in your logon script, that is not much of a change and may work.
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 24866673
Are you using the %homeshare% variable in thier AD properties??
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24866702
0
 

Author Comment

by:Joe2009
ID: 24926813
Sorry for the delayed response-- I've been away.

I can make the drive mapping work by using \\server\%username% instead of /Home in the logon script. I have also noticed that by changing the Connect path from \\server\username to \\server\\users\username, a new home folder for the user is created, which then maps perfectly.  

For the users whose mappings don't work, it apparently never worked. I suspect the home folders were not created via ADU&C but were set up in advance and then had the path added to the profile. It's the only explanation I can think of for why the exact same logon script and folder path works for some users and not others.

I'm guessing the home folder file/and or share permissions are messed up on affected users, but it's not obvious to me what the problem is.

Anybody know of a decent doc that explains optimal home folder permissions?



0
 
LVL 66

Expert Comment

by:johnb6767
ID: 24930078
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 250 total points
ID: 24930193
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Botnet detection help me please 21 150
OLD CPUs 12 109
How do I restrict certain programs? 9 44
Mac OS upgrade: Does it expunge malware? 4 27
SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question