So I recently ran into this error when trying to add a network printer (shared from a Server 2008 box) to my users’ computers. What worked out well for me was following the advice of “stzargazer” in this MS answers forum post.
1. Install the printer locally using port LPT2. I’ve shown the first couple steps in the screenshots below, the rest should be self-explanatory 🙂
Printer Local Install
Printer Local Install Port
Printer Local Install Driver
2. Open a command prompt and enter this redirect command:
net use LPT2 \\computername\sharedprintername /persistent:yes
That’s it! You should now be happily printing to your network printer.
Had this issue come up at work recently. We were troubleshooting a database & SAN issue, and desperately needed timestamps added to dmesg. Finally found this helpful post on Arch Linux’s forums, much thanks to user “begray”.
To have timestamps added to dmesg entries, add the following parameter to your boot options:
Sadly, that didn’t help us in our situation (as we would have needed to reboot, nixing dmesg in our case), however it’s good to know for future treks. 🙂
During my usual system administration duties a few days ago at work, I came across an issue where I could not log into TSclients even though I had JUST been logged in. I received this error:
Terminal Services Problem
Thanks to a comment on this blog post, I found that I can disconnect myself via CLI from another DC we have on the network (thankfully Windows has a CLI for us Unix-like aficionados.
You can disconnect a user from a command prompt with tsdiscon:
tsdiscon 1 /server:[servername/ip]
Or reset their session with rwinsta:
rwinsta 1 /server:[servername/ip]
If you wanted to be picky about who you disconnect or reset, you can view session info with qwinsta:
(Thanks to “Ron” for that tidbit of info).
So I opened a command prompt on our DC that I could access, and entered:
which showed the current connected users for that server, then used:
z:\tsdiscon [session-name] /server:[ip]
To disconnect my session, after-which I was able to connect without issue!