All posts by admin

Restart server from workstation

Scenario:

You wish to restart the machine “MyServer” from another computer on the network. The usual routine is:

shutdown /r /m \\MyServer /t 0 /f

If shutdown.exe returns an ‘Access is Denied’ error, then you either didn’t run the command with elevated privileges, or “MyServer” is unable to validate your credentials. If so, run the following command in an elevated prompt:

NET USE \\MyServer\IPC$ MyPassword /USER:MyUser

Where MyPassword and MyUser are appropriate credentials for an administrator account on the MyServer machine.

Once it’s run, you’re returned to a prompt and the shutdown command above should work.

Quickbooks DB service won’t stay started after reboot

This happens sometimes. After a server reboot, clients say they get “Error Code: H202 This company file is on another computer, and QuickBooks needs some help connecting” and you find the QuickbooksDB service is stopped. You start it but it just stops with the error “The QuickBooksDB26 service on Local Computer started and then stopped.  Some services stop automatically if they are not in use by other services or programs.”

This is happening because of contention over port 55333. The DNS server and the QuickbooksDB service both want to use it by default. If the DNS Server service starts before the QuickbooksDB service, DNS grabs it and QuickbooksDB doesn’t choose another available port and just stops.

You can manually resolve this by stopping the DNS Server service, then starting the QuickbooksDB service, then starting the DNS Server service.

To fix permanently,

1. Stop the DNS Server and QuickbooksDB services
2. Reserve the port using netsh from an elevated command prompt:
netsh int ipv4 add excludedportrange protocol=udp startport=55333 numberofports=5
3. Start both services

RRAS loses SSTP certificate binding

Server 2012 Essentials stopped accepting SSTP connections after automatic certificate renewal using Win-Acme. Found many services weren’t starting.

The fix was to:

  1. Via MMC, copy new certificate from Web to Personal.
  2. In elevated CMD, go to c:\Program Files\Windows Server\Bin
  3. WSSPowerShell.exe
  4. Add-WssLocalMachineCert

The process takes a while and may produce errors at the end. However, after it finishes and the server is restarted, all was well.

This was developed using this very helpful blog post:

https://windowsserveressentials.com/2013/04/29/windows-server-2012-essentials-an-error-prevented-the-dashboard-from-opening/

 

 

Activation trouble with O’Print from Oprintware

The Oprintware product O’Print is an excellent Airprint printer server for Windows and is well worth its modest price (under $20 as of this writing.) We have installed it at many locations and it’s reliable and well-liked.

Upon initial installation, it runs in fully-functional trial mode for 30 days after which you must enter an activation key purchased from Oprintware. However, their activation mechanism frequently goes down, sometimes for months at a time.

If you find yourself unable to activate the program because of the activation service being unavailable (usually an error 12029,) you can perform the following procedure to reset the trial period for another 30 days during which their activation machine may be back online.

This is not a “hack” in the sense that you should do this to avoid paying for the product. It is well worth its very modest price and the developer deserves being paid for such an excellent product. But it will get you out of a situation where a needed function isn’t working anymore and you have to get it working again.

  1. Quit O’Print
  2. Delete the following registry keys and their sub-values:
    HKLM\SOFTWARE\Wow6432Node\OPrint
    HKCU\AppEvents\EventLabels\option
  3. Delete the following file if it exists:
    C:\Windows\SysWOW64\config\settingenv

Now you can re-open OPrint and the 30-day trial will have been reset.

Outlook 365 crashing after bad update

UPDATE: The problem described below seems to have been limited to Outlook using Exchange accounts located on Microsoft’s Hosted Exchange service. Later in the day, the problem resolved itself probably after Microsoft corrected a bug in their Exchange Server. So we stopped performing this fix on client machines pending any further trouble reports. We’ll leave the earlier description & fix below in case it comes up again.

We received multiple reports of Outlook crashing immediately after opening following the installation of a botched Office update from Microsoft. Resolves by rolling back. In command window:

cd “\Program Files\Common Files\microsoft shared\ClickToRun”

officec2rclient.exe /update user updatetoversion=16.0.12827.20470

No reboot is required afterward. We have been turning off automatic updating of Office suite after doing this.

Error 8007007e when trying to print from Windows 10 apps

A client could not print an image from the Windows 10 Photos app. It displays error about the printer needing configuration with error code 8007007e.

  1. Browse to c:\Windows\System32\spool\drivers\x64
  2. Search here (and subfolders) for printconfig.dll (you may see several)
  3. Copy any one of these to c:\Windows\System32\spool\drivers\x64\3

No reboot is required. The next time we opened the Photos app, all was well.

Restore YouTube Layout

YouTube has been rolling out a new design of its home page with large previews and the loss of its familiar and useful layout.

Unfortunately, none of the below works anymore. If something new is discovered, we’ll post it here.

To restore to the old layout, use the F12 key to bring up the PREF cookie and replace its value with this: f5=30&al=en&f1=50000000&f6=8

The above no longer works but this does:

Install a user-agent extension like User-Agent Switcher for Chrome or Firefox

Chrome users:

  1. Go to youtube, and on the drop down, you have to hover on “This can read site and change data” when you are on youtube, and select the youtube option. This will make it work just on youtube.
  2. On youtube, left click the icon, and go all the way to the bottom, under the ‘Spider / Bot’ options, and there is an option called ‘Googlebot (Google’s Spider)’. Click that and it should work.

Firefox users:

  1. Go to youtube and set your user agent to Google Bot
  2. Tick ‘Override for Domain’

GMail popups in Outlook

There is a bug in some versions of Outlook which will cause it to repeatedly trigger a “Log into GMail” popup when a GMail account is in the profile.

Change imap.gmail.com to imap.googlemail.com

Change smtp.gmail.com to smtp.googlemail.com