Add printer with vbscript and enable snmp on tcp port

I like using VB Script to automate tasks and use them on logon scripts. strComputer = “.” Set WshShell = WScript.CreateObject(“WScript.Shell”) Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2″) ‘Install TCP/IP Port : Set objNewPort = objWMIService.Get(“Win32_TCPIPPrinterPort”).SpawnInstance_ objNewPort.Name = “IP_192.168.1.10” ‘Change to TCP/IP port name you want created. objNewPort.Protocol = 2 objNewPort.HostAddress […]

How to Change TeamViewer ID after cloning

If you’ve cloned a machine that already has team viewer installed, the clone will have the same ID as the source machine.  Each machine needs it’s own unique ID.  To get the clone to pick up a new ID by deleting 2 registry keys, ClientIC and ClientID. for 64 bit Windows 7 I found the […]