Wmic netuse get connectionstate,connectiontype,name,status,username The following option within the command provides a filter to show you the important information in an easier to read format: I.) The wmic netuse command by itself displays a lot of information that can be hard to read. This can specifically be used to see what user account is being used to map each network drive. ![]() Iv.) Rebooting the computer should clear cached network drives and non-remembered network drives, but in the case that a reboot was not done or does not want to be done, this can be used as an alternative.ī.) The wmic netuse command-line utility can be used to display more detailed information on your network drives. Iii.) If you need to remove a non-mapped drive, the command would look like this: net use /delete \\server_a\PC Ii.) If you need to remove a mapped drive, such as the X: drive above, the command should look like this: net use /delete X: I.) Sometimes within Windows, network locations can be cached even if you close the connection. To remove the connection you run the following command syntax: If this needs to be changed, contact Spok Support to see if this setting should be changed to resolve the issue.ģ.) Below are a few tools that can be used to troubleshoot this issue furtherĪ.) The net use command-line utility can be used to display all of the network locations whether mapped or not, that the Windows workstation is currently connected to or may have cached. This setting should only be managed by Spok. Reboot the computer if some of the drives will not disconnect.ī.) The wpkgclient folder's login username is configured in the WPKG Admin Tool. Iv.) After making changes to this User ID, be sure that all of the network drives are disconnected before testing again. Iii.) If changing the user to wpkgclient does not resolve the issue, try setting it to some of the other users to see if that resolves the issue. If it is not already set to the wpkgclient user, switch it to that and test launching Smart Console again Ii.) Usually, the wpkgclient drive is configured to map with the wpkgclient user by default. I.) The setting is located in the Map Drive Settings tab labeled User ID ![]() For the drives to both map correctly, they both need to be configured using the same username, since they are accessing the same server.Ī.) The PC folder's login username is configured in the Smart Console Configuration Tool found in the Start Menu of Windows or in this file location (For 64-bit workstations):Ĭ:\Program Files (x86)\Amcom\bin\Smart_Console_Configuration.exe When Smart Console is launched, two drives should be mapped to the Smart Suite Linux Server once completely opened, the PC folder (Usually X:) and the wpkgclient folder (Usually Z:). Due to a limitation within windows, the Z drive will need to be mapped with the wpkg user, the X drive will need to be disconnected, or the X drive will need to be re-mapped as the wpkgclient user.ġ.) If this error has just started happening and the drives have been able to map before, a first step would be to reboot the computer and clear out any of the network drives that may be cached to server_aĢ.) If that does not work, then there may be an incorrect configuration. For example, If trying to map letter Z to \\server_a\wpkgclient as the wpkgclient user and the computer already has a drive mapped using letter X to \\server_a\PC as the wpkg user, this error will occur. When getting this specific error trying to map a network drive, it means that there is already another drive mapped to the same server using a different username. Similarly, when an external drive is disconnected from the computer, Windows PowerShell automatically deletes the PSDrive that represents the removed drive.In this specific example, Smart Console (wpkg-download.bat) is having an issue mapping the Z: drive to the wpkgclient share on server_a, but these steps can also help with other network drives when getting a similar error. You do not have to restart Windows PowerShell. ![]() Starting in Windows PowerShell 3.0, when an external drive is connected to the computer, Windows PowerShell automatically adds a PSDrive to the file system that represents the new drive. ![]() Remove-PSDrive cannot delete Windows physical or logical drives. Starting in Windows PowerShell 3.0, Remove-PSDrive also disconnects mapped network drives, including, but not limited to, drives created by using the Persist parameter of New-PSDrive. The Remove-PSDrive cmdlet deletes temporary Windows PowerShell drives that were created by using the New-PSDrive cmdlet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |