I want to remove them and i can't, i tried using prompt, powershell, VBS and resource explorer, the error is always 'mapped drive inexistent'. Problem is: now in my notebook, i see those drives from the older server like offline, but i can access their content entering those directory. Substitute in the command above with the actual drive letter (ex: 'G') you want to remove. (see screenshot below) mountvol : /d.WshNetwork.RemoveNetworkDrive Drives.Item(i), true, true 3 Type the command below into the elevated command prompt, and press Enter. Map the ELC drive from scratch through File. Set Drives = WshNetwork.EnumNetworkDrives After removing the entries, run the net use command and confirm if the entries are removed for the ELC drives. In the Map Network Drive window, click the. In a File Explorer window, click the ellipses button (three dots) in the toolbar, then select Map Network Drive in the menu that appears. I grab mapped drives from a remote machine using powershell as part of a script to move their settings to a persons new machine: (set OldComputer to the name or IP of the old computer) It goes through the list of all drives on the remote system, and if they are not local drives, it will attempt to remove that drive mapping on the current compu. I'm trying to substitue a windows 2012 R2 fileserver with a 2016, on the clients i'm changing the network mapped drives through a VBS script, here's an example of how it removes the drives: Set WshNetwork = WScript.CreateObject("WScript.Network") If you donât have a shortcut to File Explorer in your taskbar, right-click the Start button and select File Explorer.
0 Comments
Leave a Reply. |