Disable Mapped Drive Reconnect Warning (Windows 95/98/Me)
Open your registry and find or create the key below.
Create a new DWORD value, or modify the existing value, called "RestoreDiskChecked" and set it according to the value data below.
Exit your registry; you may need to restart or log out of Windows for the change to take effect.
User Key: [HKEY_CURRENT_USER\Network]
Value Name: RestoreDiskChecked
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)