Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9168231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:34:53+00:00 2026-06-17T15:34:53+00:00

How to create service on Windows XP Embedded (Sc.exe is not installed) ?

  • 0

How to create service on Windows XP Embedded (Sc.exe is not installed) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:34:54+00:00Added an answer on June 17, 2026 at 3:34 pm

    You could try using VBScript, I found this code from here, OP says it work’s perfectly, so maybe worth trying.

    ' Connect to WMI. 
    set objServices = GetObjecT("winmgmts:root\cimv2") 
    
    ' Obtain the definition of the Win32_Service class. 
    Set objService = objServices.Get("Win32_Service") 
    
    ' Obtain an InParameters object specific to the Win32_Service.Create method. 
    Set objInParam = objService.Methods_("Create").inParameters.SpawnInstance_() 
    
    ' Add the input parameters. 
    objInParam.Properties_.item("Name") = "GPServer" '< - Service Name 
    objInParam.Properties_.item("DisplayName") = "GPServer" '< - Display Name, what you see in the Services control panel 
    objInParam.Properties_.item("PathName") = "c:\Server\srvany.exe" '< - Path and Command Line of the executable 
    objInParam.Properties_.item("ServiceType") = 16 
    objInParam.Properties_.item("ErrorControl") = 0 
    objInParam.Properties_.item("StartMode") = "Manual" 
    objInParam.Properties_.item("DesktopInteract") = True
    'objInParam.Properties_.item("StartName") = ".\Administrator" '< - If null, will run as Local System 
    'objInParam.Properties_.item("StartPassword") = "YourPassword" '< - Only populate if the SatrtName param is populated 
    
    'More parameters and return statuses are listed in MSDN: "Create Method of the Win32_Service Class" 
    
    
    ' Execute the method and obtain the return status. 
    ' The OutParameters object in objOutParams is created by the provider. 
    Set objOutParams = objService.ExecMethod_("Create", objInParam) 
    wscript.echo objOutParams.ReturnValue
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to create a windows service with vb.net but when I run: InstallUtil.exe
Is it possible to create a C# EXE or Windows Service that can process
I want to create a windows service, and I am not sure whether to
I want to create a windows service to run an exe on start up.
I want to create windows service which recieves via some queue tasks to run
i'd like to create a windows service that would be accessible via WCF from
On other windows operating systems, I could create a Windows Service that listens to
I have two windows application, one is a windows service which create EventWaitHandle and
To get windows service named MyTestService I create an instance of Win32_Service object then
I'm using WiX 3.5 to create an installer that installs a Windows Service and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.