Execute program as another user remotely?

rizz2pro

New member
Hi

I am starting to believe this isn't possible, but I figured I would ask.

I got a standard user, Alice. She is logged in and she is using Thunderbird. Great.

I log in to her system remotely with PSEXEC with my admin user, STEVE.

As Steve, I can kill Alice's Thunderbird with: TASKKILL /F /IM Thunderbird.exe

Great.

How do I go about starting it again on Alice's screen using my STEVE user? I don't want to add any startup scripts. I don't want to add any "next time you log on it, this will happen" stuff. I just want to be able to execute it remotely and poof like magic it appears on Alice's screen just as easily as I killed it.

This needs to happen without knowledge of Alice's password. I've tried RUNAS which has got to be the most useless tool ever created as it requires the admin to know the account of the other user. I also don't believe RUNAS will make the program run in another users session.

Thanks for any help/suggestions
 

My Computer

Computer type
PC/Desktop
OS
CentOS 6.6
It seems like a security breach to run a program as another user without knowing the user's password. Otherwise Jill could run a browser to porn sites on Jack's account and get Jack fired.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Not attacking your comment, but if that was the thought process behind it, then that makes no sense.

What's stopping Jill from just resetting/removing Jacks password (since he is an Admin) and just doing the same thing?

An Admin should have complete rights on the system. Shouldn't be burdened by passwords when he has the ability to remove/reset passwords.

Anyway, yeah the more I read up on this the more I realize it's not possible.

Funny you can terminate something on someones desktop (with no password), but you can't relaunch something to someone elses desktop.

#windows.

Thanks, see ya.
 

My Computer

Computer type
PC/Desktop
OS
CentOS 6.6
A missing/reset/changed password should not go unnoticed by the user.


As to your question: there should be no way to start a process as another user without knowing that user's credentials. That is pretty much the point of credentials. Of course there is a way to kill a process without the credentials that started it (e.g TASKKILL). Doing that does not cause the same security issue (e.g. the process is not doing unauthorized stuff). Pulling the power cord on a computer terminates every processes without knowing the credentials that started them.

Alice should be made aware that apps were terminated.

STEVE should be concerned about data loss when using the "/F" switch.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
I don't believe what you want is possible, and that being by design. An administrator can access the files of another user because there is a real need for this. But running a program as another user requires that you know their login credentials, even if you are an admin. An administrator can change the password of any account but as there is no way to see the existing password there is no way to change it back. This action cannot be hidden from the other user.

There are some things such as this that may seem like a good idea and might occasionally be useful but due to the security implications are not permitted.

Process Hacker can I believe run a program in a different users session but it will run under your account and profile. I have not done this.

Edit: Process Hacker can only do this on the local machine, not remotely.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
You can perhaps use a software like Dameware (Remote Access Software ? Remote Desktop Tools | DameWare).

I used it many years ago when it was called Dameware Tools (iirc). You will have to see if it will do what you want though. It used to be able to remote control clients transparent to the user. I remember having to confront one other admin who was spying some users. So please use with moderation.

Well there is the 15day free trial, should be enough to experiment. Pricing is a bit steep though (210Euros+).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free
Browser
IE 11 - Firefox - Chrome
Other Info
Logitech F710/ G27/ G940/ Z5500 // TrackIR 5 // Nvidia 3D Surround Vision
Back
Top