Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



NET START STOP Service Command Line

Vista Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-09-2006
Member
 
Join Date: Sep 2006
Posts: 3
NET START STOP Service Command Line

I am facing system error while using Net Start and Net Stop command. I had checked a website which offers a clear option to use this thing. It worked well, but still not able to figure out why the error appears. I am getting System Error 5 Access is denied. What does this means. I had manually started the services from Administrative tool that but that does not worked out much. Does this thing is related to user account control. I want to know that is there any kind of policy settings that I have to modify before using this commands. Thanks.

Reply With Quote
  #2  
Old 26-09-2006
Member
 
Join Date: Sep 2006
Posts: 1
Re: NET START STOP Service Command Line

This issue lies with User Permission. You have to ensure that with user account that you are logged in it must have all privileges to execute those commands. Or else it is not at all worth trying by making number of changes. Read about correct permission. Try to run your cmd as administration by right clicking on it and then click on Run As > Administrator.
Reply With Quote
  #3  
Old 26-09-2006
Member
 
Join Date: Sep 2006
Posts: 3
Re: NET START STOP Service Command Line

I think I did that before. I had used the option Run As > Administrator for CMD. But it does not allow me to access the option. However I tried to locate the permission settings, but it looks a bit complicated to find. What more I can do here to fix this thing out. Thanks.
Reply With Quote
  #4  
Old 25-03-2010
Member
 
Join Date: Mar 2010
Location: Charlottesville, VA
Posts: 1
Re: NET START STOP Service Command Line

I have written a simple DOS batch file to copy a few SQL databases, but seem to have permission problems in stopping the service.

I'm using MSDE SQL Server 2005 installed by 3rd-party software. I installed it under my account on one machine. I am an admin on that machine and my domain. Currently using XPSP3, but will soon upgrade to Win 7.

The batch file runs fine under my login. But, when logging in under accounts for two other users, the batch file never stops the SQL Service. If I go to a command prompt and type the first command in the batch (net stop mssql$css), I get "System Error 5 has occurred." (Both users have been made admins on the local box and one is an admin on the domain.)

Using SQL Server Configuration Manager, on the logon tab for that instance under 'Built-In Account,' I have tried all three options - Network Service, Local Service, and Local System. No change.

I'm sure this is relatively simple. Can you give me instructions on what permissions need to be changed and how to change them?
Reply With Quote
  #5  
Old 30-03-2012
Member
 
Join Date: Mar 2012
Posts: 1
Re: NET START STOP Service Command Line

Just use the free tool (ELEVATE) and make sure UAC is off
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "NET START STOP Service Command Line"
Thread Thread Starter Forum Replies Last Post
Start OpenOffice from command line Maya Angelou Windows Software 5 23-04-2010 09:59 AM
xcopy command line together with wmplayer command line Aislinn Operating Systems 5 31-03-2010 12:13 PM
Group Policy - Start/stop specified service.... prash_mate Active Directory 1 31-10-2008 06:24 PM
Is there a Cluster command line I can run which will stop my "SQL Agent Service"? Spin Windows Server Help 5 31-03-2008 07:53 PM
give normal user rights to start/stop a service el Windows Server Help 1 01-02-2008 04:04 PM


All times are GMT +5.5. The time now is 04:01 AM.