The below script was set to check for a specific file mapping that was disconnecting. If detected it will then remap the drive.
Simply change the s part in s:null to your drive letter and then add in the Email and mapping details which are highlighted in caps with the hyphen (eg EMAIL-HERE)
if exist s:nul if exist map.lock del map.lock & goto END
if exist map.lock goto END
if exist s:nul goto END
print "drive not mapped"
blat -to "EMAIL-HERE" -server SMTP-HERE -f SERVER-HERE@root.com -subject "Mapping Failed" -body "drive Mapping Failed/disconnected"
echo & map.lock
net use s: \\DNS-ADDRESS-HERE\FOLDER-HERE
To check if windows server 2003 is 64 bit then run the below.
To fix the Windows Login error “The specified Domain either does not exist or could not be contacted.”
Do the below
Locate the reg directory
Then add a new dword entry called “IgnoreRegUserConfigErrors“.
Once added change to decimal and add the value as 1.
Then re-attempt login and this should work.
To fix the error when using VMWare standalone converter “unable to create a vss snapshot of the source volume”. You may have conflicting drive managment software.
To Confirm what you have run the below command.
vssadmin list providers
If there are 2 and you just need the Microsoft one, simply uninstall the other drive managment software.
You may also need to remove the key for the software if its not done from the install from the below location.
Remove the key that you dont need in the providers folder.
To force access to a windows server,
Do the below in the run command line.
mstsc /console /v:nameserver or ip address of remote computer /admin