Solved

Enable "Allow service to interact with desktop" by VBScript

Posted on 2004-04-22
4
1,208 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now