Solved

psexec, is not interactive in win7

Posted on 2010-11-28
4
3,804 Views
Last Modified: 2012-08-13
Hi,
Is now more than 3 days I'm trying to run remotely with psexec in interactive mode iexplore on a windows 7 X64 enterprise edition from an xp32 pro edition
When I install the win7 last week I try with this command:
psexec -u user -P password -i 1 -d \\my-ip C:\progra~1\intern~1\iexplore.exe    and it was not running, I got connection error, this problem was solved by adding a registry value @
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy set to 1
After this change it was running perfectly !
Today i try again with the same parameter then is not interactive anymore, I means the process PID is generated in the task manager for the current user however is not showing anything on screen.

The only changes was MS update

Please help
0
Comment
Question by:CalvinGE
  • 3
4 Comments
 
LVL 66

Expert Comment

by:johnb6767
ID: 34243577
What is Interactive Services Detection and Why is it Blinking at Me?
http://blogs.msdn.com/b/patricka/archive/2010/04/27/what-is-interactive-services-detection-and-why-is-it-blinking-at-me.aspx

http://forum.sysinternals.com/psexec-windows-7_topic19020.html

WINDOWS 7 - Run Explorer in SYSTEM account on Windows Vista or 7 using Sysinternal’s psexec tool?
http://efreedom.com/Question/3-172437/Run-Explorer-SYSTEM-Account-Windows-Vista-Using-Sysinternals-Psexec-Tool

Its the Session0 isolation thats new to Windows 7. Least thats what it looks like, not sure why that reg mod made it work..... Did the update by any chance alter that value?
0
 
LVL 66

Accepted Solution

by:
johnb6767 earned 500 total points
ID: 34243599
0
 

Author Closing Comment

by:CalvinGE
ID: 34247116
I found the solution, the problem was located in the "-i" parmatter need to be folowed by the sesssion number.
To solve my issue I create a VBS with :
for i=0 to 20  and "i"  i is used like this :

for vi=0 to 20
     Return = WshShell.Run("psexec -u "&vUser&" -P "&vpassWord&" -i "& Vi &" -d \\"&IP&" "&chr(34) & vBrowserPath & chr(34) &" "& vlink,0,true)
     if Return = 2 then WScript.Quit
  next
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 34248581
Glad youre fixed....
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to make a exe file from access 2013 database 5 221
What is MicroStrategy.NET? 2 66
Trouble with References... 5 54
Question to Pivot table 1 53
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question