Solved

psexec, is not interactive in win7

Posted on 2010-11-28
4
3,817 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace Ubuntu Desktop with Ubuntu Server 7 145
Moving SharePoint 3.0 role to differen server 7 82
IBMi supported MySQL versions. 2 75
Best audio extractor from Youtube? 16 62
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

759 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