Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Need help with setting terminal services config options

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,47891
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need help with setting terminal services config options
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Need help with setting terminal services config options - 6/4/2007 6:16:50 PM   
  vijay78

 

Posts: 5
Score: 0
Joined: 6/4/2007
Status: offline
Hello there -

Not sure if this is the right place to ask this.

I'm trying to setup a script to 'select' an option under 'Environment' tab in Administrative Services --> Terminal Services Configuration. I'd need to programatically select 'Do not allow an initial program to be launched. Always show the desktop'. Someone had set up a simple VB script to show up a message box and then log off from the server - as a startup program. Due to this, I'm unable to login to the server though I am an Admin on the box.

Appreciate any help with this.

Thanks.
 
 
Post #: 1
 
 RE: Need help with setting terminal services config opt... - 6/4/2007 11:12:45 PM   
  ginolard


Posts: 1053
Score: 21
Joined: 8/10/2005
Status: offline
I'd imagine that's a registry setting somewhere.  Why don't you use Regmon to find out what key is being changed?

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to vijay78)
 
 
Post #: 2
 
 RE: Need help with setting terminal services config opt... - 6/7/2007 5:18:03 AM   
  vijay78

 

Posts: 5
Score: 0
Joined: 6/4/2007
Status: offline
Thank you for the tip! I was able to locate the key and tweak it in the registry.

vijay78

(in reply to ginolard)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need help with setting terminal services config options Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts