Remote in with RDP and run only one application.... news at 11


I am replacing one of our Windows XP PCs with  Windows 7 - No issue there.  

One of the functions of this PC is to allow one of our users to remote into it, via Windows RDP, and run ONLY ONE application, collect their data, and exit.
> The user will be using the provided RDP license that comes with each Windows installation, meaning that there is no Terminal Services Server in place.

I attempted a few solutions that I found on the Web, but ended up "locking up" the Windows XP OS so that NO ONE could login - Pretty neet trick if anyone is interested - BTW, is the reason that we moved to another PC  :(
> So, being a bit more cautious, I am asking assistance from EE, as time is an issue.

This PC has normal functions in the office, and this one user has a need to remote in via RDP, but in a secured manner - Thus the running of the only one application.
> I attempted creating registry hack that pointed to the application as a new shell, but this "almost worked", it would not log off, thus when the user attempted to remote in again, she could not - I had to manually log in and end the session.
> I attempted changing the Group Property and ended up 'brain deading/killing' the PC.

I know there **must** be an easier way to do this.... Any ideas?

RojoshoRTCC-III Level-2 SupportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cris HannaSr IT Support EngineerCommented:
Go to my
wyliecoyoteukIT directorCommented:
This PC has normal functions in the office, and this one user has a need to remote in via RDP, but in a secured manner - Thus the running of the only one application.

If it is being used in the office, you cannot run a separate remote session at the same time.
Windows is prevented from running multiple user sessions by Microsoft licensing.
If you want a secure RDP session you will have to dedicate the PC to it.
Then limit the permissions for that user so that they can only access the one application.

You could run HyperV on the PC and install two separate copies of Windows in Virtual machines and give the remote user access that way, but it would still need 2 licenses.
Davis McCarnOwnerCommented:
Give the RDP user a different user account, create a BATch file that runs the application using the SHUTOWN.EXE /L (logoff) as the last line, and then but it in that users startup folder.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

NerdsOfTechTechnology ScientistCommented:
teamviewer dot com is a good FREE alternative to RDP for home/non-commercial use, it's a bit pricey for commercial use yet very robust and easy to use.

I like Davis's solution for the RDP logoff bat file
RojoshoRTCC-III Level-2 SupportAuthor Commented:
Et al,

Thank you for your suggestions.. The one by Davis McCarn looks interesting and will put that to the test - Will keep you all posted.

For clarity, the user that is using this PC remotely, is the same user who uses it in the office, so there is only one user involved here.

TeamViewer, Not sure if it can "limit" the outside use of only one application... I will investigate that more.

Davis McCarnOwnerCommented:
You would still need to create a new user for him to use remotely or that startup file will get him in the office, too.
RojoshoRTCC-III Level-2 SupportAuthor Commented:
Hello Davis,

Your suggestion is interesting, care to elaborate on it?
> I did some research on this and I **think** you are referring to using CALLs, is that correct?
> If not, can you jot down an example for me to chew on...

Davis McCarnOwnerCommented:
1) Create a new user with a password and then login to it to create the folders.
2) Assuming it is Windows 7 Professional, you ought to them be able to login using RDP.
3) Create a BATch file that runs the program you want it to and the runs SHUTDOWN /L on a second line.
4) Test the BATch file (double click on it) and see it work the way you want it to.
5) Copy the BAT file to the STARTUP folder for that user and you're done.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Davis McCarnOwnerCommented:
It's the correct answer.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Remote Access

From novice to tech pro — start learning today.