Running the script at login displays a pop-up "Could not reconnect all network drives"

Note: Technical Support does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to Microsoft Article ID 256986 “Windows registry information for advanced users” at Microsoft Support.