![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | NET START STOP Service Command Line I'm trying to run NET START and NET STOP commands from the command line. However, I'm getting "System error 5 has occurred. Access is denied." Yet, I can go into the SERVICES GUI and start and stop the same service. It appears this has something to do with the USER ACCOUNT CONTROL. When I turn if off, I can use the NET START/STOP commands normally. Is there a specific security policy setting that I can change that will keep USER ACCOUNT CONTROL turned on but let me run the NET START/STOP commands to turn off and on services? Chuck |
My System Specs![]() |
| | #2 (permalink) |
| | Re: NET START STOP Service Command Line Are you running from an elevated command prompt? "Dr. Network" <charles.hawkins@jenzabar.net> wrote in message news:OE2hMjX4GHA.2264@TK2MSFTNGP02.phx.gbl... > I'm trying to run NET START and NET STOP commands from the command line. > However, I'm getting "System error 5 has occurred. > > Access is denied." > > Yet, I can go into the SERVICES GUI and start and stop the same service. > > It appears this has something to do with the USER ACCOUNT CONTROL. When I > turn if off, I can use the NET START/STOP commands normally. > > Is there a specific security policy setting that I can change that will > keep USER ACCOUNT CONTROL turned on but let me run the NET START/STOP > commands to turn off and on services? > > Chuck |
My System Specs![]() |
| | #3 (permalink) |
| | Re: NET START STOP Service Command Line I'm right-clicking on both the shortcut and CMD.EXE and neither allows me to run as an administrator in the properties window. Is there another way to elevate CMD.EXE? Chuck "Steve" <Steve@SPAM.NOT.FOR.ME> wrote in message news:%23UbMAKY4GHA.3556@TK2MSFTNGP02.phx.gbl... > Are you running from an elevated command prompt? > > "Dr. Network" <charles.hawkins@jenzabar.net> wrote in message > news:OE2hMjX4GHA.2264@TK2MSFTNGP02.phx.gbl... >> I'm trying to run NET START and NET STOP commands from the command line. >> However, I'm getting "System error 5 has occurred. >> >> Access is denied." >> >> Yet, I can go into the SERVICES GUI and start and stop the same service. >> >> It appears this has something to do with the USER ACCOUNT CONTROL. When I >> turn if off, I can use the NET START/STOP commands normally. >> >> Is there a specific security policy setting that I can change that will >> keep USER ACCOUNT CONTROL turned on but let me run the NET START/STOP >> commands to turn off and on services? >> >> Chuck > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: NET START STOP Service Command Line "Dr. Network"wrote > I'm right-clicking on both the shortcut and CMD.EXE and neither allows me > to run as an administrator in the properties window. Is there another way > to elevate CMD.EXE? > > Chuck > > "Steve" <Steve@SPAM.NOT.FOR.ME> wrote in message > news:%23UbMAKY4GHA.3556@TK2MSFTNGP02.phx.gbl... >> Are you running from an elevated command prompt? >> >> "Dr. Network" <charles.hawkins@jenzabar.net> wrote in message >> news:OE2hMjX4GHA.2264@TK2MSFTNGP02.phx.gbl... >>> I'm trying to run NET START and NET STOP commands from the command line. >>> However, I'm getting "System error 5 has occurred. >>> >>> Access is denied." >>> >>> Yet, I can go into the SERVICES GUI and start and stop the same service. >>> >>> It appears this has something to do with the USER ACCOUNT CONTROL. When >>> I turn if off, I can use the NET START/STOP commands normally. >>> >>> Is there a specific security policy setting that I can change that will >>> keep USER ACCOUNT CONTROL turned on but let me run the NET START/STOP >>> commands to turn off and on services? >>> >>> Chuck Click on the Start Orb. Type cmd in the Start Search box. When cmd.exe show up at the top of the window right click and choose Run as administrator. -- Rock [ MVP User/Shell] |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Running a command from inside a script, command line is corrupted | PowerShell | |||
| stop and start windows update service | VB Script | |||
| How deactivate-reactivate a hardware component and start a service by script / command-line ? | VB Script | |||
| How is it possible to execute start-service and stop-service through a Web-interface? | PowerShell | |||
| Start, Run Command line options........ | Vista General | |||