I have a logon script on our Windows 2008 server that maps drives to the users. I am using the NET USE F: \\server\share command. I want to be able to disconnect the mapped drives when the user shutsdown so when they are using the computer away from the network the mapped drives will not be available. We are having an issue in Excel 2007 where they are receiving the message Initializing Root Folder To Display when doing a Save As on a spreadsheet and it takes a long time to save.
I am testing the NET USE F: /delete command before I create a shutdown script and save it to the GPO. When I run this command on a computer and then log back into the network the drive letter that I deleted does not reappear. When I logged into the same computer as another user, creating a new profile, all the drives appear. What could be causing the drives not to appear after using the NET USE /delete command?