Thursday, January 24, 2008

Creating A usb stick that can install XPSP2

Here are the instructions to create USB BOOT STICK.
this came frome microsofts technet site:

http://technet2.microsoft.com/WindowsVista/en/library/08629d0b-56b0-4194-9782-88d01a488ae01033.mspx?mfr=true

The first part of the article talks about setting up files from the AIK/OPK but
i had completed this previously. I want to prep the disk first then get the
files ready.

Microsoft says to use disk part for this work but this is a bad idea im my
opinion especially on a development machine: select the wrong disk
and issue the command "clean" and its all over. The reason that
microsoft chose to use the disk part tools is that it can do things that
the Control panel cant, such as make disk fat32 instead of fat.
Since I had previously used the usb stick for now the control panel
Computer Management tools are a better choice.
Select the Disk Management tool find the removeable usb stick and
quick format the stick.

if this stick was new i would find a computer that wasnt my developement
station and run :

diskpart
select disk 1
cleancreate partition primary size=
select partition 1
active
format fs=fat32
assign
exit

note: THIS ONLY WORKS ON VISTA! XP will not see a usb stick as a DISK, hence you can't
run "select disk 1" againts a usb stick.

And again not on a box that i use for my day to day work from.


Much of this came from the following posting:
http://www.vandomburg.net/installing-windows-xp-from-usb/

I have changed the directory locations for convenience.

1. I created the directory
C:\xpsp2
and copied the the contentents of the xp cd to this directory.

2. I created and another directory
C:\winxpsp2
and extracted the net install XP service pac to this directory.
That is opened the command shell changed to the directory listed above
and ran C:\temp\WindowsXP-KB835935-SP2-ENU.exe -x
This asked if I wanted to extract the files to this location and I clicked
ok. Note I had previous downloded WindowsXP-KB835935-SP2-ENU.exe
for another project.

3. I then run C:\winxpsp2>.\i386\update\update.exe /integrate:C:\home\josburn\xpsp2
and tada what I have already has the sp2 tada!
well i put the instruction in here for completeness I may
want to do this again and have install disk with out.




Thursday, January 10, 2008

removng the welcome screen

I was able to remove the welcome screen with help from Andre Da Costa[ActiveWin]:

1. Start Regedit.
2. Navigate through HKEY_CURRENT_USER, Software, Microsoft, Windows, CurrentVersion, Run.
3. Right click on the WindowsWelcomeCenter key and select Delete.
The next time you restart the Welcome Center will be gone.
This did the trick. however i still have the pesky image as above.

project to simplify vista oem boot process

The following of image(s) should not be seen:


taking owership of file in vista(yes vista)

To take ownership of the file, you'll need to use the takeown command.
Here's an example:

takeown /f C:\Windows\System32\en-US\winload.exe.mui

That will give you ownership of the file, but you still have no rights to delete it.
Now you can run the cacls command to give yourself full control rights to the file:

cacls C:\Windows\System32\en-US\winload.exe.mui /G geek:F

Note that my username is geek, so you will substitute your username there.
At this point, you should be able to delete the file. If you still can't do so, you

may need to reboot into Safe Mode and try it again. For the filename in the
example, I was able to overwrite it without safe mode, but your mileage may vary.