Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the difference starting programs via console or RDP session

Status
Not open for further replies.

boein

Technical User
Jul 17, 2003
84
BE
Hi,
I have a program that crashes when you run it as a normal user via Terminal services. Strange thing is it works fine when logged on as an admin. Even more strange, if you first log in as admin on one session, execute the program, also the non-admin user can start the program on another RDP session without any problem. Also when the non-admin user logs on on the console "mstsc /console /v:SERVER_X" he can also ran the program without any problems. Is there a difference between running a program in an rdp session or an rdp-console-session? How can I make this program work without having to log on on the console.

Thanks
Boein
 
/console is exactly that you get the console session. Same as connecting via rdp and cmdline shadow 0. I'm not sure but it might be who's logged on at the console. If an admin is logged on they will get the admin's session
 
I know, /console gets you a console-session, like you were sitting in front of the physical machine. But I want to know, if this works different regarding registry-keys,profile-settings, user rights...etc. Any ideas?
 
Hi,

found the guilty one, apparently there's a local policy "Create global objects" that is only accessible for admins. I checked every policy via trial and error and eventually found out that the users also need to be able to "create global objects", whatever that may be. I don't know why this application needs this policy, but imho it has nothing to do with terminal services or RDP consoles. If anybody knows what this policy does, feel free to explain ;-)

Thanks
Boein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top