How to: Fix a network printer suddenly showing as offline in Windows Vista, 7 or 8
This post has become quite popular – so I’ve updated it with a bit more detail, plus some people’s experiences from the comments. If you find it useful then please leave a comment – or, even better, if I’ve saved you time and money then donate a bit to cover my hosting costs.
You may find, as I have done recently, that a network printer installed on a Windows Vista starts suddenly showing as Offline even when other machines on the network can access it fine. I originally thought it would be an IP address issue, but it turned out not to be anything to do with that. In fact, the solution was far simpler – but also slightly strange…
It turns out that Windows Vista automatically enables SNMP support for networked printers, and if it can’t get a response to a SNMP message then it assumes the printer is offline. SNMP stands for Simple Network Management Protocol and is a way of getting information from network devices (such as routers, servers and printers), mainly for the purposes of finding out if there are any problems with the devices. A number of networked printers implement SNMP, and will respond to SNMP queries with information, but some don’t. My printer (a fairly old Lexmark T640) is one of the ones that doesn’t implement it – so of course Vista will never get a response to a SNMP message. The result of which is that the printer will start showing as offline at a seemingly random time because Vista has just sent a SNMP message to it, and it hasn’t responded.
Thankfully there is a simple way to fix this – and it just involves telling Vista not to try and communicate with the printer via SNMP. Simply right-click on the printer in the Printers window, choose the Ports tab, and select Configure Port. At the bottom you will see a checkbox saying something like SNMP Status Enable. Untick that, and the printer should start showing as online again.
That should be it…but here are a few other tips/observations from people who’ve commented on this post:
- This has been found to work on a variety of versions of Windows including
- Windows Vista
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- Windows Server 2003
- Windows Server 2008
- Windows Server 2012
- You could need to be logged in as an administrator before you can change the SNMP status
- If you’re running Windows 8 then this could be the problem instead (thanks Gompo)
- If you find that this solves it for a bit but it keeps going offline again then editing the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print and adding a new DWORD called SNMPLegacy with the value 1 and restarting may solve it (thanks Coxy)
- The issue can be caused even when the printer does support SNMP, but somehow the SNMP communications aren’t getting through – for example, due to a firewall or port configuration issue somewhere on the network (thanks Jonathan)
- Setting the SNMP ‘group name’ to “public” can also help (thanks PP)
If you found this post useful, please consider buying me a coffee.
This post originally appeared on Robin's Blog.
Categorised as: Computer Help, Computing, How To, Windows
Hell yeh..bout time aye…
thx heaps
Awesome…first article I found and it worked. Thanks so much.
Thank you! Worked for me with a Lexmark printer in Windows 10.
When i click Configure Port, it comes up with an error message saying the operation could not be completed
‘error 0x0000007b’ Please could you help me on that one.
Thank you so much I have worked for hours trying to fix this and you fixed it..TYVMMMM
Thank you so much for your March 10 2016 instructions. Worked perfectly on Win10 on Surface Pro. It took me a lot of web searching to find this and it was so worth the time ☺
Thanks man!
You are my hero!!!!!
With regards, Natasha
yep, worked for me on Windows 7
many thanks, I have been trying to figure this out for ages, I thought it was a firewall problem, but this simple step fixed it
thanks again
David
thanks for answering that question bingo! nearly ended up buying a new printer or paying for an IT visit!
Two Windows10 systems on our home network with old Laserjet4100, near identical setups, one had the offline problem, the other did not.
I have been able in the past to get temporary solution by uninstall/reinstall.
After a recent failure and replacement of router, 1PC online and functioning perfectly, the other refusing to go online. I noticed that port configs were different and had tried many & various suggestions to no avail.
Robin’s solution worked instantly. The other PC still has SNMP enabled and reports its Community name as “public” and the Device Index as 1. It continues to work normally.
Thanks Robin, my wife is over the moon at being able to print again.
trying to “configure port” on the machine (Vista) that has the printer connected with the cable and it says “An error occurred during port configuration. Access is denied.” If I try to configure the port on the shared computer (the one showing off line is Windows 7) it is greyed out. What do I do now? It has worked great for several years and now suddenly this happens.
Muchas gracias por la ayuda,realmente sorprendido de la simplicidad de la solucion 🙂
“thumbs up for me”….taras kul. really useful
Thanks, sorted. Ive been trying to solve this problem for ages – was just about ready for throwing it out!!!!!!
Thank you very much. A simple fix to a big problem for me.
Windows 10 (upgraded from Windows 7 SP1 64-bit).
When I try to configure the port, it says: “Error. This operation is not supported.” I’m running as Admin and it won’t do it.
Thank youuuuu!
Worked like a charm!
Thank you guy for this!
I set SNMPLegacy to 1 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
I recommend this method because it will work with any printer.
Thanks a lot for the trick !
Five years later this solution still works! Thank you for sharing.
this worked .. thanx
Great stuff it works real good
Sometimes it’s not fixable by the above-mentioned…due to your IT people moving things over to a new server except your printer… (*sigh* the joys of working for a 3rd world campus…) so then you have to call them up and make them realise they need to do that…
I’m afraid it didn’t work for me. Still showing offline. It doesn’t let me add ports either. Currently on 192…… But it didn’t work in USB either.
Where can we do that in Windows 10 ?
Setting the SNMP ‘group name’ to “public†can also help (thanks PP)
When clicking on ‘configure port’, I get a message that says ‘this operation is not supported.’
Brother printer, Windows 10. I’ve been having this problem for a year or two, prior to installation of Windows 10 (had 7 before)
brilliant! really solved the issue. thanks!
After trying this it wouldn’t print but with a different message. I tried enabling the SNMP again but now it says printer in an error state…!
YAY!! THANKS so much this just worked for me with Windows 10
Thanks you for sharing great article.
Thank you! This solved my problem on Windows 10 with an old HP OfficeJet Pro L7700 series printer.
looks i’m the only unlucky one here to leave a comment asking for help. i have a brother HL2270DW and win 10 64-bit enterprise. it’s been a pain in the neck for quite a while and I have called brother spent hours to reset every time until I googled your post today.
I did exactly what you said, reboot the printer and the PC, however it’s still showing offline.
Thank you so much!! This is incredibly helpful.
I couldn’t access the option to uncheck the SMNP option, but I found that I could create a new port for the printer using the IP address, and SMNP was off by default. It immediately printed.
It got my printer back online, but now nothing will print. It just goes into the print queue and sits there. I emptied the queue with print spooler and printers in system 32 but it still simply won’t print. Darn!
Geee! thanks a lot , this helped me
If you get a message saying the port cannot be configured, it may be because it is not using a standard TCP/IP port. Windows 2012 Server created a port with a cryptic name so I just created a new port with an IP address and then I could access the setting.
OK dumb question: on 2012 Server do I used the 64-bit DWORD? It is a 64-bit server but both 32 and 64-bit drivers are installed on the print server
Duh, I answered my own question: there is no such thing as a 64-bit DWORD because they are called QWORDs.
Last post(?) I am trying the registry update because if you just disable SNMP you will not get low toner and out of paper messages, I think
thanks solve problem develop 22o on win 7
I tried this on my machine running Windows 10. It came up saying “ready” on one screen, but still says offline elsewhere. I still cannot print.
I have an error message when I click on Configure port. Any idea how to fix it ? Thank you.
Thanks, its working now.
Hi, thank you so much for the tips.
I’ve solved it by going to “Port Configuration” at printer properties, then unchecking the “SNMP State” checkbox. After this our network printer ( Xerox 3320 ), never got back offline.
Thanks for leading the way!
my problem is when I take my laptops (two Mac and Hp with windows 10) to another location and work on a different network then return to my home the printer always needs to be turned off and restarted. My laptops find the network easily but cannot located the printer unless it is restarted.
Yes! Worked great. Thanks!
Thanks a lot.
I am using Win7. It worked in my Xerox WorkCentre 5775.
I am still unable to print … I get error message when i click on Configure … Won’t let me proceed(?) Any help will be greatly appreciated!
Also worked on Windows Server 2008 R2 (Configured as a print server)
Thanks.
Thanks a bunch, it worked on my network printer!