danso

AutoIt Script w/ MouseClick via GPO

9 posts in this topic

I created a script with a couple of Mouseclick parameters to uninstall software (Truecrypt).  I am trying to push it out via GPO but I guess the Mouseclick parameters don't function properly under a computer startup script since it hasn't logged into the desktop yet when the script runs.  The script requires admin rights since it is uninstalling software.  Any suggestions how I can get around this to deploy the script.  Thanks in advance for any help provided!

Share this post


Link to post
Share on other sites



Mouseclick is a terrible way to automate something on more than one computer since resolutions can change things, dpi scaling, etc.  Not to mention it would interrupt the user workflow.

I think you can uninstall this the standard cmd way MSIEXEC /x but if something is encrypted it will not be automatically decrypted. 

Share this post


Link to post
Share on other sites

Thank you both. I am unable to find and MSI for Truecrypt and am unable to extract one from the exe.  The command line switch to uninstall is /u but this brings up a couple of buttons that need to be pressed and there are no other switches that work with the uninstall.  I have 400 computers to uninstall it from and would like to automate it. 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

 

 

I don't know which version you want to uninstall, but did you try %PROGRAMFILES%\truecrypt\unins000.exe /verysilent ?


 

Thank you for the suggestion.  It is 7.1a.  It doesn't have an unins000.exe file.  The command to remove it is "truecrypt setup.exe" /u but this bring up two windows so I am unable to push it via script.

tc1.PNG

 

 

Edited by danso

Share this post


Link to post
Share on other sites

Thank you John and everyone else for your help.  I took John's advice and did it all manually but via a script file at startup instead of AutoIT.   

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now