ZAVCXL0005 - Windows

From miki
Revision as of 18:55, 10 June 2015 by Mip (talk | contribs) (→‎Essential)
Jump to navigation Jump to search

Introduction

This is the configuration page for the Windows 7 partition on ZAVCWL0035.

Configuration Files

All configuration files can be found here.

Installed Applications

Common applications

See Common configuration for Linux.

Essential

Outlook (package)
  • [YYYY-MM-DD] Update to vX.Y
  • Michael Peeters
  • michael.peeters@st.com
  • Server: Safex1.mail1.st.com
  • Username: michael.peeters@st.com
  • Use Cached Exchange mode
  • Mail to keep offline: 3 months
  • More settings: Data file:
Application (package, repo Repository)
sudo apt-...
Application (package)
  • [YYYY-MM-DD] Update to vX.Y
  • TBC

Local

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

Uninstalled

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

P2V

  • Resize C: / /dev/sda1 partition to 60GB using gparted.
  • Delete BCD partition /dev/sda2.
  • Create raw partition disk:
sudo dd if=/dev/sda of=vm.mbr bs=512 count=1
sudo install-mbr -i n -p D -t 0 vm.mbr            # Certainly useless since we'll repair the boot with Win rescue disk
sudo vboxmanage internalcommands createrawvmdk -filename zavcwl0035-sda1-mbr.vmdk -rawdisk /dev/sda -partitions 1 -relative -mbr vm.mbr
# This creates 2 files: ...-mbr.vmdk, and ...-mbr-pt.vmdk

Create VM:

  • Mount zavcwl0035-sda1-mbr.vmdk
  • Set hard-disk as Solid-state Drive

Boot VM with Ubuntu Live CD:

  • In Gparted, delete all partitions but /dev/sda1, and set boot flag.
This is needed to have Windows Repair Disc detect correctly the windows installation.

Boot in windows repair. Now it detects the partition. Let repair and restart. Boot again Windows repair disc. To skip automatic recovery, select restore image, then next, then cancel twice. Open a command prompt:

mountvol             # Show a single volume C: (+X: and D: from the current boot)
c:
bcdedit /export C:\BCD_Backup
ren C:\boot\BCD bcd.old
bootrec /rebuildbcd

... and say Y when asked to add installation to boot list. Reboot, press F8.

Boot normally: Windows boots but we get a blue screen that quickly disappear. Go into advanced boot options by hitting F8 at boot, and choose Disable automatic restart on system failure. We see the message:

A problem has been detected ...
...
Technical information:

*** STOP: 0x0000007B (0xFFFFF880009A9928, 0xFFFFFFFFC0000034, ...)

When started in safe mode, several drivers are started, and stops at CLASSPNP.SYS.

Boot linux livecd, then delete all occurences of AGP440.sys and intelppm.sys.

Boot Windows repair cd, import into registry:

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\remote_SYSTEM\ControlSet001\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0000]
"InfPath"="mshdc.inf"
"InfSection"="msahci_Inst"
"ProviderName"="Microsoft"
"DriverDateData"=hex:00,80,8c,a3,c5,94,c6,01
"DriverDate"="6-21-2006"
"DriverVersion"="6.1.7600.16385"
"MatchingDeviceId"="pci\\cc_010601"
"DriverDesc"="Standard AHCI 1.0 Serial ATA Controller"
"Migrated"=dword:00000001
 
[HKEY_LOCAL_MACHINE\remote_SYSTEM\ControlSet001\Control\PnP]
"DisableCDDB"=-
 
[HKEY_LOCAL_MACHINE\remote_SYSTEM\ControlSet001\services\atapi]
"Start"=dword:00000000
 
[HKEY_LOCAL_MACHINE\remote_SYSTEM\ControlSet001\services\msahci]
"Start"=dword:00000000

Reboot... it boots! Let's shutdown w/o logging... it boots again! Yeehaa!!!

To get administrator access, first install chntpw:

  • Either enable universe repository on ubuntu live cd (edit /etc/apt/sources.list
  • Or copy package

Then

cd /media/ubuntu/OSDisk/Windows/System32/config
chntpw -l SAM
chntpw -u SysAdmin SAM
cd
sudo umount /media/ubuntu/OSDisk

System Settings

1st install
  • (temporarily) reset SysAdmin password (using chntpw) and then set password.
  • Install Virtualbox additions (no Direct3D support)
  • Disable hibernation - Hibernate not supported, so we simply delete hiberfil.sys (first edit security permissions)

→ used space: 34.110.431.232 (31.7GB)

  • Turn off system restore (computer → properties → system protection)
  • Clean up disk C: drive (service pack backup 500MB, queued error reporting)

→ used space: 28.867.043.328 (26.8GB)

  • Disable paging file (was set to Automatically manage paging file size for all drives)

→ used space: 22.665.486.336 (21.1GB)

Tuning
  • 1st Disable Windows Search
    via Control PanelPrograms and FeaturesTurn Windows features on or offWindows Search

To Do

Issues

  • To Do — Disable Remote Assistance (System properties → Remote)?
  • To Do — Uninstall McAfee Endpoint Encryption
  • To Do — Install MS symbols for Process Explorer [1]
  • To Do — Disable igfxCUIService Module because it crashes (see Action Center)
  • Issue — To be completed

Done & Fixed

  • Fixed — Issue description
    Fix description
  • Done — Description