Skip to content

RobPlatt.com

My name is Rob. Here are the things I find useful or amusing. Enjoy.

Archive

Category: Fixes

We had an install of Windows Server 2008. We were trialing some software, and weren’t sure if we were going to keep the OS or not. When the trial period expired, I ran slmgr -rearm. Success. We continued to run the server in trial mode.

Today I received my product keys from Microsoft, and when I tried to activate the OS I received the following error messages.

0xc004d302

and

The security processor reported that the trusted data store was rearmed.

Numerous Google searches resulted in either

  • Reboot to fix
  • Reboot and end up locked out permanently
  • Reinstall

None of these options were ones I was willing to take. Here are the steps to correct the above issue that worked for me.

  1. Stop the Software Protection service.
  2. Move C:\Windows\ServiceProfiles\NetworkService\AppData\ Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat to your desktop.
  3. Move two hidden files in C:\Windows\System32\ that have the extension .C7483456-A289-439d-8115-601632D005A0 to your desktop.
  4. Start the Software Protection service.
  5. Run slmgr /dlv
  6. Stop the Software Protection service.
  7. Place tokens.dat and two hidden files back to their original locations.
  8. Install your product key by running slmgr /ipk <product key you purchased>
  9. Start the Software Protection service.
  10. Activate Windows.

We used to use Adobe FlashPaper to embed pdfs into our site. This made viewing a pdf  easy, most people have flash installed, right?

No… and chances are, if they don’t have adobe reader, they probably don’t have flash.

A better/free solution would be Google Docs Viewer.

Use Google Docs to quickly view documents online without leaving your browser.

Embedding Docs Viewer into your page, gives you the same usability as FlashPaper, but without Flash needing to be installed. Now we can give our users the ability to view our pdfs, directly in our browser, without any third-party dependencies. (You may also provide a non-embedded url, to open in full screen)

We did run into one problem. We received this error on one of our pdfs:

Sorry we are unable to generate a view of the document at this time

Replacing the spaces in the filename with %2520 solved the issue. %20 and + did not.

For some reason, I lost the ability to auto-complete in the command prompt, using the TAB key.

Setting the following registry key to 0x9 solved the problem. How it got changed in the first place is beyond me.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]
“CompletionChar”=0x9

Had this happen at a clients today…

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.

I tried “net use * /d”… I checked DNS settings… that didn’t help.

In my case, my client had the same administrator:password login, both on the local machine, and as the domain account. So, even while the computer was disjoined from the domain, the local admin account had rights to the server. This defeated using the server credentials when trying to add the computer to the domain. Changing the local administrator password to something else solved the problem.

Having trouble logging into a new account, from XP, over wireless? Did you make sure the wireless zero config was controlling the wireless connection? Can you ping the computer from a remote desktop while it’s at the login screen?

Try this…

Log on with an already trusted account. Lock the computer. Try to unlock the computer with the new account. It should cache the login credentials and let you log in. Read on for more help with this problem.

If you’re behind a WatchGuard firewall, and your /wp-admin/ page shows up white / blank, then your firewall may be the culprit.

The default Header-Response for an http proxy is set to strip. Which prevents the admin page from redirecting you to /wp-login.php

You can test this by manually typing in http://site/wp-login.php. Once you log in (it wont redirect you), type http://site/wp-admin/ and your dashboard should load.