Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Workstation not remembering mapped drives 1

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
4 Windows 7 workstations were in a workgroup with a Windows server. All workstations remembered their mapped drives. Now I moved them into a Windows 2008 domain and they could no longer remember mapped drives. Is this normal behavior of a workstation? Do I have to set up something (like logon script) to reconnect mapped drives?

Thanks in advance.
 
Are you logging into the workstation with the local user profile or the domain user profile? If you are now logging into the domain, then that is a new profile and you will need to map the drives. If you check the box to "reconnect", it should remember the mapped drives.

However, it would be more efficient to use a log in script such as this one.


Scott
 
Thanks for the quick reply and the great link. A star for you.

Actually I was logging into the domain. I understood it was a new profile. I used some vbscripts (but not as Logon Script), and run the script in the Windows Explorer to create the mapped drive. Now I looked deeper into the script, I found out that I did not specify the third parameter in the following code.

objNetwork.MapNetworkDrive strDriveLetter, strRemotePath

The default to the parameter is false (not updating user profile). I believe that is where the problem is.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top