Posts: 58
Score: 0
Joined: 5/26/2005
From: Pune
Status: offline
Do anybody have a script which can generate a session whith a pc on the LAN given the IP, userID and password so that on suceeding sessions the connection doesnot prompt for the authentication.
Posts: 1906
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
Here is a script that I used to set the autologon info and then set boot delay to 0
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim WshNetwork : Set WshNetwork = CreateObject("Wscript.Network") Dim WshShell : Set WshShell = CreateObject("WScript.Shell") Dim strUsername, strPassword, strDomain, strComputer, objWMIService, colStartupCommands, objStartupCommand