danso Posted October 19, 2015 Share Posted October 19, 2015 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! Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted October 19, 2015 Share Posted October 19, 2015 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. Link to comment Share on other sites More sharing options...
JohnOne Posted October 19, 2015 Share Posted October 19, 2015 There are better ways to unintall a program usuall, look for the programs command line parameters. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
danso Posted October 19, 2015 Author Share Posted October 19, 2015 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. Link to comment Share on other sites More sharing options...
JohnOne Posted October 19, 2015 Share Posted October 19, 2015 A script won't run until you're logged on either.If you must use this approach then Study ControlClick example in help file, which does not use mouse but sends a message direct to the window. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jguinch Posted October 19, 2015 Share Posted October 19, 2015 I don't know which version you want to uninstall, but did you try %PROGRAMFILES%\truecrypt\unins000.exe /verysilent ? Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
danso Posted October 20, 2015 Author Share Posted October 20, 2015 (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. Edited October 20, 2015 by danso Link to comment Share on other sites More sharing options...
JohnOne Posted October 20, 2015 Share Posted October 20, 2015 See all that stuff it's doing in the window?Do it with AutoIt, find registry keys and remove them too.Basically, make your own un-installer. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
danso Posted October 20, 2015 Author Share Posted October 20, 2015 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now