Windows

All posts tagged Windows

You will need min. 2 certs.. your certificate key and crt… optional you can also add your cacert.

openssl pkcs12 -export -out certificate.win.pfx -inkey certificate.key -in certificate.crt -certfile cacert.pem (or .crt)

This will ask you to add a passphrase on this..I suggest you do as this holds everything including your private key.

Upload this pfx file to your windows machine..then open mmc add/remove snap-ins.. select certificates either computer local machine or service account and choose what service your needing.

 

Haven’t done this in a while, but got to fix my mothers computer this evening and needed to reset her login password to Windows.

1).  Download System Rescue CD or Partition Magic

2). Burn & Boot computer off that CD. Leave everything defaulted, just hit enter when prompted.

3).  At prompt, you will need to find out what partition Windows is installed on.  Default is probably /dev/sda1, however this one wasn’t .  Use fdisk -l to find the valid disk device names, chances are if it’s not the sda1, it will be sda2

4).  % ntfs-3g /dev/sda2 /mnt/windows

5). cd /mnt/windows/Windows/System32/config

6). chntpw -l SAM  ( this will list all the valid users on Windows)

7).  chntpw -u Administrator SAM

select 1 for “Clear (blank) user password  <enter>

type y to write changes to disk and that’s it.

8).  Might not be necessary, but it’s not going to hurt and not doing it just may hurt the disk..

% cd ; umount /mnt/windows

Remove CD and reboot.  Windows should no longer prompt you for password… 

9).  Good idea to re-add your password in Windows.

 

I use Virtualbox on my Linux box that runs a virtual WinXP guest, primarily only used for the Outlook client as we use Exchange for email. I was constantly running out of space on the system drive c:\ as I only created a 10GB drive. Thinking I was going to have to re-do the entire XP installation to get a bigger disk, I’ve really been putting it off . However today, I found a howto guide that expands it without losing any data. This worked great, zero issues. Here’s a link to that howto. Uses gparted, pretty slick..

http://www.my-guides.net/en/content/view/122/26/

Update: So tried the clonehd method, and both are pretty much the same…where clonehd is doing the smaething as the copy is in gparted. I’m on the fence with what one is actually better, as I thought they both took about the same amount of time.. Here’s the instructions I used.

http://trivialproof.blogspot.com/2011/01/resizing-virtualbox-virtual-hard-disk.html