Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often have to replicate the mapping of drives of one machine to another. While I know how to easily output the data for the CURRENT user I have not found a way of doing this for others who are not currently logged on which for various reasons I need to be able to do.

I've tried in vain finding the data in the registry (once again I can find the mapped drives of the CURRENT user in HKCU\NETWORK but not for other users) and my searches on the internet haven't been too useful either so any help would be greatly appreciated!

share|improve this question
add comment

1 Answer

In Hkey_USERS all these wierd Id tag things S-1-5-21-1017659469-3233765421-1457166851-500 are the Users both current and non current. there is a network folder in each of them. there is also CurrentControlSets and all the other usual stuff.

it is just a matter of finding the user TYPE Like 500 is admin, and a USER might be a 1000, like this HKEY_USERS\S-1-5-21-1272468093-1708547768-1957994088-1006

I have always seen all the users that are created in XP ? (or thought I did) But I dont really have users. So if that doesnt work, then it would be loading in thier Hive or Hve , to work with it. which is different.

(the above IDs are munged, and not actual)

Google search for how to Map network drives at log-in of users using scriipting

share|improve this answer
1  
Those "weird id things" are Security Identifiers (SIDs). Using psgetsid (form Sysinternal's PSTools) you can translate to/from user/group names. SIDs remain fixed when groups and users are renamed, hence references don't need to be updated. –  Richard Oct 6 '11 at 9:17
    
Now you go getting all technical :-) So your saying they are not going to change so Alen could import into them easily. . . In Admin access will all the users show up in all situations? In Win7 I am not seeing my alternate user? –  Psycogeek Oct 6 '11 at 9:31
    
SIDs are fixed. The set under HKEY_ALL_USERS is the set of users with local profiles (so that can change). Not sure what you mean by "in admin access [...]". Neither what you mean by alternate user. –  Richard Oct 6 '11 at 9:34
    
I looked in the HKUSERS but did not find the NETWORK sub folder in them. Maybe I was forgetful enough not to check if the account had mapped drives to begin with so I'll let y'all know tomorrow when I can test it out. Also, thanks for pointing out psgetsid, I already use psexec and find it tremendously helpful. –  Smitty Oct 6 '11 at 9:37
    
if I enter the registry as admin, should I be able to see all users in all situations. My alternate user, my own second account, my backup account. I think i shoud jump back to xp, and look closer. –  Psycogeek Oct 6 '11 at 9:44
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.