Ivanti Application Control – Unlock

Unlocks the desktop by deploying a default configuration with Application Access Control, Advanced Network Access Control, and Trusted Ownership disabled. It also backs up your current config so it can be restored when the machine is re-locked.

Version: 1.1.7
Created: 2018-05-18T12:31:25.24
Modified: 2018-05-24T23:29:42.997
Creator: Landon Winburn
Downloads: 31
The Script Copy Script Copied to clipboard

Set WshShell = Wscript.CreateObject(“Wscript.Shell”)
Set FSO = Wscript.CreateObject(“Scripting.FileSystemObject”)

If NOT FSO.FileExists(WshShell.ExpandEnvironmentStrings(“%allusersprofile%”) & “AppSenseApplication ManagerConfigurationConfiguration.aamp”) Then
Wscript.Echo “Application Control not installed.”
End If

If FSO.FileExists(WshShell.ExpandEnvironmentStrings(“%temp%”) & “Configuration.aamp”) Then
Wscript.Echo “Machine Unlocked.”
End If

‘Create the configuration
Dim Configuration
Set Configuration = CreateObject(“AM.Configuration.5”)

‘Create the configuration helper
Dim ConfigurationHelper
Set ConfigurationHelper = CreateObject(“AM.ConfigurationHelper.1”)

Dim ConfigurationXml
ConfigurationXml = ConfigurationHelper.LoadLiveConfiguration

Configuration.ParseXML ConfigurationXml
ConfigurationHelper.SaveLocalConfiguration WshShell.ExpandEnvironmentStrings(“%temp%”) & “Configuration.aamp”, Configuration.Xml

‘Load the default configuration
Configuration.ParseXML ConfigurationHelper.DefaultConfiguration

Configuration.DefaultRules.TrustedOwnershipChecking = False
Configuration.DefaultRules.ApplicationAccessEnabled = False
Configuration.DefaultRules.ANACEnabled = False

‘Save the blank configuration to file.
ConfigurationHelper.SaveLiveConfiguration Configuration.Xml

Wscript.Echo “Machine Unlocked.”


Get Your Download Link

Gain access to ControlUp from your PC. Register and get a link to start your Free Trial.