autoguy100 Posted June 2, 2006 Posted June 2, 2006 Hi, I am using PSEXEC to excute the Auto IT scripts in Remote PC, PSEXEC is using Local Service profile to execute the scripts in remote PC, I would like to Use Administrator account instead of Local Service account FYI: Local Service and Network Service is hidden profile in XP SP2 and 2003 Note : I tried using -s and -u -p option in PSEXEC. Any help would be great.
KilRoy Posted June 2, 2006 Posted June 2, 2006 (edited) Does the -u and -p not work? You would have to take out the -s option, since it will probably override the -u account you specify. Try the -u with the computer name and administrator account i.e. -u client\administrator I haven't had any problem with PSEXEC not using the username specified, like you are having. Hope that helps. KilRoy Edited June 2, 2006 by KilRoy
autoguy100 Posted June 2, 2006 Author Posted June 2, 2006 Hi,I am using PSEXEC to excute the Auto IT scripts in Remote PC, PSEXEC is using Local Service profile to execute the scripts in remote PC, I would like to Use Administrator account instead of Local Service accountFYI: Local Service and Network Service is hidden profile in XP SP2 and 2003Note : I tried using -s and -u -p option in PSEXEC.Any help would be great.Thanks for the info, I tried all comibinations.For Ex: If i execute CMD in remote PC and in the dos promt if run SET command the profile point to Local service because of this my filemove, filecopy to shared drive does not work.
blademonkey Posted June 2, 2006 Posted June 2, 2006 Thanks for the info, I tried all comibinations.For Ex: If i execute CMD in remote PC and in the dos promt if run SET command the profile point to Local service because of this my filemove, filecopy to shared drive does not work.what are you trying to accomplish?what cmd are you trying to run remotely?i need more info. ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung
autoguy100 Posted June 5, 2006 Author Posted June 5, 2006 Thanks for the info, I tried all comibinations.For Ex: If i execute CMD in remote PC and in the dos promt if run SET command the profile point to Local service because of this my filemove, filecopy to shared drive does not work.I am trying to execute the Autoit scripts in remote PC without physically logging to PC.
Uten Posted June 5, 2006 Posted June 5, 2006 Does your AutoIt exe require GUI interaction. If that's the case I think you will have some trouble Otherwise I have a sample here that did work for me. Someone was logged on the computer so gui interaction was possible. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
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