Archive for category Vista
Installing Subversion on Windows
My requirements are to host the repository on a windows machine, mostly for access from the LAN but also to be accessible over the Internet. The server is running Vista but the install and set up process should be similar on other versions of windows.
Currently there are two relevant builds of Subversion, one based on apache 2.0 and one based on 2.2. I am going to install Apache 2.2 and the corresponding Subversion build.
Install the Apache HTTP server.
Download and run the latest subversion build (currently svn-1.4.6-setup.exe) from http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=91
Copy the file mod_dav_svn.so from C:\Program Files\Subversion\bin to C:\Program Files\Apache Software Foundation\Apache2.2\modules.
Open the Apache configuration file (‘Start > All Programs > Apache HTTP Server 2.2 > Configure Apache Server > Edit the Apache httpd.conf Configuration File’) and find the line ‘#LoadModule dav_module modules/mod_dav.so’.
Remove the ‘#’ from the front of that line then add the line ‘LoadModule dav_svn_module modules/mod_dav_svn.so’ below it. Save the file and restart the service to confirm everything is working as it should.
Create the directory where you want to store the repositories (e.g. D:\Svn).
Go back to the Apache configuration file and at the end of the file add:
<Location /Svn>
DAV svn
SVNListParentPath on
SVNParentPath D:\Svn
</Location>
Save the changes then restart the Apache service for them to take effect.
You should now be able to browse to http://localhost:81/Svn/ and see a page with zero repositories.
Installing Apache HTTP Server on Windows
I am setting up a machine to host Subversion. My preference is to use Apache as the HTTP server. The server is running Vista but the install and set up process should be similar on other versions of windows.
Download
The latest Apache build (currently apache_2.2.9-win32-x86-no_ssl-r2.msi) from http://httpd.apache.org/download.cgi
Install Apache
Run the installer and follow the instructions. Enter the server name under ‘Network Domain’ and ‘Server Name’, enter an email address and leave ‘for All Users’ selected.
Navigate to http://localhost/ and you should see the text ‘It works!’.
I prefer to run IIS on port 80 and Apache on 81. If you already have IIS installed and running you may not have got the ‘It works!’ page but rather an IIS page when running the test above.
Change to Port 81
‘Start > All Programs > Apache HTTP Server 2.2 > Configure Apache Server > Edit the Apache httpd.conf Configuration File’
Search for ‘Listen 80′ and replace with ‘Listen 81′
Save the conf file and restart the service from the services console then browse to http://localhost:81/ to confirm it works.
Create a Password File
Open a command prompt at C:\Program Files\Apache Software Foundation\Apache2.2.
Create a password file by entering ‘bin\htpasswd -c passwd username‘ and enter and confirm the password when prompted.
Add any further users with ‘bin\htpasswd passwd username‘.
Edit the Apache httpd.conf configuration file and change:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
To:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
AuthType Basic
AuthName “Subversion Repositories”
AuthUserFile passwd
Require valid-user
</Directory>
Restart the Apache 2.2 service and confirm you are asked for a username and password when you navigate to http://localhost:81/.
You may need to amend your firewall to allow connections from port 81.
Vista “Windows Complete PC Restore” fails with “No valid backup locations could be found”
There is an issue with Vista complete PC back up and restore if you are restoring to a clean system from more than one DVD or CD. It appears that the catalogue is stored on the last disc in the back up set but this appears to be undocumented.
This means when you run your Windows Complete PC Restore, either from Vista or by choosing repair your computer during an installation, and insert the first disk of the back up when asked to insert the backup media you get the message “No valid backup locations could be found” which initially is just a bit worrying.
If you insert the last disk of the backup set, the catalogue is found and you can choose the backup and the backup options you want. When the backup starts you will be asked to insert the first disk.
Run this program as program as an administrator
Posted by John in Vista, Visual Studio on June 29, 2007
Vista will try and run most programs without admin rights even if you are signed on as an admin. Some programs such as Visual Studio need admin rights so it is worth setting them to always run as administrator.
Confusingly, looking at a shortcut’s properties, the compatibility tab has an option to “Run this program as an administrator”. This option is greyed out:

To set the shortcut to run as administrator go to the shortcut tab > click on Advanced… > check Run as administrator:

Vista Install Blank Screen
Trying to install Vista on a machine and getting a blank screen after one of the reboots?
This could be caused by an incompatible display driver. I solved this problem by:
- Reboot the machine and hit F8 to get the Windows boot menu.
- Select Safe Mode with Networking.
- Vista will boot then will complain that it cannot continue with the installation in Safe Mode. Do not hit OK!
- Press Shift + F10 to get a command window.
- Run Device Manager by entering ‘devmgmt.msc’.
- Right click the video card and select Update Driver.
- Choose ‘Select a Driver’.
- Select ‘Choose from a list’.
- Click on the generic VGA driver and hit Next to install it.
- Close the wizard, close the Device Manager, close the command prompt.
- Click OK on the installation message and Vista will reboot.
- Finish the install, create a restore point, then install the correct video driver.
This page has an unspecified potential security risk.
With Vista (and probably XP and IE7) right clicking on a zip file on a network share brings up an Internet Explorer dialogue:
This page has an unspecified potential security risk. Would you like to continue?
It appears that the OS thinks that your network share is in the Internet Zone rather than the Intranet Zone. This is easily fixed by:
- Control Panel > Internet Options > Security.
- Select Local intranet > click Sites > Advanced.
- Type your server name into the textbox (e.g. If the server is called FileServer just type FileServer) and click Add.
- Click Close > OK > OK.