Trouble with .bat repair/uninstall/install msi/xcopy/drive mapping
I seem to be having lots of trouble running .bat files (On xp sp3) using kscripts or Shell scripts as administrator or as the system. Every Script runs fine locally at command line or in batch files silent or shown(Taskkills, MSI installs, xcopy, drive mapping, folder creation). Simple things run fine from the kace box 1100, such as folder creation, taskkills or forced reboots, but when I run shell scripts or kscripts that launch batch files that do xcopy or msi runs it just seems to do nothing. I've had success with running MSIs when the files are located locally and the administrator is logged in.
Any help on this issue would be appreciated!
~James
Any help on this issue would be appreciated!
~James
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
anonymous_9363
12 years ago
Posted by:
jamesabullock
12 years ago
I zipped up the files and had them sent to each computer using a Dell Kace 1,100. I have been able to successfully install and uninstall as system once the files are located on the computer.
I've found that using powershell you will have trouble modifying existing pieces of existing software depending on how the execution policy is set on each computer.
Posted by:
andemats
12 years ago
ORIGINAL: jamesabullock
I've had success with running MSIs when the files are located locally and the administrator is logged in.
Sounds like access issues.
Perhaps the account running the scripts (SYSTEM maybe) don't have access to the shares (UNC-paths?) where your MSI's or files and folders (for xcopy) are located?
Posted by:
jamesabullock
12 years ago
It seems to run fine locally when logged in as a domain admin and fails when running from the kace box as a domain admin. When running a batch file does it still do some things as system even though it's run as admin? Though, if this were the issue you'd think it wouldn't work locally. I will double check our permissions.
Thanks,
~James
Thanks,
~James
Posted by:
jamesabullock
12 years ago
Posted by:
hchavarria
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.