Wednesday, February 3, 2010

Win7 Installation - Planning

In the last post I mentioned that I want to install Win7 in the most complicated way possible:
  1. /Users on a Data drive (including Shared/Public/Common folders)
  2. Page file on  a FAT32 partition
  3. Hibernation file on a FAT32 partition
  4. OS on a NTFS partition
  5. /ProgramData on the Data drive
In this post I'm going to explore the various ways to move the user files to a data drive.

"Move" User Folders
Some people suggest to just move the "My Documents" folder to the Data drive.

I don't like this because it seems like a partial goal. Also you'd still end up w/ the Temp folder, the Temp Internet folder, your AppData folder and a few others on the OS drive which goes against the whole purpose of having all the user data on the Data drive (for ease of backup).

Change the Registry
Other people suggest that you install Win7 as normal with a throwaway user ID, then go and change registry settings to point the user profile folder to your other drive, then recreate your users.

http://social.technet.microsoft.com/Forums/en-US/itprovistasetup/thread/91aa8b26-2b09-4e56-955c-679b297832e1
(This link is a mishmash of different techniques)

http://joshmouch.wordpress.com/2007/04/07/change-user-profile-folder-location-in-vista/

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windows.vista.installation_setup&tid=1454df94-207c-4b75-95bb-9e92154d9827&cat=en_US_d02fc761-3f6b-402c-82f6-ba1a8875c1a7&lang=en&cr=&sloc=en-us&m=1&p=1
(This link is a pretty confusing set of forum posts. I think a lot of the questions and answers are interleaved within one comment post without the usual indentations to indicate a quote of a previous post.


I don't like this method of changing the registry because it seems like it's a lot of after the fact workarounds.


Symbolic Links / Junction Points
This one suggests to use junction points/mounts to redirect windows from where it thinks the folders are to where you actually want to put them.


This isn't too bad; from my Linux background I used a lot of links (both symbolic and hard). But, this is still not a real answer. Waving your hand and misdirecting the OS is just an illusion. I want the OS to really know that these folders are in a new location.

However there are still a number of apps out there that hard code their paths and I may have to use this in combination with the method below to accommodate those sub-par apps.


Unattended Installation
The real answer seems to lie with doing an unattended install. With this you can actually tell Windows where you want its special folders before doing a clean install of the OS.
Next post I'll get into the details of configuring an unattended installation...




Friday, January 29, 2010

Virus 3

A2Free died on me. Three crash windows were up when I checked on it. Oh well, I hoped the other apps did their job.

Next, I ran McAfee Stinger then some other random utilities (EZPcFix,  RootKitty) which I had no idea how they worked; the UIs on some of these free tools is a bit cryptic.

Looking at the rest of the utilities on UBCD4Win didn't seem like there was much else useful to run, so I held my breath and rebooted using my hard drive.

Everything looks ok; I can get to the anti-virus web pages now and can run anti spyware/virus utils without them locking up. I'm guessing this means I'm virus free once again.

So, on to the next task of installing Win7. See my next post for that.

Thursday, January 28, 2010

Future Topics

Here are some of the things I plan on doing and discussing here:


New OS Installation - Background

So, I mentioned that I plan on installing Win7 pretty soon. First, for purely "never give up" reasons, I'm trying to fix this virus I currently have. Once that's done with I want to move to Win7 64-bit.

Of course I'm going to do a clean install. So, no big deal, I've installed it at work a small handful of times already; it's a simple smooth install. Why bother blogging about it?

Because I am unable to just do things the simple way. Customization is my middle name.

When I built this PC (back in Jan '07) I wanted faster application response. After reading many articles, I decided the best (with limited budget) way to do this was to have one fast drive as the boot drive (WD Raptor 74GB, 10k rpm) and a bigger, but slower drive to hold data (Seagate Barracuda 400GB 7.2k rpm). (This was the best one could do in the pre SSD days without hassling with RAID.)

After using it for two years it doesn't really seem to have paid off. I still have to wait agonizingly long for the PC to finish booting and to launch new app, and especially to switch between users. This may be the infamous Windows cruft that accumulates after three years of use and installing too many utility apps.

Nonetheless, for my Win7 upgrade I'm going to do it again.

On XP I never did manage to completely get all the user data over onto the data drive. Unlike linux where you can specify which partition to use for the various root level folders, Windows gives you no such opportunity to say that you want "Documents & Settings" on the D: drive. The best I did, after the users were created, was to move the "My Documents" location for everybody. Really that's 90% good enough. However you do end up with the odd scenario where you drag a file from "My Photos" onto your desktop and it does a copy instead of a move.

With Win7 I want to do this right from the installation, not as an after fact.

I also want to have the page file and the hibernate file on a different logical drive/partition formatted with FAT32 vs the OS partition as NTFS.

to be continued...

Virus 2

That night I come home and my wife tells me that the PC is effed up again. I went upstairs and it was locked up. Reboot and it's much the same situation as before. This time I notice in the registry that there's stuff with "extrac64_cab.exe" and "winhlp64.exe"

I'm running Win XP Sp3 32-bit, so any file that implies it's for a 64-bit OS is lying on my machine. Crap. More viruses to get rid of.

I do the same stuff as yesterday: safe mode, run Mbam which locks after a while, run SpyBot which locks after a while. Now I'm starting to get royally effed by this/these virus/malware apps.

At work the next day, I made a bootable CD using UBCD4Win. (Which I ended up using at work to help my boss reset the Admin password on an old PC we were reusing.)

That night I started my PC up using that boot CD and ran Mbam, SpyBot and A2Free.

We'll see how that's going when I get home tonight.

Wednesday, January 27, 2010

Virus!

My home PC has become infected with a virus, "Malware Defense". Being a manly man and all I don't run an active virus scanner; slows down the computer too much and I know better so as to not get a virus. Crap!

Maybe it's better classified as malware, not a virus (obvious from it's name, no?). It doesn't seem to do anything much to affect my daily activities (email, surfing, flash games). What it does is prevent/redirect my browser (chrome) from displaying any anti-virus/spyware pages.

Fortunately, I have a netbook in the house (Asus Eee PC 900A), so I used that to go to the removal pages and download a few tools (Malwarebytes Anti-Malware).

My home PC is still running Windows XP (currently prepping it to move to Win7, but that's a future post). I booted into safe mode, removed a bunch of reg entries manually (following those listed on the removal page), ran the Mbam tool and all looked good.

I rebooted and it looked ok; I could hit those web pages. So, that was that for the night.