Jump to content

msnriggs

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by msnriggs

  1. It was great seeing your presence at ISTE, thanks for the free hat!
  2. I still have yet to find a reason to run XP mode. I find that impressive since I am employed in K-12 and we own some very old versions of industry software. Has anyone had a need to run XP mode yet for some of their specific apps?
  3. Here is a script I put together for some remote computer renaming that I need to do - don't bash the coding skills I'm a Systems Engineer by trade '############# '# Get Host # '############# On error resume next strComputer = WScript.arguments.item(0) if strComputer = "" then strComputer = InputBox( "Name of computer to rename" ) if strComputer = "" then wscript.echo "No computer name suppled" wscript.quit end if end if '########## '# Ping # '########## Dim colPingResults, objPingResult, strQuery ' Define the WMI query strQuery = "SELECT * FROM Win32_PingStatus WHERE Address = '" & strcomputer & "'" ' Run the WMI query Set colPingResults = GetObject("winmgmts://./root/cimv2").ExecQuery( strQuery ) For Each objPingResult In colPingResults If Not IsObject( objPingResult ) Then Ping = False ElseIf objPingResult.StatusCode = 0 Then Ping = True Else Wscript.Echo "Computer COULD NOT be contacted - Exiting" wscript.quit Ping = False End If Next Set colPingResults = Nothing '########## '# Get SN # '########## Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colBIOS = objWMIService.ExecQuery _ ("Select * from Win32_BIOS") For each objBIOS in colBIOS strSerialNumber = trim(objBIOS.SerialNumber) Next '############## '# Get Info # '############## strSerialPrompt = "Hint: SN is " & strSerialNumber if strSerialNumber = "N/A" then strSerialPrompt = "Serial Number Not Available" strSerialNumber = "" end if if strSerialNumber = "" then strSerialPrompt = "Serial Number Not Available" strSerialNumber = "" end if strNewComputer = InputBox( "Enter new computer name - " & strSerialPrompt, "New Computer", "???-??-" & strSerialNumber) if strNewComputer = "" then wscript.echo "No new computername suppled" wscript.quit end if strDomainUser = InputBox( "Enter username in this format: domain\username" ) if strDomainUser = "" then wscript.echo "No Domain User suppled" wscript.quit end if strDomainPasswd = InputBox( "Enter account password" ) if strDomainPasswd = "" then wscript.echo "No Domain Password suppled" wscript.quit end if '############# '# Connect # '############# set objWMILocator = CreateObject("WbemScripting.SWbemLocator") objWMILocator.Security_.AuthenticationLevel = 6 set objWMIComputer = objWMILocator.ConnectServer(strComputer, _ "root\cimv2", _ strDomainUser, _ strDomainPasswd) set objWMIComputerSystem = objWMIComputer.Get( _ "Win32_ComputerSystem.Name='" & _ strComputer & "'") '########## '# Rename # '########## rc = objWMIComputerSystem.Rename(strNewComputer, _ strDomainPasswd, _ strDomainUser) if rc <> 0 then WScript.Echo "Rename failed with error: " & rc else WScript.Echo "Successfully renamed " & strComputer & " to " & _ strNewComputer end if '########## '# Reboot?# '########## intAnswer = _ Msgbox("Do you want to reboot the remote computer?", _ vbYesNo, "Reboot") If intAnswer = vbYes Then Set objOSSet = GetObject("winmgmts:{(RemoteShutdown)}//" & strComputer & "/root/cimv2").ExecQuery("select * from Win32_OperatingSystem where Primary=true") For each objOS in objOSSet objOS.Reboot() Next Else 'No End If
      • 1
      • Thanks
  4. Ive virtualized machines and setup datacenters remotely before if they are interested in help from across the pond
  5. Is anyone using SCCM to advertise a Windows 7 Zero Touch Install using USMT to their end users? If so are you willing to share the secret sauce? We are working on this and I am aving issues with hardlink migrations from XP.
  6. In order to use SCCM in native mode, you have to have a PKI already setup and ready to use. The cert can be requested using the MMC snap-in for certificate management and you have to have document signing (which I believe requires a CA running on an enterprise server if you are using MSFT CA) server auth and client auth. I do not believe mixed mode has that same limitation. ALl of your client computers need a cert too for signed communication to the server(s)
  7. We have been running it on some old 845GERG motherboards with 512 of RAM and that was an acceptable experience, we put 1GB in and it was far better. BTW, for those of you with and 845 video chipset, you can mod the 865 driver inf with the right hardware ID and it installs beautifully. I have noticed the biggest performance limiter on older hardware is RAM and generic drivers.
×
×
  • Create New...