FYI - Unchecky supports silent un/install

Xander

Banned
Reaction score
66
Location
Niagara region, Ontario
Asked via their Contact page and got a reply within the hour (on a Sunday!).

I was trying /? to see but they use -? so I missed it.

unchecky_setup.exe -install -path "folder" -no_desktop_icon

There's also a -update switch.

For silent uninstall, you have to use the Uninstall.exe in the folder but he adds:
uninstall.exe -uninstall -path <installation_path> [-delsettings <1 or 0>]

Note that before running the uninstaller, it has to be copied to a different folder. Otherwise it will fail to delete itself.

I'm not 100% sure I'll make this a standard but I'm going to guinea pig a few high risk clients for a month and see if it causes no issues.
 
Unchecky really is a nice thing to have for "certain clients" but lately I have been installing it on almost all virus/cleanup customers.
 
I'm thinking of making it part of my managed residentials program rather than just the randoms that come for cleanup. I want to continue to make myself valuable in their eyes ;)

Has anybody been field-testing it for any length of time? Their support forums suggest it causes lockups on occasional installs and so on.
 
Unchecky has not caused any problems in my internal tests, and I've been slowly rolling it out as part of my standard malware removal/system tune-up process. I'd be interested to hear about any problems if you run into any.
 
I'm thinking of making it part of my managed residentials program rather than just the randoms that come for cleanup. I want to continue to make myself valuable in their eyes ;)

Has anybody been field-testing it for any length of time? Their support forums suggest it causes lockups on occasional installs and so on.


Xander what are in your residentals programs?
 
Thanks for posting this, Xander! We mostly do small business problem prevention but this would be nice for some of the client's like are a bit click-Next-happy and end up with malware. If we can do a Silent install-- even better :D

Will be interested in what you find in your testing. I will be installing this on a computer we have in the shop for sure.

PS. I'm also interested in your residential maintenance plans--we are just preparing some now based on client feedback.
 
Keegan, sorry I missed this. ConstantCare.ca and WeeklyCare.ca are my two products. Big difference right now is the monitoring itself but I don't put it that simply to customers. I don't even mention the Weekly until they humhaw on the Constant.

