Windows Server 2003 Stats

June 25, 2009 by tipst3r

run a command prompt.

type in;

net statistics srv

Look at the Statistics since…

Set Program Access and Defaults

June 22, 2009 by tipst3r

One application that I do use on occasion. I must admit I have in a zealous rage deleted all the nonessential apps that Microsoft fills your Programs Menu with when you get a new machine. Not to mention the manufacturers programs.

Anyway in a fit of uninstall (or mass deleting) rage I removed the “Set Program Access and Defaults” application. This wouldn’t normally be a problem, or so I thought, and browsed around for it. Unfortunately Microsoft decided NOT to have a permanent app for this in the control panel or Accessories or anywhere else in fact. There are no direct programs to run either. Nice.

So this is how to get to it. Either create a shortcut and type in this;

%SystemRoot%\system32\control.exe appwiz.cpl,,3“    obviously without the quotes.

or you could simply type that into the run box. Either way it will get you back to that application again.

Linksys firmware updates

June 17, 2009 by tipst3r

OK sometimes when y ou try to update the firmware on their routers it just doesn’t work. Could be that the router is screwed up in some way but never-the-less there is another way and here it is;

http://downloads.linksysbycisco.com/downloads/Tftp.exe

Download that application from their website and connect directly to the router. Updaload the firmware and away you go.

Simply input the server address, The admin password and point it in the direction of the firmware.

Scanpst.exe

June 15, 2009 by tipst3r

This is a handy and useful tool that comes with Outlook. It’s a way to scan your Outlook files for errors/corruption. There’s a Scanost.exe for Exchange users and a Scanpst.exe for the rest of us.

Importantly the files are located here;

For Microsoft Outlook 2003 (and earlier) users:

c:\Program Files\Common Files\System\Mapi\1033\
c:\Program Files\Common Files\System\MSMAPI\1033

For Outlook 2007 it’s here:

c:\Program Files\Microsoft Office\Office12

Slow Windows Explorer

May 21, 2009 by tipst3r

Not to be confused with Internet Explorer of course.

The other day I had a client that complained that whenever she opened “My Computer” it would sit there for 30 seconds before it responded. It would even show as “Not Responding”.

Initially I thought it might be Virus Checker problems. I uninstalled it. No difference.

After I had a look in the event log I found some stuff that pointed to Windows Search and DNS issues.

I turned off the Client DNS service as this is only really used if there are no DNS servers on the network and to decide on a Master Browser. Anyway that didn’t make any difference.

Next I turned ON Windows Search (as I had previously disabled it as we wanted to use Google Desktop instead). Anyway this didn’t work either.

The funny thing was that when I opened “My Documents” it opened instantly with no delay. If, however, I opened iTunes it would take again about 30 seconds.

OK before you lose interest, here’s what I found;  She had mapped some network drives! Now normally that wouldn’t be a problem but she had to manually establish a VPN connection to allow those drives to work. In essence when she opened any application that looked at all the drives on the machine it would hit the mapped drives and stop. It couldn’t access them but would keep trying until it timed out (which unlocked Windows Explorer).

Solution? I created a small script to map and disconnect the drives;

net use s: \\server\share

That maps it.

net use s: /d

That disconnects it.

Put them in two different scripts and make shortcuts on the desktop and that fixed the problem.

SSL Certificates…. sigh.

May 14, 2009 by tipst3r

Right then, let’s get down to business.

I had to renew an SSL cert for a client. Simple enough I thought and sure, it should be. But it wasn’t. Here’s how it went down;

The server is running IIS 6.0.(Windows Server 2003 SBS)

The easy way to do this is to;

  • Right click on the site.(in the IIS Management MMC)
  • Choose Properties > Directory Security Tab > Server Certificate button
  • Next > Choose “Renew the current Cert”
  • Prepare the Request now, but send it later
  • Choose a file name 

At this point it generates a renewal cert.

Now all being equal I would go to the SSL certificate issuing company and login, click on the links to get to the renewal of SSL certs. Cut and paste the cert into their website and take it from there. After a day or so (or a few minutes if I hassle their tech support) they will process the request, at which point I login to their website again and cut and paste the newly generated SSL cert to a file locally.

From there I go back to the IIS management MMC, run through the whole process again but this time choose to process the pending request.

That is normal. For me it would seem that nothing is normal – I blame it on the Season finale of Lost. It didn’t work. Said something about that’s a load of old cobblers and to kindly go away.

