[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Create new service in Windows Server 2008.

Posted on 2012-08-30
1
Medium Priority
?
874 Views
Last Modified: 2013-02-01
Hi

In windows 2000, we have used following syntax to create new service.

From resource kit folder :

Instsrv.exe myservice “C:\Program Files\Resrouce Kit\srvany.exe”

And We migrted recently to windows 2008 and want to create same service in 2008..

what i did was i took srvany.exe from 2003 and put into 2008 (c/windows/system32) and executed following command from c prompt..

sc create myservice binPath=“C:\windows\system32\srvany.exe”

when i execute above command, it is showing description, usage, help etc.. but it is not sucessfully creating my service.

Can you please help me..

Thanks
RNithik
0
Comment
Question by:RNithik
1 Comment
 
LVL 44

Accepted Solution

by:
Darr247 earned 2000 total points
ID: 38352871
You need a \\ServerName between sc and create, and you need a space after the equals sign.

See http://support.microsoft.com/kb/251192

Without the \\servername, you're using 'Syntax2' which displays help information.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
An article on effective troubleshooting
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

872 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