
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 05:16 PM
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?
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?
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 05:31 PM
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
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 02:20 PM
ah, that was it. I needed the quotes separating the exe from the switches. thank you!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 05:31 PM
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
