6

I have two computers A and B. On both computers there are two administrator accounts, 1 and 2, with their own passwords. While user 1 is logged on computer A, is it possible for user 2 on computer B to open the web browser on A\1? I have tried this:

psexec \\A cmd /c start chrome "google.com"

I believe the problem is that it is run by user 2 and not user 1. I've also tried with the -i-flag without any luck. Since user 2 is also an administrator on computer A, there should be a way. By writing

start chrome "google.com"

and putting that into the start-up folder and issuing a shutdown-command on computer A would work. But since user 2 has access to the start-up folder, it should have access to run the browser as user 2 in the first place.

All I'm trying to do is open a web browser on computer A from computer B while user 1 is logged on computer A.

1 Answers1

4

I had a similar situation where we had to update and then start a PowerPoint Presentation remotely. I tried dong it with psexec, and it never worked. What I ended up doing was creating a script that creates schedule task on the target computer running under a user account that's logged in. Here's a sample of the important part of the script (in PowerShell)

schtasks /create /s $targetComp /tn ppt /sc once /st $time /f /tr "'$targetComp' /s 'C:\Temp\$file'" /ru USER /rp USERPASS
schtasks /run /s $targetComp /tn ppt 
schtasks /delete /s $targetComp /tn ppt /f
shinjijai
  • 1,651