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

SCRIPT: add DNS Suffixes

‘vbscript Set Append DNS Suffixes (in order)On Error Resume Next strComputer = “.” arrNewDNSSuffixSearchOrder = Array(“internal.domain.local.1”, “internal.domain.local.2”)Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2”) Set objNetworkSettings = _ objWMIService.Get(“Win32_NetworkAdapterConfiguration”)intSetSuffixes = _ objNetworkSettings.SetDNSSuffixSearchOrder(arrNewDNSSuffixSearchOrder)

KBArticles Scripts, Commands, Registry Uncategorized

VBScript to check Citrix Logons

This script will run for all listed citrix servers to check if logons are enabled or disabled remotely.its just a remote registry query coupled with an array, basic but functional.. 🙂 —————————————————————————————————-‘START SCRIPTconst HKEY_LOCAL_MACHINE = &H80000002 Dim oReg, strKeyPath, strValueName, strDisabled, objArgs, strComputer, arrComputersarrComputers = Array(“server1″,”server2″”) sOutput = “Logons Enabled(0) or Disabled(1)” & VBCRLF & […]

KBArticles Scripts, Commands, Registry Uncategorized

Script Error: 0x80005000, Code: 80005000, Source: (null)

Thjis was a script that was accessing AD to export a list of usersSome user had the “/” character in the name – the following addition fixed the script to run correctly For Each strMemberDN in objGroup.MemberstrMemberDN = Replace(strMemberDN, “/”, “/”)Set objMember = GetObject(“LDAP://” & strMemberDN)Wscript.Echo objMember.cnNext

KBArticles Scripts, Commands, Registry

Application Virtualization Client service fails to start on Windows 2008

 Description of Error: Windows could not start the application virualization client service on local computer. Error 1114: A dynamic link library (DLL) initilization routine failed. Solution1: Our previous global data directory was set ioncorrectly and preventing the service from starting (weird I know) Change the Previous GLobal Data Dir to match that of GlobalDataDirectory in the […]

KBArticles Scripts, Commands, Registry Uncategorized

Citrix Access Gateway 4.5.x Certificate Installation – Root and Intermediate CA’s

@font-face { font-family: “Verdana”;}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: “Times New Roman”; }div.Section1 { page: Section1;Open Internet Information Services management on a test or a no prod server and create a new website.   @font-face { font-family: “Verdana”;}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: “Times New Roman”; […]

KBArticles Scripts, Commands, Registry Uncategorized

Check a file version on multiple remote computers

        Dim strFolder        Dim arrServers        Dim strProfile        strProfile =     inputbox(“Enter path to file to check I.E:  c$program filesinternet 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

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            […]