Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
Windows 2003 Server GroupsView
Windows Server Active_Directory
Windows Server Dfs_Frs
Windows Server Dns
Windows Server General
Windows Server Migration
Windows Server Networking
Windows Server Sbs
Windows Server Scripting
Windows Server Security
Windows Server Setup
Windows Server Clustering
Windows Server Update_Services

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Apps
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Windows Server General Posts  Ask A New Question 

Cannot Log off after running 'Initial Program' for Remote Desktop

Brya posted on Sunday, September 21, 2008 11:04 PM

We want to give a user access to a server via Remote Desktop and only give
them access to a single program.  This works perfectly fine, howerver when
the user (or us as Administrators) close the program, the program closes but
their is no way to exist out of the session unless you disconnect.  By no way
I mean the screen is just blue, looks like explorer.exe.
I have a Windows 2003 Server Environment.

Thank You
reply

 

Hello,Normally this should terminate and logoff the user as far as I amaware.

homer posted on Thursday, September 25, 2008 5:00 AM

Hello,

Normally this should terminate and logoff the user as far as I am
aware. Perhaps the application is not completely terminating when you
quit?
Have you tried using a simple application like notepad to see when you
close this if the user is logged off? If this works then perhaps there
is an issue with the application.

Also something you may want to try is setting the user to run a vbs
file using the Inital Program of wscript {path to a vbs file} the
VBScript file then launches the application and waits for it to
finish, then runs the log off command. Lemme know if this helps.

wscript c:\launch.vbs

************* launch.vbs *************
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\windows\notepad.exe", 1, True
WshShell.Run "c:\windows\system32\logoff.exe", 1, True
Set WshShell = Nothing



Thanks,


CENTREL Solutions, Automation and Management
http://www.centrel-solutions.com
reply


Previous Microsoft Windows Server General conversation.