Troubleshooting Code 800704B2 – An attempt was made to remember a device that had previously been remembered
Introduction to Code error 800704B2
This error code, 800704B2 occurs when you try to map a network drive with a VBScript. A wild guess, you are probably using WSH (Windows Script Host) methods called MapNetworkDrive and EnumNetworkDrives.
The Symptoms You Get with Error 800704B2
The probable scenario is that you are trying to enumerate network drives in a Windows logon script. However, a Windows Script Host message box appears and the script does not map the drive as you expected.
The cause of ‘An attempt was made to remember a device that had previously been remembered’ is a limitation of the EnumNetworkDrives method. The route cause is a bug whereby this method scans only for connections with a status of "CONNECTED". Thus the solutions are cunning work-arounds to overcome this inbuilt limitation.
The Solutions for Code 800704B2
One suggestion is to put a RemoveNetworkDrive statement immediately before my MapNetworkDrive method. J.B. Reminded me that RemoveNetworkDrive takes two true parameters, so try: RemoveNetworkDrive x, true, true. See more on remove network drive here.
My second suggestion was actually sent in by RS – see here
Syslog’s success and universal adoption is based on simplicity, it’s just not fussy about what sort of event log messages it carries. As a result syslog has become the de-facto standard for system management and event reporting in heterogeneous networks. See more about the free Kiwi Syslog Server network utility
Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems. Fortunately, SolarWinds have created the WMI Monitor so that you can examine these gems of performance information for free. Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.
The extra features you get in your eBook include, more pages full of detailed examples. Also, ten ‘how to…’ sections, with screen shots showing which menus to use. Go for Guy’s eBook – and get a printable version with copy enabled and no expiry date.