Solved

Enable "Allow service to interact with desktop" by VBScript

Posted on 2004-04-22
4
1,213 Views
Last Modified: 2012-05-04
Hi all experts-exchange's member !

How can I enable "Allow service to interact with desktop" of my services that I want by VBScript ?

( Services-->properties of service--->logon---> choosing Allow service to interact with desktop)

Pls help me...

thanks everybody..

huy
0
Comment
Question by:huynguyenhoang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
Level10Access earned 50 total points
ID: 10902454
Sorry,
But i dont think you can do this through VB Script. Once again, Sorry.
0
 

Expert Comment

by:shnaidman
ID: 11219684
Take a look at an article "Interact With Desktop when Installing Windows Service" and very interesting comments to it at http://www.thecodeproject.com/csharp/CsWindowsServiceDesktop.asp. You can find there 3 ways for a solution: registry, WMI and Win32 API which are not obviously bound  to C#.
Good luck,
Israel Shnaidman
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question