Windows chkdsk Log

The Windows chkdsk log takes quite a long time to run. You’ll probably want to run it overnight. After the chkdsk runs, a summary screen appears for a while and then disappears as Windows boots up.

To find out the results and to see if chkdsk found any errors, look in the “Event Log” and under Applications -> “Wininit” you will see the chkdsk results :-)

 To create a chkdsk, in “Computer”, right-click on the Disk Drive, Properties, Tools, Check.
To find the “Event Viewer”, inside the Control Panel is Administrative Tools -> Event Viewer
Running a chkdsk can solve many problems such as when a file/folder cannot be removed, or if a program can/can’t be (un)installed. In my case it prevented Vista SP2 from being installed.

Ref: http://www.tomshardware.com/forum/2172-63-win7-chkdsk-file-location
( event viewer, applications, under “wininit )

Posted in IT | Tagged , , | Leave a comment

Notes: windirstat & wireless repeater

To find the files and folders taking up the most space on your computer, google for the following and download. It does require a quick install, but when installed, works very well.

  • windirstat

——————————–

If you have an old Eircom Netopia Router, you should be able to set it up as a Wireless Extender. See the how-to at:

Posted in Broadband, IT | Tagged , | Leave a comment

Reset Windows Passwords for Vista, 7, and 2008 Server

Logo image for resetting forgotten passwords for Windows Vista, 7 and 2008 ServerOn one of my VMs with Windows 2008 Server, I needed to reset the Administrator password. A quick google led me to a very nice little trick. This also works for Windows Vista, Windows 7 as well as on Windows 2008 Server.

The trick involves booting from a Windows CD, getting to a repair Ease of Access icon button, which is used to launch a command prompt to change the windows passwordCommand Prompt, replacing the utilman.exe file with cmd.exe, booting Windows up as normal, and then clicking the “Ease of Access” button on the login screen to bring up a Command Prompt to issue: net user administrator newpassword

What you need to reset the Password

  • A Windows installation DVD (or reinstallation DVD)
    (If you have Vista installed, you’ll need a Windows Vista DVD. If you have Windows 7, you’ll need a Windows 7 Microsoft DVD).

Reset the Windows Password

  • Image of the Repair Windows Option, where you can choose the Command Prompt which will let you change the utilman.exe to the cmd.exeInsert the Windows installation DVD
  • Reboot the PC and boot from CD/DVD
  • Choose “Repair”. Under the Repair menu, look for “Command Prompt”.
  • In the Command Prompt, issue the following commands below:
c:
cd\
dir
#(You should see some folders listed. If you don't see Windows, change to the d: drive. d:)
cd Windows
cd System32
move Utilman.exe Utilman.exe.bak
copy cmd.exe Utilman.exe
  • Reboot the PC and start Windows
  • Click the “Ease of Access” button on the bottom left (or press Windows + U)
  • In the resulting Command Prompt window, issue the folllowing:
net user administrator newpasswordhere
#(to list all local usernames, just type "net user")
  • Close the Command Prompt and Login :)
  • Rename and move the files (utilman.exe) back.

Further information: youtube has many videos showing a step by step process. See: http://www.youtube.com/watch?v=Ar-VoO9ogHc

This above method helped me quickly reset the Windows Password without having to go making a special boot CD such as the Offline NT Password and Registry editor.

Posted in IT, Security | Tagged , , | Leave a comment

SEO tweaks using mod_rewrite to prevent duplicate content being crawled

Over the past few years, with the rise in popularity of using no-www there have been some issues where content is getting crawled by a search engines twice, and in some cases getting a negative scoring due to duplicated content. I.E. Accessing a website using http://www.site.com and also http://site.com

More recently I’ve come across the fact that http://www.site.com/index.html and http://www.site.com/ (just ending in a trailing slash) are been indexed twice as separate pages, and also getting a negative score due to duplicated content.

I’m sure search engines are getting more intelligent and not negatively scoring websites for these oversights, however I said I’d use mod_rewrite for the Apache webserver to overcome these issues.

vi .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
RewriteRule ^$ http://www.domain.com/index.html [R=301,L]

In your apache vhost config, you may have to change “AllowOverride None” to “AllowOverride FileInfo” (more fine grained and safer than going AllowOverride All).

So the above mod_rewrite code rewrites http://domain.com to http://www.domain.com/index.html It also rewrites http://www.domain.com/ to http://www.domain.com/index.html
This was for a recent web design project for a simple static website. Your mileage may vary, so if you use the above, make sure to test thoroughly.

 

Posted in IT, Web Design, Web Development | Tagged , , | Leave a comment

Remove a Preferred Network from the Dell Wireless Utility

An information sheet on how to remove a Preferred Network from a computer with a Dell Wireless Utility on Windows XP. Link to Document

Posted in Broadband, IT | Tagged , | Leave a comment