Nick just did some sweet updating to the dUninstaller side of D7II (and the standalone product that you'd be nuts not to buy). It now does something that I've been a thorn in his side for and will now delete registry keys/values (including services), and Startup entries (and he's considering adding Tasks). I've been banking a LOT of MBAM/ADWcleaner logs and will be hard at work to integrate their results into dUninstaller.

So, I will be integrating Unchecky and twice-weekly dUninstaller runs for anyone on my Constant Care plan and/or Managed Antivirus. The only ones who won't get these perks are the few that are /just/ on the Weekly Care.

I might also look into some way to set the DNS server behind the scenes (e.g. command line/scripting) to, say, OpenDNS for the whole bunch.
I'm also considering Malwarebytes' AntiExploit.
 
Does anyone have a sample script created to use with GFI? This would be a good addition to a managed service package.

Yes, you should also check out the unoffical GFI group on Google +, it has a few scripts

Code:
'------------------------------------------------------------------------------ 
' unchecky.vbs 
'------------------------------------------------------------------------------ 
' Script will silently install Unchecky
'------------------------------------------------------------------------------
'
' 
'
'------------------------------------------------------------------------------ 
' Author: Steven Burrows
' Created: 20/05/2014 (support@pyramid-it.co.uk)
'------------------------------------------------------------------------------ 

Dim WshShell, oExec, OsType, FSO, strFolder, AgentPath, strURL, strKey
Set WshShell = CreateObject("WScript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")

 
OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")
strURL = "http://unchecky.com/files/unchecky_setup.exe"
strParameters = " -install -path ""C:\Program Files (x86)\Advanced Monitoring Agent\unchecky\install"" -no_desktop_icon"
 
 If OsType = "x86" then
     AgentPath = "C:\Program Files\"
 ElseIf OsType = "AMD64" then
     AgentPath = "C:\Program Files (x86)\"
 End If
 
 If FSO.FolderExists(AgentPath & "Advanced Monitoring Agent") Then
     AgentPath = AgentPath & "Advanced Monitoring Agent"
 ElseIf FSO.FolderExists(AgentPath & "Advanced Monitoring Agent GP") Then
     AgentPath = AgentPath & "Advanced Monitoring Agent GP"
 Else
     wscript.Echo "Agent Folder Not Found."
	 wscript.exit(2000)
 End If
 
strFolder = AgentPath & "\unchecky"
 
 If Not FSO.FolderExists(strFolder) Then
	WScript.Echo "Creating Folders..."
	FSO.CreateFolder strFolder
	FSO.CreateFolder strFolder & "\install"
	
End If
 
If Not FSO.FileExists(strFolder & "\unchecky_setup.exe") Then
	WScript.Echo "Downloading Unchecky..."
'	HTTPDownload strURL, strFolder & "\unchecky_setup.exe"
dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP")
dim bStrm: Set bStrm = createobject("Adodb.Stream")
xHttp.Open "GET", strURL, False
xHttp.Send
 
with bStrm
    .type = 1 '//binary
    .open
    .write xHttp.responseBody
    .savetofile strFolder & "\unchecky_setup.exe", 2 '//overwrite
end with
End If

WScript.Echo "Running unchecky..."
 Set objShell = WScript.CreateObject("WScript.Shell")
ret = WshShell.Run(chr(34) & strFolder & "\unchecky_setup.exe" & chr(34) & " " & strParameters, 1, true)

If ret = 0 then
	WScript.Echo "Unchecky completed Successfully"
Else
	WScript.Echo "Unchecky Encountered and error!"
End If
 
Yes, you should also check out the unoffical GFI group on Google +, it has a few scripts

Code:
'------------------------------------------------------------------------------
' unchecky.vbs
'------------------------------------------------------------------------------
' Script will silently install Unchecky
'------------------------------------------------------------------------------
'
'
'
'------------------------------------------------------------------------------
' Author: Steven Burrows
' Created: 20/05/2014 (support@pyramid-it.co.uk)
'------------------------------------------------------------------------------

Dim WshShell, oExec, OsType, FSO, strFolder, AgentPath, strURL, strKey
Set WshShell = CreateObject("WScript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")


OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")
strURL = "http://unchecky.com/files/unchecky_setup.exe"
strParameters = " -install -path ""C:\Program Files (x86)\Advanced Monitoring Agent\unchecky\install"" -no_desktop_icon"

If OsType = "x86" then
     AgentPath = "C:\Program Files\"
ElseIf OsType = "AMD64" then
     AgentPath = "C:\Program Files (x86)\"
End If

If FSO.FolderExists(AgentPath & "Advanced Monitoring Agent") Then
     AgentPath = AgentPath & "Advanced Monitoring Agent"
ElseIf FSO.FolderExists(AgentPath & "Advanced Monitoring Agent GP") Then
     AgentPath = AgentPath & "Advanced Monitoring Agent GP"
Else
     wscript.Echo "Agent Folder Not Found."
     wscript.exit(2000)
End If

strFolder = AgentPath & "\unchecky"

If Not FSO.FolderExists(strFolder) Then
    WScript.Echo "Creating Folders..."
    FSO.CreateFolder strFolder
    FSO.CreateFolder strFolder & "\install"
   
End If

If Not FSO.FileExists(strFolder & "\unchecky_setup.exe") Then
    WScript.Echo "Downloading Unchecky..."
'    HTTPDownload strURL, strFolder & "\unchecky_setup.exe"
dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP")
dim bStrm: Set bStrm = createobject("Adodb.Stream")
xHttp.Open "GET", strURL, False
xHttp.Send

with bStrm
    .type = 1 '//binary
    .open
    .write xHttp.responseBody
    .savetofile strFolder & "\unchecky_setup.exe", 2 '//overwrite
end with
End If

WScript.Echo "Running unchecky..."
Set objShell = WScript.CreateObject("WScript.Shell")
ret = WshShell.Run(chr(34) & strFolder & "\unchecky_setup.exe" & chr(34) & " " & strParameters, 1, true)

If ret = 0 then
    WScript.Echo "Unchecky completed Successfully"
Else
    WScript.Echo "Unchecky Encountered and error!"
End If



Sorry to dig up such an old thread but i am trying to automate the install of unchecky VIA GFI/MAX FOCUS and cant seem to get this script to work,

Any ideas? it hangs on creating folders
 
Back
Top