→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Stewie
Engaged Sweeper II
Hello.

I need to run "C:\Program Files (x86)\Dell\KACE\AMPTools.exe uninstall all-kuid" on many workstations that are listed in Lansweeper. I have tried using Deployment --> Packages creating a package with a single command using the above command as well as prefacing it like "cd /d c:\Program Files (x86) Dell\KACE\AMPTools.exe uninstall all-kuid" but I just get an error message saying 'Incorrect Function'.

If I locally browse to that same directory, I can execute the command.

How do you add a command when you have to move to a specific directory to execute it?
1 ACCEPTED SOLUTION
Bruce_B
Lansweeper Alumni
If the file is present in this location on all computers you want to run the command on you should be able to just use "C:\Program Files (x86)\Dell\KACE\AMPTools.exe" uninstall all-kuid as the command

View solution in original post

2 REPLIES 2
Stewie
Engaged Sweeper II
ah, that was it. I needed the quotes separating the exe from the switches. thank you!
Bruce_B
Lansweeper Alumni
If the file is present in this location on all computers you want to run the command on you should be able to just use "C:\Program Files (x86)\Dell\KACE\AMPTools.exe" uninstall all-kuid as the command