0x80040200

image I got the 0x80040200 error while trying to register an ocx file with regsvr32. I got the problem on 2008R2 but I guess it’s applicable to Vista, Windows 7 & normal 2008.

The solution is simply to run in an elevated command prompt. Right click the command prompt icon, and choose “run as administrator”. Quite why the error message couldn’t say that, I don’t know.

Reset Password on MediaWiki 1.15.1

Here’s a work related trawl: mediawiki1[1]

We’ve got a wiki setup on IIS/PHP/MySQL

I set it up aaaaages ago, now I need to log in, and I can remember neither the username nor password. We’ve had  desktop refresh recently and chrome was managing all that for me on my old PC, but the new one obviously doesn’t have the password saved. Shot mate, nice one.

I tried the e-mail new password option, but oops, looks like I forgot to set up the SMTP settings. Bad Admin! And TBH, I could create a new account to do what I need to do, but that doesn’t help down the line. So, I need to find a way of resetting the password given I have access to the machine in question.

 

Solution:

OK that was a quick one! Thought this was going to take forever, and as I’m using Windows instead of Linux, I expected to have to translate a load of arcane shell commands and path structures to Windows! One quick google with "wikisysop reset password" as my search term, turned up a user with a WAMP setup and a similar issue in this forum:

 http://www.mwusers.com/forums/showthread.php?8347-WikiSysop-account-not-working-on-moved-wiki

So thanks to ‘Skizzerz’ who supplied the following snippet, fire up your command prompt and:

cd path\to\your\mediawiki\maintenance

php changePassword.php ––user="WikiSysop" ––password="Your new password"

simples innit! Of course, this only works if you have logon access to the server.

Hello world!

#include <stdio.h>

main()
{
  for(;;)
      { 
          printf ("Hello World!\n");
      }
}

 

OK, so I started a blog! Like most blogs this will probably be my last post, so I’d like to thank you for reading 🙂 Hopefully however, there will be a flurry of activity in the coming weeks, leaving behind at least a soupçon of useful info!

The aim of the game here is to share some of the information I find out in my day-to-day job as a Windows system admin. Often, the problems we deal with are ridiculously simple to fix, but finding out the info in the first place is excruciatingly painful!

Secondly, I’ve bought in to the digital lifestyle at home. Any media, any device, anywhere. That’s what Microsoft would have you believe anyway. It’s never quite as simple as that, and as I get my Windows 7, Xbox 360, Windows Home Server & Windows Phone 7 Series chatting to each other, I’m gonna share the info here.

Hopefully I’ll attract a few readers trying to do the same, and if we all have the same problems, maybe we can help each other out.

So, anyway, enough blather! I’m away to think of what to post about first.