• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1234
  • Last Modified:

Enable "Allow service to interact with desktop" by VBScript

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
huynguyenhoang
Asked:
huynguyenhoang
1 Solution
 
Level10AccessCommented:
Sorry,
But i dont think you can do this through VB Script. Once again, Sorry.
0
 
shnaidmanCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now