Re: Login Script - System error 85
- From: "Ace Fekay [MVP]" <PleaseAskMe@xxxxxxxxxxxxxx>
- Date: Tue, 5 Feb 2008 00:05:52 -0500
In news:48A3093A-E8DE-4200-918C-EC9E5E0BEDEF@xxxxxxxxxxxxx,
Marc S <MarcS@xxxxxxxxxxxxxxxxxxxxxxxxx> typed:
I am running a basic Login script in Sysvol to map a few mapped
drives thru the Net use: \\server\folder /persistent:yes command.
After the first logon, the next consecutive logons give me System
error 85 has occurred. The local device is already in use. The
mapped drive is there, but there is an error in the script.
Is there a better way to re-map drives on each Logon?
What I did in situations with such a script, and is good practice, is to
delete all drives before mapping them to eliminate this error. This also
deletes mappings the users may have deleted the necessary share and mapped
anothe ron the same letter. This ensures all users get the proper mappings
whenever they logon.
net use d: /delete
net use e: /delete
etc.
net use d: \\server\share1
net use e: \\server\share2
--
Regards,
Ace
This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.
Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT,
MVP Microsoft MVP - Directory Services
Microsoft Certified Trainer
Infinite Diversities in Infinite Combinations
.
- Follow-Ups:
- Re: Login Script - System error 85
- From: Richard Mueller [MVP]
- Re: Login Script - System error 85
- Prev by Date: Re: Net time on login script
- Next by Date: Re: Login Script - System error 85
- Previous by thread: Re: Net time on login script
- Next by thread: Re: Login Script - System error 85
- Index(es):
Relevant Pages
|