Windows Thread, Where are drive letter mappings remembered? in Technical; I dont know if this is just us or its just a Windows quirk, but with a logon script to ...
-
16th April 2008, 02:59 PM #1 Where are drive letter mappings remembered?
I dont know if this is just us or its just a Windows quirk, but with a logon script to map drives, if I dont put NET USE \DELETE before every NET USE drive mapping, we sporadically get the old drives mapped, even though they arnt in the script anymore
For example I recently changed the admin logon script. It had NET USE /DELETE before each letter but as the new shares had been active for over a year, I thought it would just map the new ones. No such luck...just logged on and instead of the current share being mapped to M:\, I'm getting one that points to a non existant share and server that is long gone
Where on earth does it get this from? I cant imagine profile? The account in question has a mandatory profile anyway, so nothing could have been written to it.
-
-
IDG Tech News
-
16th April 2008, 03:04 PM #2 Maybe it was previously mapped with /P:YES.
-
-
16th April 2008, 03:16 PM #3 
Originally Posted by
kmount
Maybe it was previously mapped with /P:YES.
This sounds probable.
Had this a while back and had to use "net use * /DELETE /Y" from what I recall....
-
-
16th April 2008, 03:16 PM #4 Here's what I found out about it:
{site} - Okay - here's what I have found...
If you map a drive "with" persistent connections, it appears in the registry under the key:
HKCU\Network\<DriveLetter> (obviously, where drive letter is the mapped drive).
So it looks like it is stored in the user hive of the registry, maybe this is because of caching on the workstations in question. Are you using super mandatory profiles? (see wiki)
-
-
16th April 2008, 03:27 PM #5
- Rep Power
- 12
Could it be that some clients have old profiles stored locally? I tend to run delprof to make sure no stored profiles are causing any problems with any scripts I run.
-
-
16th April 2008, 08:01 PM #6 I think Synack is on the right track here. I have seen it in our network as well.
To start off you can clean the registry of those mappings (just start regedt32 and import the users .DAt or .MAN file into a hive, change it, and save again) . However it could be a profile sync problem as well. (the pc grabs an "old" local profile if it can't grab the roaming one).
bio...
-
-
17th April 2008, 10:06 AM #7 Hmm well it sounds like a persistant connection but I cant say Ive ever used that in a script in the 3 years Ive been here and all PC's will have been reimaged and profiles will have been cleared in that time so any old stuff should be long gone.
No big deal, Ill just use NET USE * /DELETE /Y - didnt know you could do that, was getting fed up of deleting each letter seperately - cheers Glenn
-
SHARE:
Similar Threads
-
By ZeroHour in forum How do you do....it?
Replies: 9
Last Post: 21st May 2009, 03:46 PM
-
By TechSupp in forum How do you do....it?
Replies: 9
Last Post: 5th March 2008, 10:27 AM
-
Replies: 2
Last Post: 21st August 2007, 01:16 PM
-
By mattx in forum Windows
Replies: 3
Last Post: 21st May 2007, 01:10 PM
-
By ITWombat in forum Windows
Replies: 5
Last Post: 29th May 2006, 01:02 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules