Solved

Network Drives

Posted on 2008-10-07
9
296 Views
Last Modified: 2012-05-05
Hello,

We are experiencing a problem where the users sometimes when logon the script does not run.  It's a random problem, sometimes it will run of rone user and not for another..

Help Please?
0
Comment
Question by:fais79
9 Comments
 
LVL 5

Expert Comment

by:ccns
ID: 22664579
can you post your logon script, to see if there is issues with this.
also is your network slow at all when copying files or anything? is the network at capacity? this can slowdown loging into pc and stop scripts from running.
my script works 100% looks like attached.
also could be corrupted profile on specific computers.
try recreating users profile if changing script doesnt work.
net use g: "\\server\shared data"
net use j: "\\server\finadmin"
net use k: "\\server\finance"

Open in new window

0
 
LVL 3

Expert Comment

by:Willy Van den Houten
ID: 22664804
maybe your problem is not a script problem, but a network problem.
Can't you see an error message that the computer is not able to set his network drive ?

Why don't you make your network drives persistant ? so you don't have to recreate the drive when users log on.?

0
 
LVL 2

Expert Comment

by:simeonf
ID: 22666356
Hi fais79,

Do you have multiple domain controllers? It's possible you have a replication or permissions issue between them and the script is not available on one or more of them - this would explain the intermittent results.  

Check the File Replication Service logs on the DCs for a start!

Cheers,
Simeon
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:fais79
ID: 22667180
net use w: \\server6\%username%$ /persistent:yes
net use x: \\server1\RMPublic /persistent:yes
net use y: \\server1\WholeSchool /persistent:yes
net use z: \\server3\SharedApps /persistent:yes

Above is our script
0
 
LVL 10

Expert Comment

by:augwest
ID: 22672402
If these scripts run through GPO  Group Policy Objects then it is possible that either the workstations or user are not in the OU they are applied to.

Other than that i would think maybe it has to do with network issues.
0
 

Author Comment

by:fais79
ID: 22673532
No they do not run via GPO.  Scripts are contained in the Netlogon
0
 
LVL 10

Accepted Solution

by:
augwest earned 500 total points
ID: 22688623
Fais79 here is an example of ours, maybe you could do it this way.

Is it possible people may have flash or extrenal devices using those drive letters
NET USe M: /delete
NET USE m: \\tgpm01a\Marketing
NET USE f: /delete
NET USE f: \\tgp18\users\%username%
NET USE P: /delete
NET USE p: \\tgp18\projects
NET USE g: /delete
NET USE g: \\tgp18\admin
NET USE h: /delete
NET USE h: \\tgp12\graphics
NET USE q: /delete
NET USE q: \\tgp18\projectsv8
NET USE r: /delete
NET USE r: \\tgp11\projectsrevit

Open in new window

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sccm importing drivers 4 28
Disabling energy efficient ethernet on all hardware models 6 52
Create workstation base image 4 44
How to remove unwanted words? 34 40
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 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