Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3837
  • Last Modified:

psexec, is not interactive in win7

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
CalvinGE
Asked:
CalvinGE
  • 3
1 Solution
 
johnb6767Commented:
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
 
johnb6767Commented:
0
 
CalvinGEAuthor Commented:
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
 
johnb6767Commented:
Glad youre fixed....
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now