Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 1st, 2004, 11:01 AM
JRF2k JRF2k is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 JRF2k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Remote Assistance

I am trying to find out how to enable the service for Remote Assistance in WinXp through a WSH script.

I have the following code that will start a service:

Code:
 strComputer  = InputBox("Computer to connect to?")
strService = InputBox("Exact name of service to start?")
strWMIMoniker = "winmgmts:!//" & strComputer
strQuery = "select * from Win32_Service where Name='" & strService & "'"

For Each wmiWin32Service in GetObject(strWMIMoniker).ExecQuery(strQuery)
 wmiWin32Service.StartService()
Next 


I have tested this code with the Messenger service and it appears to work. My problem is that I don't know what service controls Remote Assistance. The closest I've seend is Remote Desktop Help Session Manager which has one dependency - the Remote Proceedure Call. I tried to turn this service on with the script and it doesn't work. Can anyone tell me what I am doing wrong and point me in the right direction.

Thanks,

JRF2k

Reply With Quote
  #2  
Old November 4th, 2004, 12:41 PM
NickWuk NickWuk is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 NickWuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Remote Assistance

I'm trying to do something similar, did you have any sucess?

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Remote Assistance


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT