Mapped Drives Disappear As Soon As They Are Mapped


hello all,

i having issue few of users regarding mapped drives. have simple batch file logon script maps network drives need. these windows 7 enterprise machines.

here happening.

1. user logs on , script runs. script states drives mapped successfully.
2. open explorer , 1 or more of drives not mapped.
3. user can either browse network drive, re-run script drive, or put path in explorer window or run box.
4. if user runs script re-map drive, user has drive day long.

this not happen time. have checked user properties , user account not locked in ad. not see in event logs jumping out @ me. not want manually map drive due users moving machine machine @ times.

thoughts? little help??

thank in advance , advice!

how did delete profile?

in later versions of windows begging problems deleting stuff in c:\users yourself, use gui or wmi.

if in registry @ "hkey_local_machine\software\microsoft\windows nt\currentversion\profilelist"
see sid or sid .bak @ end?
if yes have partially removed profile.

to remove profile correctly please go gui
control panel->system->advanced system settings->user profiles settings
or powershell

 get-wmiobject win32_userprofile| where-object {$_.sid -eq "<user sid>"}| foreach {$_.delete()}


oscar virot



Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file