Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-07-09
9
Medium Priority
?
1,037 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 
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 750 total points
ID: 24930193
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
OfficeMate Freezes on login or does not load after login credentials are input.
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 this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

618 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