Solved

new added drive on netlogon not working on client machine

Posted on 2011-02-23
18
316 Views
Last Modified: 2012-05-11
Hi experts,

I have a problem connecting to a drive that i have added to the netlogon script. It is working on the server when i login, but on client machine it is not working.

I already did logoff and restart but still it is not working.
0
Comment
Question by:ragot
[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
  • 9
  • 9
18 Comments
 
LVL 95

Expert Comment

by:John Hurst
ID: 34966880
Did you add a line in an existing (and working) script? That is a normal way to add a drive. And simple logoff / logon always fixes that.

So, is the line typed properly (double check)? Does the drive properly exist (same server, same subnet, same domain, etc)? Overlapping drive letters? Last drive letter?

Have you turned persistence off and restarted?

... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 34966893

 Thanks Thinkpads_User for the fast reply.

 The shared folder is mapped automatically via the script when i logon to windows server.. but on clients it is not working..


 Yes i added a line in an existing and working script. the drive exist same server, subnet, domain.
 no overlapping drive letter. i assigned it as "X"

 i havent turned the persistence off and restarted. This i will do on server or on client?
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34966930
The steps I outlined about persistence are for the client. Persistence is a client issue and the server should be fine with handing out scripts.

I change existing scripts without issue on Server 2003.

Another thing to check is the user(s)' properties on the server. There should be a tab where the home folder is set. Make sure it is accomodating your new drive letter.

... Thinkpads_User
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:ragot
ID: 34967011

 the home folder connects to common user folder on remote site which is fine. you mean i need to change it and connect to the new shared folder that i want to map to users?
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34967031
No. I just wanted you to check the settings in there. The home folder will assign a drive letter and have a script that runs. You just need to make sure that the home folder letter is not X, for example. ... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 34967182

 yes the home folder is not X
0
 

Author Comment

by:ragot
ID: 34967212

 i tried including persistent off into the line of the new folder into the script.. restarted machine.. still X drive is not mapped
0
 
LVL 95

Accepted Solution

by:
John Hurst earned 500 total points
ID: 34968960
Try mapping it manually from the client. Open a command prompt and type:

NET USE X: \\server\folder name

What error or message do you get?

Also, on the client, open a command prompt and type NET USE . Do you see all your regular drives as expected?  Any other drives?  Still on the client, for each drive, type:

NET USE DRIVE: /PERSISTENT:NO
NET USE DRIVE: /DELETE

Do this for all drives and make sure all are deleted. Now restart and see if all reconnects.

... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 34976205

 mapping drives manually from the client i have no issues. i just want to map it to all users here automatically when they logon.
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34976230
OK, but now I would like to answer my questions on persistence. You have some issue of drive lettering, or at least so it appears. ... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 34976287
i tried net use, i saw all the network drives on My Computer, and the drive letter X is not yet taken by other drives
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34976288
Also, just to test: Try your script with a different drive letter. Also, remark out one line in your script and replace it with the new drive you wish to map. ... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 34976402

 I tried different drive letter on my script, I tried having a rem on one line. Still cannot automatically map that folder that i want
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34976482
Can you list out your server script here please? Change the server name to just server to protect privacy, but otherwise. list out your script.

Also does the script live in C:\WINDOWS\SYSVOL\sysvol\mbc.local\scripts ?

Then in Active Directory -> Users , select a user and then properties of the user. In the Profile tab, is your script in there? and what does the Home folder say? What drive letter? and does it point the the user's folder.?

... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 35003705

 i cannot see the mbc.local folder.
 In the Profile tab, is your script in there?  Yes
and what does the Home folder say?  folder of the user profile
What drive letter?  to another letter
and does it point the the user's folder.?  Yes
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 35006359
It was an example and should look like C:\WINDOWS\SYSVOL\sysvol\yourserver\scripts .

So it would now help if you could find the script and it should be in sysvol. I don't know where else.

... Thinkpads_User
0
 

Author Comment

by:ragot
ID: 35024212
thanks. I found the scripts on that folder. but the only problem is that certain drive is not automatically mapped into users machine
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 35026135
Can you list the script there (change the server name) ?

You have said "yes" to everything I have suggested. You say the folder is on the same server, same subnet, same domsin). You have suggested there are no overlapping drive letters or drive letters beyond "last drive".

The only things you have not done is (a) conclusive say you set "persistent:no" on the client drive and restarted and (b) list out the script.

A question I have not asked is: Did you share the new folder properly? Compare the sharing properties of the new folder to the sharing properties of an existing shared folder.

... Thinkpads_User
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

690 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