Aussie owned and operated, with 23+ years of industry experience, Gold Coast InfoTech is delighted to support all of your business technology requirements.

Gallery

Contacts

success@goldcoastinfotech.com.au

1800 291 071

KBArticles Scripts, Commands, Registry Uncategorized

Check a folder exists on multiple remote computers

        Dim strFolder        Dim arrServers        Dim strProfile        strProfile =     inputbox(“Enter path to file to check I.E:  c$program filesinternex exploreriexplore.exe”,”File Check”)        arrComputers =     Array(“server1″,”server2”)        Set objFSO = CreateObject(“Scripting.FileSystemObject”)        sOutput=”Script Results for:” & strprofile & vbcrlf & vbcrlf                For EACH strComputer in arrComputers            […]

KBArticles Scripts, Commands, Registry Uncategorized

Set video hardware acceleration for VMware servers

Set WshShell = WScript.CreateObject(“WScript.Shell”)‘ Acceleration Levels go from 0 to 5. 0=full, 5=noneintAccelLevel = 0strInputString = WScript.StdIn.ReadLineintStartLocation = instr(1, strInputString,”SystemCurrentControlSet”)strPartKey = right(strInputString, len(strInputString) – intStartLocation +1)strNewKey = strPartKey & “Acceleration.Level”WshShell.RegWrite strNewKey, intAccelLevel,”REG_DWORD”

KBArticles Scripts, Commands, Registry

Script to interrogate HP Servers serial and add ilo alias to DNS

‘ Section to interrogate the servers Serial number, trim the spaces then call dnscmd.exe to add the ilo%servername% as an alias to ilo%serialnumber% strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2”) Set colBIOS = objWMIService.ExecQuery _ (“Select * from Win32_BIOS”) For each objBIOS in colBIOS strSerial = objBIOS.SerialNumber Next […]

KBArticles Scripts, Commands, Registry Uncategorized

Change windows server DNS Search suffix

The below script will find the adapter called  “Local Area Connection” and give is a dnssearchsuffix of mydomainname.com ‘Change the Computers DNS Search Suffix    DNSDomain = “mydomainname.com”        NetConnName = “Local Area Connection”        strComputer = “.”        Set objWMIService = GetObject(“winmgmts:” _            & “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2”)        Set colItems = objWMIService.ExecQuery _        (“Select […]

KBArticles Uncategorized

Cryptographic service provider is not installed on your computer

Server: Windows 2008 and mandatory user profiles. Error: An Internal error occured. Either the user profile is not accessible or the private key that you are importing might require cryptographic service provider that is not installed on your system. Solution: Mandatory profiles do NOT allow the import of user certificates – users must be roaming […]