How To See Which Windows Updates Are Installed

The company I am working for recently sent out an email asking us to install three updates. They made them available on a file share, but over the VPN, access is hideously slow. So I wanted to see if three service packs were already installed on my computer. I googled this and got nowhere fast. I hate to keep beating a dead horse, but Google is horrible sometimes. Anyway, you just go to Control Panel, select Add or Remove Programs, and then check the “Show Updates” check box.

Add Or Remove Programs

Windows Vista Using Network Printer on Windows XP

I’ve put Vista on both my son and my wife’s machines now and I like it. It looks really nice and has a lot of nice UI innovations. I am not a big MS fan per se, but I’m not an irrational hater either. Anyway, the first real annoyance I’ve had (actually, the second — counterstrike doesn’t have sound) was trying to use the Canon MP830 connected to my XP box from a Vista box. I wasted about an hour on this. You get an error trying to install the print driver when it prompts, apparently because the XP driver won’t work on Vista. You can’t make the Vista driver available for download from the XP box (they need to patch that ASAP). What finally worked was getting the Vista driver from Canon and installing it on the Vista machine. Then go to printers, add local printer, pick new port, click next, and then type in the UNC of the printer, EG \\hostname\printersharename. I did not come up with this myself but I wanted to improve it’s page rank so here’s the link.

Windows HTTP Subversion Install

PS (04/04/2009): Just use VisualSVN Server — it takes all the pain out of installation

——————————————————–

I wrote this several months ago after spending more time than seemed reasonable getting subversion running.  Enjoy…

 Install Apache 2.0 (not 2.2): http://httpd.apache.org/download.cgi
Select public on port 80 option.  If you already have a web server running, you will get an error.  Ignore.
After install completes, Select Program|Apache|Configure|Edit..config
Change Listen 80 to Listen 8080 (or some other port), save, and restart the service using the apache feather icon in the tray
If nothing shows up in tray, run this: “C:\Program Files\Apache Group\Apache2\bin\apache” -k install -n “Apache2” and then you will see it in the tray.
Surf to http://localhost:8081/ to verify apache install

Install Subersion: http://subversion.tigris.org/files/documents/15/31465/svn-1.3.1-setup.exe

Install Tortoise: http://tortoisesvn.tigris.org/

Edit httpd.conf again and add this at the end:
<Location /svn>
  DAV svn
  SVNPath C:\SubversionRepo
</Location>
where /svn is the virtual (web) path you will use to access the repository and C:\SubversionRepo is the local filesystem path to the repository.  Restart the Apache service.

Verify that you can access the repository via http by opening windows explorer, right clicking, selecting TortoiseSVN|Repo-brower.  Type in http://localhost:8080/svn.  Right-click the top level and select Create Folder.  Enter TestApp and press OK.  If the folder creates, everything is working OK.

Now, the final step is to add digest authentication to Apache.  Open httpd.conf and uncomment this line:
LoadModule auth_digest_module modules/mod_auth_digest.so
Next, add the following lines (subbing in your own “domain” EG AcmeSoftware) to the <Directory “C:/Program Files/Apache Group/Apache2/htdocs”> secion:
  AuthType Digest
  AuthName “domain”
  AuthDigestFile “C:\Program Files\Apache Group\Apache2\passwd\passwords”
  Require valid-user

Now, you must use the command line to add users and passwords.  First, create the following directory: C:\Program Files\Apache Group\Apache2\passwd.  When adding the first user, run the following:

“C:\Program Files\Apache Group\Apache2\bin\htdigest” -c “C:\Program Files\Apache Group\Apache2\passwd\passwords” domain username

For subsequent users, remove the -c or you will recreate the file and lose the first user already stored in the file.  Now, restart Apache, browse to the repository using TortoiseSVN from Windows Explorer.  You should now be prompted for a user id and password.  Check “save authentication” to avoid being prompted for every access to the repository.  Even after you check this the first time, you will get prompted one more time on your next access to the repository.

You can do everything you need to do to manage the repository via TortoiseSVN.  Don’t get distracted by other things like WebSVN, Cygwin, Ankh (which is slow and buggy) or anything else.  Subversion + TortoiseSVN = complete solution.

If you do not have a static IP and you want to access your repository from remote locations, visit DynDns.com.  If you are behind a NAT router, you can probably configure your router to forward all incoming requests on the port you specified in the steps above to a specific private address.  Note that if you are using DHCP to assign IP private addresses to your computers, you will need to reserve a specific private address for the machine hosting SVN.