The fix is this;

  • Right click on the “Default Web Site”
  • Choose New > Choose Web Site…
  • Go through all the stuff and make a new site.(Dont’ worry too much about the details. At this point we’re beyond caring)
  • Now that the new site is up, you need to generate a new SSL cert request.
  • Follow the steps above except to generate a new cert rather than renew.
  • During this process, make sure you have identical details to your old cert i.e. friendly name etc.
  • Again follow the steps above where you login to the issuing companies site, click on REISSUE the SSL cert.
  • Cut and paste the new cert you just generated into the site.
  • Wait for the them to come back to you with a new cert.(again feel free to hassle the tech support ppl)
  • Bring that down to a file locally.(this is all sounding familiar isn’t it)
  • Go back to the new site we just created and process the request. Hopefully it will take it this time!!!
  • Voila! we’re done.

So that’s all well and good but now we need to get that certificate on the REAL site.

  • Go back to IIS management.(you’re probably already there)
  • Go to your site.(probably Default Web Site)
  • Right Click > Properties > Directory Security > Server Certificate.
  • Click Next, then click on Replace the current Certificate.
  • Browse to that file you installed on the other new web site.
  • Really that’s it. It should take it just fine and you can now go and make a cup of coffee, or maybe a beer.

Com+ error

May 5, 2009 by tipst3r

I doubt very much I will ever need this fix again but just in case (and for the benefit of anyone else who might come across this problem here the blurb…

I use an application for my clients called Encore. I had previously installed it on a client’s machine and then shipped it across the pond, only to find that Encore didn’t work. I remotely connected to the machine and had a look to find the following;

The Microsoft Distributed Transaction Coordinator wouldn’t work or more specifically Error 8004E00F. According to all sources that I had to search high and low for I needed to reinstall MSDTC. wonderful.

Anyway this is what I ran from a DOS prompt;

msdtc -install

msdtc -resetlog

That fixed it for me but of course it wiped out my previous settings. (which meant I had to reinstall Encore)

Apparently you can uninstall it by using this setting;

msdtc -remove

but I didn’t need to run that extra step. Just installing fixed my issue.

GPT Protected disk

April 2, 2009 by tipst3r

I bought a Seagate FreeAgent Desk external drive which admittedly said for Mac’s but I was told it would work with Windows by the sales clerk. Of course it would I thought and so bought it.
I just got it home and plugged it in. No pop-up appeared. Hmm that’s odd – perhaps they have gone back to the old unformatted drives I thought so I went to Disk Manager and checked it. Sure enough there was the drive but it had a small label saying it was Healthy (GPT Protected) and I couldn’t do anything. No deleting the partition, formatting or anything. Everything was grayed out.
After a quick search I found a neat tool that comes with Windows called Diskpart. So here’s what I did;

  • Ran from a command prompt the tool “Diskpart
  • When in Diskpart you want to list the drives to type “list disk“.
  • For me it came up with two disks. Disk 0 and Disk 2.
  • I typed in “select disk 2“.
  • it came back to me saying disk 2 had been selected. Great.
  • Then I typed in “clean“.
  • It confirmed it has succeeded in cleaning the disk and after I that I swapped back to Disk Manager and there was my disk all ready for a new partition to be created and formatted.

Et voila.

xxcopy

March 31, 2009 by tipst3r

OK so XXcopy – it’s basically xcopy but can cope with longer path strings than 255 characters. This is quite useful as most machines hit that limit.

Go to www.xxcopy.com scroll to the botttom, make sure you are using it for non-commerical use (otherwise I think you have to pay some money or something) and then download, and install.

The arguments are the same as xcopy so you should be able to hit the ground running. Great tool, plus it has a /clone function which I’ve yet to check out but sounds promising :)

Ping / Windows Firewall

March 19, 2009 by tipst3r

Problem : I’m on a network (same subnet) and I can’t ping a Windows XP Pro machine even from the server.

Solution : Go to Firewall settings (properties on NIC, Advanced Tab, Settings, Advanced Tab, (for the 2nd time), ICMP button). Tick the Allow echo request and that’s it.

If you want to be more specific to the NIC then before you click on the second Advanced tab, click on the NIC you want to configure and then click on settings. You’ll get more choices, like Remote Desktop, File and Printer sharing and also get the ICMP tab if you still want to get pings or not for the specific NIC.