bluepex
asked on
Psexec don't work running as LocalSystem
Hi Guys,
I need some help, I have a service running as LocalSystem on windows 2008 and in any remote installation of the windows 7 64 bits can not send some file
my sintax:
Psexec /accepteula "\\ch1c4umPC" -c -f -d -i -u "domtest.local\administrat or" -p "mypass" -n 10 -h c:\installer.exe" "\VERYSILENT" "\SERVERNAME="SERV2008"";
but when I run as administrator level user the command functions normally.
And if I run as a service NT AUTHORITY/LocalService the remote installation work perfect but my level user privileges are minimal
I need some help, I have a service running as LocalSystem on windows 2008 and in any remote installation of the windows 7 64 bits can not send some file
my sintax:
Psexec /accepteula "\\ch1c4umPC" -c -f -d -i -u "domtest.local\administrat
but when I run as administrator level user the command functions normally.
And if I run as a service NT AUTHORITY/LocalService the remote installation work perfect but my level user privileges are minimal
ASKER
I did the tests, but not solved!!
What test? Did you copy install.exe to a separate system and tried to install and it failed?
I.e. install.exe is just a part of what s needed.
You should create a share and use the shared path with psexec to install.
Install.exe /?
See if it has options such as /a that help in creating an MSI, response file that can be used in a GPO to deploy the software installation.
I.e. install.exe is just a part of what s needed.
You should create a share and use the shared path with psexec to install.
Install.exe /?
See if it has options such as /a that help in creating an MSI, response file that can be used in a GPO to deploy the software installation.
ASKER
Yes I did all the tests imaginable, at least for me ...
The problem is that when i running psexec in user-level and i open the cmd psexec call and pass the parameters works but if I run eg psexec -s cmd /c psexec "\\ch1c4umPC" -d -i -u "domtest.local\administrat or" -p "mypass" -n 10 -h c:\installer.exe" "\VERYSILENT" "\SERVERNAME="SERV2008""; when I indicate a machine windows 7 always returns access denied
The problem is that when i running psexec in user-level and i open the cmd psexec call and pass the parameters works but if I run eg psexec -s cmd /c psexec "\\ch1c4umPC" -d -i -u "domtest.local\administrat
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Take out the -i (interact with the desktop) option it does not serve any purpose here.
Not sure what your -h option is if you want it to run with a high priority, you should use -high
You have admin login information. you may want to include the -s option that will run the remote process with system level rights provided the username password you are using/providing are valid.
Depending on the software you are trying to push, using Software deployment in a GPO might be a better more manageable setup/approach.