Public Sub SoftwareInformationRegistry(ByVal strComputer As String, ByVal strUserName As String, ByVal strPwd As String) Dim objLocator, objService, objRegistry, arrIdentityCode, strIdentityCode, objShell Dim objFSO, objTextFile Dim strRegIdentityCodes As String objLocator = CreateObject("WbemScripting.SWbemLocator") Try If (strComputer = System.Environment.MachineName) Then objService = objLocator.ConnectServer(strComputer, "Root\Default") Else objService = objLocator.ConnectServer(strComputer, "Root\Default", strUserName, strPwd) End If objService.Security_.impersonationlevel = 3 objRegistry = objService.Get("StdRegProv") Catch ex As Exception MessageBox.Show("Kindly Enter Domain Credential.", "Remote Software Install", MessageBoxButtons.OK, MessageBoxIcon.Exclamat...