Net Start Spooler System Error 2 Has Occurred
Contents |
we highly recommend that you visit our Guide for New Members. Solved: system error 5 has occurred access denied Discussion in 'Windows 8' started by ron40, Jun 18, 2014. Thread Status: Not open for further replies. Advertisement ron40 print spooler access denied windows 7 Thread Starter Joined: Jul 6, 2004 Messages: 238 I have windows 8, 32 bit & I'm
Net Stop Spooler System Error 5 Has Occurred
trying to clear my print spooler, which I've done many times. I go to "run," type "cmd" & enter the command: "net stop spooler." net stop spooler access denied When I execute the spooler command I get the above error message. I did a search on google & got a lot of hits but none of them were useful. What is going on & how do I solve this
System Error 5 Has Occurred Access Is Denied
"system 5 error" problem? Thanks for any help. ron40, Jun 18, 2014 #1 Sponsor davehc Trusted Advisor Joined: Oct 4, 2006 Messages: 1,935 Try restarting the spooler at the same time. The combination command would be net stop spooler && net start spooler I try to avoid the command line as much as possible, on the understanding that a user OS should not need in depth commands. When I have a document problem such as yours, I normally open disk 100% the "Devices and Printers", in the Control Panel, click in and "see what's printing" and clear it from there. Sometimes needs a restart. davehc, Jun 19, 2014 #2 Macboatmaster Trusted Advisor Joined: Jan 14, 2010 Messages: 16,415 You must run that cmd on an elevated cmd prompt instead of simply opening the cmd prompt on windows 8.1 however you access it - right click and click run as admin or if you access it from search charms, click run as admin the cmd window will then be titled Administrator command prompt and not merely command prompt please see screenshot as explained here You can also clear print jobs by using an elevated Command Prompt. You will get the Access Denied error if you attempt to do this with a normal Command Prompt. That said, perhaps I am on the wrong tack as you say I have windows 8, 32 bit & I'm trying to clear my print spooler, which I've done many timesClick to expand... Attached Files: Untitled.jpg File size: 37.8 KB Views: 177 Macboatmaster, Jun 19, 2014 #3 ron40 Thread Starter Joined: Jul 6, 2004 Messages: 238 Problem solved: I was not running with admin privileges. In Win 8 I have to choose "Command Prompt (Admin)' from the dropdown choices. I was selecting "Run" from the dropdown choices to get a command line rather than "Command Prompt (Admin)." I just forgot. I'm new to win 8. G
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://stackoverflow.com/questions/5165627/net-start-spooler-fails-with-exit-code-2-when-trying-to-restart-the-printer-sp site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss http://h30434.www3.hp.com/t5/Inkjet-Printing/System-Error-5-has-occurred-when-running-Net-Start-Spooler/td-p/3501925 Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 'net start spooler' system error fails with exit code 2 when trying to restart the printer spooler on Windows up vote 0 down vote favorite My application installs a virtual printer driver. On some users' systems I need to restart the printer spooler because functions like OpenPrinter return RPC_S_SERVER_UNAVAILABLE (text is "The RPC server is unavailable."), which means the spooler has stopped working. I try to do that by spooler system error calling "net start spooler" with CreateProcess: PROCESS_INFORMATION pi = { 0 }; STARTUPINFO si = { sizeof(si) }; // later CreateProcess(0, "net start spooler", 0, 0, 0, 0, 0, 0, &si, &pi ); On some users' systems this works, but on others it fails with exit code 2, and GetLastError returns ERROR_NO_MORE_FILES (text is "There are no more files."). Does anyone know what ERROR_NO_MORE_FILES would mean in this case? c++ winapi printing spooler share|improve this question edited Mar 2 '11 at 14:04 asked Mar 2 '11 at 9:36 sashoalm 19k32151326 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted It seem that you interpret the ERRORLEVEL code 2 in the wrong way. It is not the code ERROR_NO_MORE_FILES. I started cmd.exe under the user account and received the following output C:>echo %errorlevel% 0 C:\Users\Rita>net stop spooler System error 5 has occurred. Access is denied. C:>echo %errorlevel% 2 Any exit code of "net.exe" larger as 0 is an error. I recommend you to use StartService to start the service, then you will have more error control. share|improve this answer answered Mar 2 '11 at 12:36 Oleg 189k726155
Boot and Lockup  Notebook Wireless and Networking  Notebook Audio  Notebook Video, Display and Touch  Notebook Hardware and Upgrade Questions  Notebook Software and How To Questions  Business Notebooks  Printers sprocket  Inkjet Printing  LaserJet Printing  Printer Software and Drivers  DesignJet, Large Format Printers and Digital Press  HP Connected, Mobile Printing and Cloud Printing  Scanning, Faxing, and Copying  JetAdvantage, Printing Applications and Services  Desktops Desktop Operating Systems and Recovery  Desktop Boot and Lockup  Desktop Wireless and Networking  Desktop Audio  Desktop Video, Display and Touch  Desktop Hardware and Upgrade Questions  Desktop Software and How To Questions  Sprout by HP  Business PCs, Workstations and Point of Sale Systems  Gaming Gaming Notebooks  Gaming Desktops  Gaming Accessories  Tablets and Mobile Devices Elite x3  Android  Windows  Calculators  Palm and WebOS  Software HP Workspace  HP Touchpoint Manager  HP Collaboration  Commercial PC Software  Archived Topics (Read Only) Notebooks Archive (Read Only)  Printers Archive (Read Only)  Desktops Archive (Read Only)  Tablets and Mobile Devices Archive (Read Only)  Software Archive (Ready Only)  Windows Beta and Previews Archive (Read Only)  Miscellaneous Topics (Read Only)  Your Voice Forum Feedback & Suggestions  HP Expert Portal Welcome to the HP Expert Program  Meet the Experts  News and Events  Blogs Open Menu Blogs Open Menu Best of the Community BlogMeet the ExpertsNews and EventsWelcome to the HP Expert Program Beware of fake HP Support Open Menu Beware of fake HP Support Open Menu Be alert for scammers who may be posing as HP representatives and only call numbers from people who have a label next to their screen name. If you think you have received a fake HP Support message, please report it to us by clicking on the blue “Report Inappropriate Content” button above the message. Thank you! Register · Log In HP Support Forum Home > Printers > Inkjet > System Error 5 has occurred when