creation of services in vista RRS feed

  • Question

  • Hi,
            I am new to this windows programming. I want to create a service which is user  created one in Vista. When i  issue the sc create command.It is saying that "access denied".But the same works fine in win2k3. Can you help  me out in this?

    Wednesday, March 28, 2007 3:34 AM

All replies

  • You need to run SC Create from an administrator command prompt.


    Right-Click cmd.exe in startmenu and chose run as administrator.

    Thursday, March 29, 2007 1:11 AM