Wednesday 2 September 2015

Choosing OR Automated Selection Finding the Right Windows 8.1

So you upgraded to 10 and wana downgrade to 8.1 or you just set up an 8.0 machine and your thinking theirs gotta be a faster way to get 8.0 right up to date with 8.1?

First remember Microsoft now allow users to download almost every Windows 8.1 (that's legal for the public) but clearly that's a lot of downloading just to find the right OS, you could use PIDGEN to determine your exact version of windows 8 or 8.1 (then use the windows 8.1 media creation tool to download an 8.1  (your 8.0 key will work with the 8.1 download) as long as you pick the right version,  IE,  Core, CoreN  (sadly you can't download the 8.1 with Bing  AKA CoreConnected  (unless you torrent a few ISO names)

How i built my 8.1 DVD and made Picking an OS  "Optional"
Ber in mind it is LEGAL to download windows 8.1, install it with NO serial number.. then go to Update and click Buy Product Key  (online) so it is worth having an 8.1 disk where you can PICK the version you want to install, and yet have a version that can Detect a Bios AND a Manually entered key..  heres how...

Download
Windows 8.1 CoreN  x86  and x64
Windows 8.1 Core Single Language  x86  and x64
Windows 8.1 Core  x86  and x64
(you only need them 3 legally speaking, don't download pro as it installs as Core and then wants Pro upgrade key.. so downloading pro will involve 2 keys and 2 activations, thats messy)
if you wish to download and add Enterprise, Enterprise N, CoreConnected and CoreConnected SL from a torrent  (then that's your choice)

So far (in the order of size & tidiest way to merge them) you have CoreN, CoreSL and Core

Number them like this

01 Windows 8.1 CoreN (x86)
02 Windows 8.1 Core Single Language (x86)
03 Windows 8.1 Core (x86)

make a COPY of CoreN and Name It

04 Windows 8.1 Professional N (x86)

 (open this copy in a WIM manager like Win ToolKit)

Click mount the image, once mounded, select  Upgrade Image (and select Professional)

Un mount saving changes... Do that for the 01, 02, 03 cores, and you'll have 3 pro's that install AS Pro!! (now giving you 6 versions rather than 3)

Now, make a Copy of Each Pro.. give them the name Professional WMC, mount each one and do the upgrade image to Professional WMC

Now (with them numbered and what not) and if you downloaded enterprise or what ever

Make a "copy" of CoreN x86  WIM file and call it install.wim

Then Microsoft Tool Kit, select Wim Manager and Import the x86 wims one by one in the order they should be from number (and save / rebuild WIM)

Then import the x64 wim files, when its finished select Rebuild
    and you will have them ALL within 1  install.wim
(optionally you can use   ESD2WIM-WIM2ESD-dism   to crush it into an ESD and save up to 1.2GB)
  SetUp from  ESD is only compatible with windows 8 or Higher...

Unlike windows 7, to be able to select a Windows 8.1 you actually need an ei.cfg file inside the disks Sources folder with the following information

[Channel]
Retail

[VL]
0

That forces the setup exe to list all the images inside the WIM or the ESD

If you don't have that  ei.cfg file in the sources folder then setup.exe WILL look at the motherboard for a Serial number in the Bios  (if it finds one it'll OK your key) and offer you an x86 or x64 for your serial. (thus guaranteeing your activation is easy and legal)

With the     EI.CFG    file in place
Remember the media creation tool downloads can take 8.0 or 8.1 keys so letting the setup exe and bios work with the WIM or ESD can find the exact version that was shipped with the system.

It Knows the Exact version of 8.1 your Product Key is designed for
It checks every WIM you imported into the one file against the SKU and product key
     then offers BOTH 86 and 64 for that specific OS...

OR you can have the EI.CFG    "INSIDE"   the sources folder and Choose an OS..
    (remember this is legal as they need a key and activation within 30 days)


Note that RWPortable WILL run in a PE setup environment, so if you stuck that in your rout, then before clicking Install you held Shift and pressed F10 to open a command prompt and typed   C: and hit enter (then typed RW and hit enter)  you could poke about the bios for the systems slick key (but that only gets you the key) Sadly the likes of PIDGEN wont run properly under PE environments.

BUT You could let setup.exe and your wicked ESD do the job for you by simply removing the CFG file to let setup find the motherboards product key.

For this i have created my own CMD file that is inside the root of my USB (the source i mainly restore 8.1 onto systems with)  sometimes i learn it was a windows 7 system, so the user is then forced with 2 legal choices.. put the right 7 bk in (get free upgrade to 10) or buy 8.1, a choice of which i can offer in hand with a Clean install of any legal os..

My CMD file looks On my USB for the ei.cfg,  If it finds it it warns me its in place and asks if i wish to remove it (and vice versa when its been removed)

Here it is running where i can choose an OS the user would later have to purchase

Detects the file and within windows you can see the file
It will then offer you these choices
After Deleting the file i get this screen
Now if offers the option to restore it and recheck for it
To begin with you need the  ei.cfg in your sources folder and a copy of it called ei.bak

then my script called   CheckKey.cmd   (placed in the root of your USB)

@echo off
TITLE    Windows 8.1 Version Select - Enable and Disable Script
color C
@echo off

:START
:Checking For The Product Key and Version Config File
IF NOT EXIST %CDROM%\sources\ei.cfg goto MENU2
IF EXIST %CDROM%\sources\ei.cfg goto MENU1

ECHO.
:MENU1
cls
color 47
ECHO.
ECHO.
ECHO  The Product key (ei.cfg) file has been detected in sources folder.
ECHO.
ECHO With the existance of EI.CFG, Setup.exe Can't check the Bios for Embeded KEYs
ECHO  EI.CFG also stops you Manually Entering your KEY Until After Setup
ECHO.
ECHO With that factor in mind (without ei.cfg) you Can let setup.exe
ECHO  A - Auto Detect Machines Bios SliC Key (Jumps to architecture choice)
ECHO  B - Allow You Manual Entry Of Product Key (Jumps to OS and architecture choice)
ECHO The product key, ESD and Setup auto defines which 8.1 is Valid for that key
ECHO.
ECHO   If Setup accepts the Product Key you will see both x86 and x64 for the
ECHO  8.1 Release the Product Key is valid for, be it Core, CoreSL, Pro, so on..
ECHO.
ECHO  This guarantees Genuine Activation on Windows 8.0 or 8.1 Hardware
ECHO  Setup.exe and the install.esd are both set to identify OEM and RETAIL keys.
ECHO.
pause
cls
ECHO.
ECHO.
ECHO  Do you wish to remove the EI.CFG file and have setup Auto Select an 8.1 by Key
ECHO   Or go with the Manual OS Selection for later Activation on your hardware?
ECHO.
ECHO       =======================================================
ECHO          PRESS Number then Hit Enter to select your option
ECHO       =======================================================
echo.
ECHO  1 - Remove EI.CFG and let setup attempt Key Identification (recomended)
ECHO  2 - Leave EI.CFG and Manually Select an OS (not legally recomended)
ECHO  3 - Re-Check for presence of EI.CFG
ECHO  4 - Exit and do nothing
ECHO.
SET /P M=Type 1, 2, 3 or 4 then press ENTER:
IF %M%==1 GOTO REMOVE
IF %M%==2 GOTO CLOSE
IF %M%==3 GOTO START
IF %M%==4 GOTO CLOSE

:MENU2
cls
color A0
ECHO.
ECHO.
ECHO.
ECHO  The Product key (ei.cfg) file has Not Been Detected in the sources folder...
ECHO.
ECHO   With the existance of EI.CFG Setup.exe does Not Check for a Product Key
ECHO    So you will be asked later for one (before you can activate)
ECHO.
ECHO.
ECHO   With that factor in mind, with ei.cfg present you can select any 8.1
ECHO  1 of 16 versions in x86 and x64, but be weary there are 3 versions of core
ECHO  Working out the exact OS SKU for your Product Key is easier without the EI.CFG
ECHO.
pause
cls
ECHO.
ECHO.
ECHO     Do you wish to restore the EI.CFG file and Manually Select an 8.1
ECHO   Or go with the Key Auto Selection for Genuin Activation on your hardware?
ECHO.
ECHO       =======================================================
ECHO          PRESS Number then Hit Enter to select your option
ECHO       =======================================================
echo.
ECHO  1 - Restore - EI.CFG file (not legally recomended)
ECHO  2 - Re-Check for presence of EI.CFG
ECHO  3 - Exit leaving Product Key check in place (recomended)
ECHO.
SET /P M=Type 1, 2, 3 then press ENTER:
IF %M%==1 GOTO RESTORE
IF %M%==2 GOTO START
IF %M%==3 GOTO CLOSE

:RESTORE
copy %CDROM%\sources\ei.bak %CDROM%\sources\ei.cfg
cls
goto START

:REMOVE
del %CDROM%\sources\ei.cfg
cls
goto START

:CLOSE
exit

Then on the SetUp screen , be it choose Language, Region or the Big INSTALL button
you just Hold  SHIFT.. press F10 and type that C:  and hit enter

I have  TYPED    C:     then hit enter
WHEN IT CHANGES TO   C:\    type   CheckKey  and hit enter






Its main downside is you MUST  change to the USB path to run it..  I did put it into the boot.wim, so you can just type checkkey at the X:\sources    and that worked, but clearly it fails to accomplish a valid  IF EXISTS or IF NOT,  i did try running it also with the option to SETPATH
but that broke all access to cmd DEL and other aspects.
tbh its to much of a headache tryna remember the simple bits (when ya doing everything else to)
so alas.. one will have to type  C:  and hit enter before typing  checkkey.. shucks  lol

Ps
you could have 2 or 3 back up Configs,  then have a menu that will offer to remove, or restore an OEM, RETAIL or VLK  ei.cfg  ;)

Just remember, Legally speaking just picking your OS and running an activator isn't legal... but just picking the OS you fancy from a menu (then you use the buy key option and activate legally is)

This concept of CheckKey gives a VALID reason to own an A.I.O disk for servicing multiple machines in the I.T environment.


Monday 17 August 2015

How To Really Get The FULL DirectX Offline Package?

This has bugged people for years, getting that stupid web installer OR even getting the so called Complete REDIST..  but what if you made your own Redist version that covered just about everything... Including that random April 2006 file that seams to come down outa no where. yet clearly Requiring Internet Access at a later date?
Ok this is boring to do, yet super simple, so simple its crazy...
First you download ALL the "full" redist versions they have to offer

you will end up with a stack of files ""DATE them by name as you save them""

Hit this link and look at the file names (there are 2 pages of files)


files that have names that look like this!!!
(there are WAY more than i am showing here)
DirectX End-User Runtimes (April 2006) Full Download
DirectX End-User Runtimes (April 2007)
DirectX End-User Runtimes (August 2007)
DirectX End-User Runtimes (March 2008)
DirectX End-User Runtimes (November 2008)
DirectX End-User Runtimes (March 2009)
and so on....

Grab them all... that are spread across the 2 pages
just the redists with the MONTH and the YEAR in the link name


Make a folder called  DirectX, put the FIRST (earliest dated file in the folder)
right click on it and select Extract to Here (no extract option?, install WinRAR)

Extract each one Directly into the same folder in order of Oldest First
 your last Right file to right click should be at "least June or something 2015"

When asked to Overwrite files (say yes)  when your finished you should have a folder with a Few DLL files, the setup exe file AND a load of CAB files


REMEMBER EACH TIME YOU EXTRACT A FILE (DELETE OR MOVE THE FILE)
so you know that ones been added.. make sure you do them in order


The June 2015 setup exe works on XP, Windows Vista, Windows 7, 7(SP1) 8.0 8.1 and Windows 10

you now have a full DirectX 9 user package for off line installing  :D


I ended up with  162  files

1   EXE file

2   DLL files

159 CAB files



I also installed GTA Vice City and Operation Flashpoint
(Disabling the Install DirectX option on both)
just to test if that April 2006 cab wanted to download when i ran the "webinst" version of DX
and it never wanted the cab.. Full Pack Concept Complete!!

To install this silently?

setup.exe /silent

you could add it to  WPI using this command line

{START} "DirectXInstaller" /w /MIN "%wpipath%\Install\Runtime\DirectX\DXSETUP.exe" /silent

Note if you use  /S  it often either says setup complete (and you have to click ok)  or it shows you the license agreement and you have to tick it and hit next, so I advise the  /silent  switch.

also note the /Passive doesn't work, nor does the  /norestart
(but that doesn't matter as it doesn't reboot and silent makes it passive)

will also run fine from a setUpcomplete.cmd

%ROOT%\Path To Direct X\setup.exe /silent


The mini WEB Installer to update DX online is here

The DirectX 11.1 for x86 and x64 can be downloaded (as MSU files) here

ps
if your trying to make one for WIndows 98SE or Windows Milenium
I think you have to stop on this file  directx_aug2009_redist.exe  (as in that's the last you extract)
Otherwise a DXSETUP.exe and the two DLL files beyond august 2009  might face issues


Thursday 13 August 2015

White Icon On Desktop of Windows 10 Wont Go Away Fix

After upgrading to windows 10 you may find a white icon on your desk top that wont go away, you delete it, refest the desktop and the icon comes back, and yet you cant get any information about the icon at all besides delete, copy and create short cut?

Chances are its an OLD icon for internet explorer (some people use a reg tweak or tweakUI or similar programme to place a real internet explorer launcher on the desktop)  If thats the case and you remember doing that, you can try using this regfile to remove the Icon

right click on desk top, select New Text paste this in, save as  fix.reg
(make sure its not    fix.reg.txt  (it has to be .reg)  right click select merge, right click on Desktop select refresh and the Horrid useless white icon will be gone...
MAKE SURE WORD WRAP IS OFF
(to do that click the word "format" in notepad and make sure wordwrap is not ticked)
Your FINAL reg file should contain  THREE lines  (not 4)


Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{871C5380-42A0-1069-A2EA-08002B30301D}]


also what about that Language bar you used to be able to click, tick don't show and its gone?
to remove the Language selector out the system tray, right click on the task bar, select properties, then under Notification area click Customise.. and the Language selection Bar / button  is now called " Input Local " turn that off and language bar be gone



Is Windows 10 Really Seeding Updates On The Bandwidth of The End User & Informing Others You Miss Certain Security Fixes?

Is Windows 10 Really Seeding Updates On The Bandwidth of The End User AND!
 Informing Others You Miss Certain Security Fixes?


IS THIS FOR REAL???

IF and i stress  IF  (for the legal FKS at microsoft)  If this is what it simply says it is then I personally  see MASSIVE DANGERS IN THIS

A) Your seeding updates to total strangers, allowing strangers systems to Network with your machine

B) a 3rd party machine can essentially knock on your door and ask for an update?..

what if you don't have that update?
that means someone knows you don't have that update right?
ber in mind a vulnerability nicely worded as "elevate privileges"
(loosely translated means make a user account, demote you from an admin to a user, then control your system and do what they want with it)

This is like wtf.... AGAIN...  you may remember my disgust when i found windows would also share Error Reports with other users & other stuff with gawd knows what if you don't Untick a mountain of stuff when ya first install it.. but this...    god help people tethering or using a dongle with that switched on.. let alone the Enforced updates.. note that things Switched ON by default
no wonder windows 10 is free to upgrade to...

So how long till they start charging us for Updates?
while our old windows 7 or 8.1 was still entitled to FREE updates until how long?...

Not a wise move when iPhones and iPads wipe the floor with windows poor use of CPU's... more and more people are leaving pc's and laptops for phones..

i sit here shell shocked at this fkn manoeuvre....

Sunday 9 August 2015

Windows Post-Install Wizard (WPI) Tips


Some use full commands and silent install switches for adding software and tweaks to WPI the Windows Post-Install Wizard

first DirectX.. grab your self the JUNE REDIST from microsoft
make a folder called DirectX put the exe in their and Right click on it and select "Extract To Here"
not got that extract option?  (install WinRAR its free for basic use)

once you have DirectX extracted to the folder (delete the exe you downloaded, but keep everything that came out of it)  then in WPI use the following command & path to run it

{START} "DirectXInstaller" /MIN /w "%wpipath%\Install\DirectX\DXSETUP.exe" /silent

Its important to remember there is a  "  after the .EXE, then a Space, then the switches
(want to make a complete DirectX Package with it all, read this)

What about adding WinRAR to WIP?
x86 (32bit)
{START} "WinRarx86Installer" /MIN /w "%wpipath%\Install\Software\x86\WinRAR_x86.exe" /s
x64 (64bit)
{START} "WinRarx64Installer" /MIN /w "%wpipath%\Install\Software\x64\WinRAR_x64.exe" /s

if you use the programs name with architecture including as its UNIQUE ID like WINRARX86 and WINRARX64  then you can add the X64 ID to the x86 Exclude box and vice versa (so only 1 can be chosen)

Microsoft Silverlight?  (the singular Q doesn't seam to make it silent any more unless you add /passive)

{START} "MSSLx86Installer" /MIN /w "%wpipath%\Install\Runtime\Silverlight_x86.exe /q /passive

{START} "MSSLx64Installer" /MIN /w "%wpipath%\Install\Runtime\Silverlight_x64.exe /q /passive

Microsoft Download Manager?

"%wpipath%\Install\Software\MS_DL_MAGR.msi" /passive

Hows about a Microsoft .NET exe?

{START} "MSdotNET" /MIN /w "%wpipath%\Install\Updates\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /passive /norestart

on the Dependency's you could use

getOSver()="Win7"

so it only shows up on windows 7 systems, or use like

getOSver()="Win7" || "Win8" || "Win8.1"

also note you can run a BAT  or a CMD file simply using

"%wpipath%\Install\Scripts\NameOfYouBATorCMD.bat"

You may also notice some things clash with others, bat and cmd files seam to hold other stuff back while they work, but launching EXE and MSI files can launch multiples at once, in turn (depending on software choices) you may get windows installer service is in use by another processes, or please wait for the other installer to complete.. solution?

well you could impose the WAIT command using  /w
usage wise an example would be...

{START} "MSdotNET" /w /MIN "%wpipath%\Install\Updates\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /passive /norestart

This shows what's installing on the WPI window
This makes it wait for the current thing running to finish
This runs it minimised to task bar

This would be handy to include with all exe and msi stuff you add, besides the fact you'll save windows installer getting confused, you'll also prevent any MSU files that patch .net failing while .net is actually still installing, but the /w is optional, as is the /MIN.

My little CMD file in action.. that installs the MSU files

the /w command in action making each install wait for the last to finish
Adobe Acrobat Silent Install Switch?

/sAll Run installer in silent mode.
/sPB Silent mode with minimum UI: show the progress bar only.
/rs Reboot Suppress. Setup.exe will not initiate reboot even if it is required.
/rps Reboot Prompt Suppress. If reboot is required, the system restarts without warning.

I would use something like
{START} "AdobeReader" /w /MIN "%wpipath%\Install\Readers\Acrobat.exe" /sAll /rs

something to remember is although seeing progress bars on software lets you know its running all ok, it slows things down (especially if windows is running on a temp native ms video driver)

WPI installing microsoft .net on Windows 7 SP1 followed by its required updates




note the main installer is x86 and x64 (so i added a single entry just for x86) i set up the updates after it (so one does the app & its x86 updates)  Then to save time (and the fact the updates don't do both)  I selected CLONE to make a copy  of the x86 and changed all the x86 references to x64.


NOTE:
when it comes to .NET updates, you could have ONE install listed under (both)
and have option to run ALL the actual updates (under it) BUT with a prefix to define Windows Architecture  before starting the update..

EXAMPLE
{86} {START} "DotNetX68Up1" /MIN /w "%wpipath%\install\7\Updates\x86\DotNET\NDP45-KB2972107-x86.exe" /passive /norestart

{64} {START} "DotNetX64Up1" /MIN /w "%wpipath%\install\7\Updates\x64\DotNET\NDP45-KB2972107-x64.exe" /passive /norestart

so it has the  {86}  or  the  {x64}  then  {START}  a space between  the   }  {
I also used the get os version to only make it show up on windows 7 (due to the EXE updates not really compatible with 8 or 8.1 as most there .net updates are MSU files)   I also set the "greyed out option" on the x86 to look for the bits64 thing  to set the greyed out on the x64 to the bits32.
This way when the WPI is run on an x64 installed OS it wont even have any visible x86 stuff  and when run on an x86 it won't show any x64 stuff.

 And to further avoid conflicts i also set the dependencies screen to block any x86 UNIQUE ID  if x64 is selected and vice versa under  EXCLUDES on the Dependencies screen.

Why wont reg files work?  its a problem with WPI.. knock off BOTH the  "  " symbols

EXAMPLE WORKING
{REGEDIT} %wpipath%\Install\Tweaks\filename.reg

EXAMPLE NOT WORKING
{REGEDIT} "%wpipath%\Install\Tweaks\filename.reg"

DON'T use the  "  and DON'T add any silent switches (and it'll just work silently)  ;)

Microsoft Office ?{START} "Office2007Install" /w "%wpipath%\Install\Office2007\setup.exe" /config config.xml

note that my config.xml has my serial number in and i removed the !! commented lines so it installs the components i want, but note ive left out the /MIN
(that's so it doesn't run minimised)  i did that for people who run this and use others keys on their systems (so they essentially need to interact, enter their name and their key for them to use it)  So that's not defaulted to  /MIN  (minimise) so you know when its ready to input details.

I guess if your sound drivers pre-loaded you could have it Chain a sound file Before the app link (like i did the .net updates having app and updates on one) what if you actually chain an audio file then the app   (a beep or what ever) so you know when a specific installer is open or pending..
i feel some voice overs coming on for sure LOL.

go on.. seeing as im on a roll.. how about VLC Media Player Silent Install ?
only issue with VLC is you have to set a Language switch (to which English is 1033)

{START} "VLCx86Installer" /MIN /w "%wpipath%\Install\7\Software\x86\VLC_x86.exe" /L=1033 /S

Also note that i use numbers in path for OS version simply because one day they may no longer support that OS with the Latest (this way you always maintain OS backward compatibility as your menu grows)

I also Re-Name them installers to more simple terms (you can get version number by right clicking, hit properties then the version tab)  renaming these installers to simple stuff like JaVa_x86.exe makes it easier to Update your Disc/USB by just getting the latest release and renaming that (rather than having to edit loads of the menu boxes) Though you should change the version details on the box that checks what ver is installed and the visual box offering the software to install, you can get that via the EXE's properties once installed via the ?.?.?.?  options.. The current VLC for example is 2.2.6.0  ;)

I must be possessed tonight...

MSE Microsoft Security Essentials silent install  (windows must already be activated)

{START} "MSE7x64Installer" /MIN /w "%wpipath%\Install\7\Software\x64\mseinstallx64.exe" /s /runwgacheck /o

you can Remove the  /o  and it'll check online for an update  OR you can leave the /o in place so the nets not required and then just Chain the update exe Under it like this..

{START} "MSE7x64Updater" /MIN /w "%wpipath%\Install\7\Software\x64\mpam-fe.exe"


odd shots of WPI's ive messed about with...
(and NO i wont provide these so don't ask for them)


I have more to add to this post with bits ive been working on, messing about seeing if its a viable platform for servicing my own systems.  At the moment ive been experimenting with software based interfaces for a mate (who owns this blog, that i sometimes write for...)

My own needs would be more suited to Plugns (audio mainly)  VST  (stand alone and installers)  so many installers, registry tweaks and so on (for varied software)  Id like to create an external drive where i can install the likes of "Native Instruments Knokat"  or  "Reason 5"  and have it copy over all the extra stuff for the specific app chosen  (i don't have big terrabytes of drive space on my main computer) So i often make a restore point, install something wildly drive hogging with all its extras and then restore back and install something else..  this menu makes system changes like that a breeze...

Universal Driver Disk Idea
what about a drivers section that shows Nothing (unless that driver is available?)
so you have 3 folders  AnyBIT (drivers working on x86 and x64) then you have an x64 folder and an x86 folder.. In them folders you have the Lan, Modem, Network and so on.. make one lot of folders (then while empty copy them to the other 2 dir's

then place drivers in the folders and rename the exe files to   setup.exe

then in WPI (dependencies tab, bottom LEFT box) you would add the likes of
FileExists("%wpipath%\Install\Drivers\AnyBIT\Bluetooth\setup.exe")
FileExists("%wpipath%\Install\Drivers\AnyBIT\CaptureCard\setup.exe")
FileExists("%wpipath%\Install\Drivers\AnyBIT\Cardreader\setup.exe")
FileExists("%wpipath%\Install\Drivers\AnyBIT\Chipset\setup.exe")
FileExists("%wpipath%\Install\Drivers\AnyBIT\Dongle\setup.exe")
FileExists("%wpipath%\Install\Drivers\AnyBIT\Fax\setup.exe")
and so on for each one...  this way only available drivers would show up on the menu  ;)
(speedy way to make these is make one list for AnyBIT)
add them all to the list then in notepad hit edit, find and replace and replace
\AnyBIT\
with
\86\    and click replace all
(yes i have met people who have taken hours to edit a bat file and list like this LOL)

you can also throw the architecture command in line to avoid the wrong one being installed
{OS=Win8.1} {x64} {START} "PrinterDriver" /w "%wpipath%\Install\Drivers\x64\Printer\setup.exe"
that will make WPI skip it if its ticked on a 32bit running OS

feel free to leave your ideas and tweaks in the comments, they may help me and others get more out of this fantastic program.

Remember WPI uses the &&  ||  phrasing, so you can also define an OS and Architecture in the (bottom left) dependency box so that stuff wont even show up on systems you don't want it to

 this for example would stop it showing up an an x64 windows 8.1 and hide it from every other version of windows its run on
 getOSver()=="Win8.1" && getBits()==32

if you wanted it to run on both, you could simply just state  getOSver()=="Win8.1"
or be cocky and state
getOSver()=="Win8.1" && getBits()==32 || getBits()==64
so its using the AND and the OR statement

If we wanted to Detect something to see if its already installed (so we don't re-install it)
we could use the Dependencies box on the bottom right, so if it detects the file presence AND its actual installed version number, it'll grey out the option to install it.  Using the OR expression you can check both locations (regardless of if its installed in program files.. or program files (x86) by checking Both Paths with the ||   OR in between

getFileVersion("%PROGRAMFILES%\Malwarebytes Anti-Malware\mbam.exe")>="2.3.55.0" || getFileVersion("%ProgramFiles(x86)%\Malwarebytes Anti-Malware\mbam.exe")>="2.3.55.0"

if its Not installed (OR you have a Newer Version already)  it'll grey out the option to install the 2.3.55.0 you added to your install dir in wpi

It opens up some fantastic ideas if you wanted to make a servicing disk, ber in mind windows 7 for example (be it 7 or 7 SP1) is just  winver 7, so if you put the disk in a none sp1 machine stuff would show up you'd not want available until SP1 was installed...

So you could check for windows 7 && the service pack 1, or you could check for windows 7 so if you wanted to offer the ability to Install SP1, the left box would be

getOSver()=="Win7" && getBits()==32 && getSPver()==0
or
getBits()==64 && getOSver()=="Win7" && getSPver()==1
the order often has random effects, try your design in different environments

Example on Windows 10 work in progress from an 8.1 template
Example on Windows 8.1

How to temporarily prevent a Windows or driver update from reinstalling in Windows 10

In Windows 10, your device is always kept up to date with the latest features and fixes. Updates and drivers are installed automatically, with no need to select which updates are needed or not needed. In rare cases, a specific driver or update might temporarily cause issues with your device, and in this case you will need a way to prevent the problematic driver or update from reinstalling automatically the next time Windows Updates are installed.

Solution 01:
https://support.microsoft.com/en-us/kb/3073930

Solution 02:
  1. Click the Start button and select Settings.
  2. Inside Windows 10 Settings, click on Update and Security.
  3. when that opens, click on the Advanced Option near the bottom of the right hand sideunder the Windows Update section.
  4. under Advanced Options section "windows will ask how you’d change how updates are installed. By default, the automatic is selected. click on that drop-down menu and select Notify to schedule restart.


Wednesday 5 August 2015

Updating the Official Windows 8.1 ISO Releases


Ok as slipstreaming goes its a pain with 8 and 8.1 due to the "Servicing Stack" updates mostly, so i have taken a totally different path to how i normally integrate updates into windows source disks and usb's for windows 8.1.

Firstly lets remember there is sometimes MORE updates for one type than another

EXAMPLE:
the x64 version has an update for windows that the x86 doesn't have (and vice versa)
it can also happen that there is an update for pro (thats not needed by home)

Having these updates in the same folder (IE, running a batch on home and there are also pro only updates in the folder) won't be a problem, DISM & Windows Installer will just skip it often with the basic message  "this update is not applicable for this version of windows"   ;)

Option ONE:  semi high tech
Integration wise, if you have 7 or how ever many versions of windows 8.1 (inside ONE WIM file) you have to unpack them & mount them, place the updates within a folder (you make) called  WINDOWS_UPDATES  for an x86 wim, place all the x86 updates in that, for an x64 wim place all the x64 updates in it.

Note that size wise, when you compile one or more x86 images (or x64) into ONE wim
only 1 copy of a file is actually stored (so 7 versions won't end up taking the space of 7 copies of every update) you will ONLY end up with 1 copy of each update file.. yet if you export 1 wim, it'll export with the updates, because you merged them all with updates inside (so adding updates to all wim files is important ;)

With the WINDOWS_UPDATES folder copied to the ROOT of each wim (after install the folder and msu files will be in the systems root regardless of their chosen drive letter or lable) you then have choices on how they'll be run....

A) manually by running the bat file you make (in the folder with the MSU files)
i called mine   0ImportantUpdatesX64.bat  (0 is so its first file in the folder)

Contents of BAT file are as follows
(make sure word wrap is off when making this in notepad)
and make sure its saved as a BAT.. not a TXT..
 0ImportantUpdatesX64.bat    not    0ImportantUpdatesX64.bat.txt
(name it x86 for the x86 folder, just in case things get more automated in your coding)

@ECHO OFF
setlocal
set PATHTOFIXES=%SystemDrive%\WINDOWS_UPDATES
FOR %%i IN ("%PATHTOFIXES%\*.msu") DO START /WAIT "" WUSA.EXE "%%i" /quiet /norestart
B) rather than making the bat file, you could add the code above to the setupcomplete.cmd


Your other option
Option TWO:  seriously low tech

keep a copy of the 2 update folders

EXAMPLE
DRIVE:   \x86\WINDOWS_UPDATES
DRIVE:   \x64\WINDOWS_UPDATES
with the MSU files in each (along with the batfile in each)
and after install, copy the folder to the root, right click & run the bat as admin
(the low teck solution does make it easier to keep an updated folder to hand rather than re-editing wims)

Clearly their are more hightech ways to get the FOLDER to move over using the setupcomplete.cmd but that's a lot more messing around, extra file copying that'll delay other stuff set with the CMD file, install failing if media is damaged and something can't be read.

This isn't the greatest of methods, but tbh copying a folder to the root and runnin a bat file isn't that hard right?


As for the moronic trolling comments i feel will follow this post... like.. what a joke.. why bother.. just use windows update....  ber this in mind.. some people use pre-pay dongles.. or have crap internet connections..  this is about Bandwidth, not just Automation!!

IF YOU DOWNLOAD THE OFFICIAL WINDOWS 8.1 ISO FILES:
these are the current needed updates covering ISO release to AUGUST 2015
(so after doing these.. save any newer ones to the respective x86 and x64 folders)

Important Updates Section (on windows update) for x64


NDP462-KB3151800-x86-x64-AllOS-ENU.exe  <-- Run Manually or setupcomplete it

and then these

Windows8.1-KB2894856-v2-x64.msu
Windows8.1-KB2899189-x64.msu
Windows8.1-KB2973351-x64.msu
Windows8.1-KB2977765-x64.msu
Windows8.1-KB2978041-x64.msu
Windows8.1-KB2978126-x64.msu
Windows8.1-KB2979576-x64.msu
Windows8.1-KB2994290-x64.msu
Windows8.1-KB3004361-x64.msu
Windows8.1-KB3004365-v2-x64.msu
Windows8.1-KB3008242-x64.msu
Windows8.1-KB3011780-x64.msu
Windows8.1-KB3019215-x64.msu
Windows8.1-KB3019978-x64.msu
Windows8.1-KB3021674-x64.msu
Windows8.1-KB3021910-x64.msu
Windows8.1-KB3022777-x64.msu
Windows8.1-KB3023222-x64.msu
Windows8.1-KB3023266-x64.msu
Windows8.1-KB3025417-x64.msu
Windows8.1-KB3030377-x64.msu
Windows8.1-KB3032663-x64.msu
Windows8.1-KB3033889-x64.msu
Windows8.1-KB3035017-x64.msu
Windows8.1-KB3035126-x64.msu
Windows8.1-KB3035132-x64.msu
Windows8.1-KB3037579-x64.msu
Windows8.1-KB3038256-x64.msu
Windows8.1-KB3039066-x64.msu
Windows8.1-KB3042085-v2-x64.msu
Windows8.1-KB3042553-x64.msu
Windows8.1-KB3044374-x64.msu
Windows8.1-KB3045171-x64.msu
Windows8.1-KB3045685-x64.msu
Windows8.1-KB3045755-x64.msu
Windows8.1-KB3045999-x64.msu
Windows8.1-KB3046002-x64.msu
Windows8.1-KB3046359-x64.msu
Windows8.1-KB3055642-x64.msu
Windows8.1-KB3059317-x64.msu
Windows8.1-KB3061468-x64.msu
Windows8.1-KB3061512-x64.msu
Windows8.1-KB3061518-x64.msu
Windows8.1-KB3062760-x64.msu
Windows8.1-KB3065822-x64.msu
Windows8.1-KB3067505-x64.msu
Windows8.1-KB3069392-x64.msu
Windows8.1-KB3070102-x64.msu
Windows8.1-KB3072630-x64.msu
Windows8.1-KB3072633-x64.msu
Windows8.1-KB3074886-x64.msu
Windows8.1-KB3075516-x64.msu
Windows8.1-KB3079777-x64.msu
Windows8.1-KB3079904-x64.msu


Important Updates Section (on windows update) for x86

NDP462-KB3151800-x86-x64-AllOS-ENU.exe  <-- Run Manually or setupcomplete it

and then these
Windows8.1-KB2894856-v2-x86.msu
Windows8.1-KB2899189-x86.msu
Windows8.1-KB2973351-x86.msu
Windows8.1-KB2977765-x86.msu
Windows8.1-KB2978041-x86.msu
Windows8.1-KB2978126-x86.msu
Windows8.1-KB2979576-x86.msu
Windows8.1-KB2994290-x86.msu
Windows8.1-KB3004361-x86.msu
Windows8.1-KB3004365-v2-x86.msu
Windows8.1-KB3008242-x86.msu
Windows8.1-KB3011780-x86.msu
Windows8.1-KB3019215-x86.msu
Windows8.1-KB3019978-x86.msu
Windows8.1-KB3021674-x86.msu
Windows8.1-KB3021910-x86.msu
Windows8.1-KB3022777-x86.msu
Windows8.1-KB3023222-x86.msu
Windows8.1-KB3023266-x86.msu
Windows8.1-KB3025417-x86.msu
Windows8.1-KB3030377-x86.msu
Windows8.1-KB3032663-x86.msu
Windows8.1-KB3033889-x86.msu
Windows8.1-KB3035017-x86.msu
Windows8.1-KB3035126-x86.msu
Windows8.1-KB3035132-x86.msu
Windows8.1-KB3037579-x86.msu
Windows8.1-KB3038256-x86.msu
Windows8.1-KB3039066-x86.msu
Windows8.1-KB3042085-v2-x86.msu
Windows8.1-KB3042553-x86.msu
Windows8.1-KB3044374-x86.msu
Windows8.1-KB3045171-x86.msu
Windows8.1-KB3045685-x86.msu
Windows8.1-KB3045755-x86.msu
Windows8.1-KB3045999-x86.msu
Windows8.1-KB3046002-x86.msu
Windows8.1-KB3055642-x86.msu
Windows8.1-KB3059317-x86.msu
Windows8.1-KB3061468-x86.msu
Windows8.1-KB3061512-x86.msu
Windows8.1-KB3061518-x86.msu
Windows8.1-KB3062760-x86.msu
Windows8.1-KB3065822-x86.msu
Windows8.1-KB3067505-x86.msu
Windows8.1-KB3069392-x86.msu
Windows8.1-KB3070102-x86.msu
Windows8.1-KB3072630-x86.msu
Windows8.1-KB3072633-x86.msu
Windows8.1-KB3074886-x86.msu
Windows8.1-KB3075516-x86.msu
Windows8.1-KB3079777-x86.msu
Windows8.1-KB3079904-x86.msu

There is also 80+ optional updates needed by the so called NEW official iso files
    but they are Optional, not specifically important
(but you can grab them and add them to your folders or wims if you wish to...

Worried about your final WIM size if storing them inside?
when your finished making the final WIM.. Convert it to ESD
(that can knock well over a gig off its size)   ;)


Tbh.. i did manage to modify the Burf Windows update install script so it works on windows 8.1, but it clearly states not to distribute modified versions of it.. and as of yet.. hes not updated it..


Tuesday 4 August 2015

Servicing Windows XP (Old School Concepts)

REMEMBER THIS IS AN OLD POST FROM 2015 OF A SCRIPT FROM 2010!
 (use  the thread here  for more current information AND a COMPLETE Update Pack)


I did used to enjoy messing with windows xp, especially the bogus versions, digging to the core see what's missing and what not...  and over the years i built a lot of random scripts, used bits of code from all over the net, this kinda stuff is probably why i enjoyed OFP so much

The simple way is a Bat file in the same folder as the EXE's with this in

echo Installing XP SP3 updates...
for %%a in (*.exe) do (
start /wait %%a /quiet /norestart /nobackup )
pause

OR...


This other custom version checks your actually running it on XP, so if you ever wanted to identify between Vista, xp, windows 7 (even 8..   just add the ver8)  then checks for if its home or pro (so you can add pro stuff to homes system32)   It also sets the path of the files.

Clearly you could do so much more with this concept from the runOnce to the untended set-up

anyway here is one of the scripts i used to use when a mate blew a system :D
just like back in o.f.p hey slick.... i was in junior high d**head.....   lol

To think.. in notepad (using find & replace) would take mere seconds to turn this into an Source Integration script rather than its current os update concept.

Before you view the script idea below.. note we have uploaded a LOT of XP files under Downloads for ease of use and ease of updating in the future.. download these files  here

UPDATED NOTE:
I am aware people trying to use this concept of mine as i see them asking questions on varied forums that are clearly related to my script (you only need a youtube account to comment on a blogger blog)   its best to ask on my blog as i write the stuff i post, so who better to ask...

So in relation to one question posed about Qchain,  The update.exe in the more modern KB files does its own kinda qchain testing, so if your adapting this for systems whos CD keys limit the recovery partition install to SP1a only then the "qchain.exe" is kind of important for update files that begin with a Q,  It also related to early KB updates, but if your using this to update a system thats legally capable of SP3 then you can actually remove all the qchain references below, or REM it out while leaving it in place for histories sake.

The OEM section is also just a personal tweak that isn't important. For me the oem ini adds a last serviced date, or contact info for if a user faces issues. Its not mandatory and its just included so you can see a simple way of how it can be done.  You could script the bat to create the ini file with info rather than coping one across.

And yes, the addition of the DirectX WebUpdater installer was a great idea :)

This version Screen Dumps info so you know where and what its up to as it rolls along

NOTE: IF YOU PLAN TO USE AN IDEA LIKE THIS FROM THE   "Runonce"  OPTION
THEN YOU MUST REMOVE INTERNET EXPLORER FROM THE SCRIPT
OR YOU WILL FACE THE BRANDING ERROR AND ITS UPDATES WON'T GO IN

@TITLE The Wraith Windows Update System 1.0
@echo off
cls
echo.
echo.
ECHO The Wraith Windows Update System 1.0
COLOR 1f
echo.
echo.
ECHO Will Now Attempt To Test Windows Version
pause

@echo off

ver | find "2003" > nul
if %ERRORLEVEL% == 0 goto ver_2003

ver | find "XP" > nul
if %ERRORLEVEL% == 0 goto ver_xp

ver | find "2000" > nul
if %ERRORLEVEL% == 0 goto ver_2000

ver | find "NT" > nul
if %ERRORLEVEL% == 0 goto ver_nt

if not exist %SystemRoot%\system32\systeminfo.exe goto warnthenexit

systeminfo | find "OS Name" > %TEMP%\osname.txt
FOR /F "usebackq delims=: tokens=2" %%i IN (%TEMP%\osname.txt) DO set vers=%%i

echo %vers% | find "Windows 7" > nul
if %ERRORLEVEL% == 0 goto ver_7

echo %vers% | find "Windows Server 2008" > nul
if %ERRORLEVEL% == 0 goto ver_2008

echo %vers% | find "Windows Vista" > nul
if %ERRORLEVEL% == 0 goto ver_vista

goto warnthenexit

:ver_7
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows 7 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_2008
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows Server 2008 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_vista
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows Vista (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_2003
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows 2003 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_xp
cls
echo.
echo.
COLOR 2f
goto INSTALLXPUPDATES

:ver_2000
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows 2000 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_nt
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows NT (This Updater is for XP)
pause
goto NOVALIDOS1

:warnthenexit
cls
echo.
echo.
COLOR 4f
echo Machine Operating System Undetermined.
pause
goto NOVALIDOS2


:INSTALLXPUPDATES
cls
echo.
echo.
ECHO Windows XP Identified....
echo.
ECHO Checking For Windows Xp Home or Xp Pro-Corp

if not exist %SystemRoot%\system32\taskkill.exe goto :XPHOME
echo.
ECHO You Are Running Windows XP Professional Or Corporate
pause
goto MAKEFOLDER

:XPHOME
ECHO You Are Running Windows XP Home Edition
ECHO Installing Microsoft taskkill.exe
ECHO this file comes with Xp Pro and Corp Editions
ECHO Handy Extra for XP Home To Have
ECHO Placing taskkill.exe File In System32 Folder
copy %PATHTOFIXES%\taskkill.exe %systemroot%\system32\ /Y
ECHO DONE!
echo.


:MAKEFOLDER

COLOR 1f

ECHO Making A Folder In Your Root Dir

ECHO Called  WINDOWS_UPDATES

MKDIR %SystemDrive%\WINDOWS_UPDATES

ECHO Copying Update Files To Update Folder

copy *.bmp %SystemDrive%\WINDOWS_UPDATES
copy *.ini %SystemDrive%\WINDOWS_UPDATES
copy *.exe %SystemDrive%\WINDOWS_UPDATES

setlocal
set PATHTOFIXES=%SystemDrive%\WINDOWS_UPDATES
cls
echo.
echo.
@echo      ==================================================
@echo     [   The Wraith Windows XP Update System 1.0                                    ]
@echo     [   (c) https://pcrepairbootle.blogspot.com                                              ]
@echo     [   For Xp Home/Pro/Corp (32BITT)                                                      ]
@echo      ==================================================
echo.
echo This Installer System Will Upgrade/Update
echo Windows XP Home Pro and Corp 32BITT Editions
echo And Apply "ALL" The Required Security Updates
echo And The Required System Updates
echo.
echo Updates XP To January 2010
echo.
pause
echo.

cls

echo.
echo.
echo.
ECHO Are You Sure You Wish To Continue ?
pause
echo.

cls
echo.
ECHO Checking For Microsoft Update Chainer (QChain)
if not exist %SystemRoot%\system32\qchain.exe goto :QCHAIN
echo.
ECHO Microsoft (QChain) Already Installed
echo.

goto :QFETEST

:QCHAIN
ECHO Installing Microsoft QChain File Version Checker
ECHO this will assure only the newer files will be installed
ECHO Places qchain.exe File In System32 Folder
copy %PATHTOFIXES%\qchain.exe %systemroot%\system32\ /Y
ECHO DONE!
echo.

:QFETEST
ECHO Checking For Microsoft Update Verifyer (qfecheck)
if not exist %SystemRoot%\system32\qfecheck.exe goto :QFECHECK
echo.
ECHO Microsoft Update Verifyer (qfecheck) Already Installed
echo.
echo.

goto :INSTALLINSTALLER

:QFECHECK
ECHO Installing Microsoft Update Verifyer
ECHO this can be run manualy (after its installed)
ECHO from, start, run, then type "CMD"
ECHO then in the dos box, type "qfecheck"
ECHO it'll check all the updates and tell you if any
ECHO need re-installing, its best run after a reboot
ECHO Places qfecheck.exe File In System32 Folder
copy %PATHTOFIXES%\qfecheck.exe %systemroot%\system32\ /Y
ECHO DONE!
echo.


:INSTALLINSTALLER

if not exist %SystemRoot%\$hf_mig$\KB898461\update\KB898461.CAT goto :KB898461

goto :OEM

:KB898461

ECHO Update for Windows XP (KB898461)
ECHO This update installs a permanent exe for the Update Package Installer v6.1.22.4
%PATHTOFIXES%\WindowsXP-KB898461-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

:OEM
ECHO Copying OEM Suport Files....
ECHO when You right click on the My Computer ICON
ECHO and select Properties
ECHO You now have a Support Information Button
copy %PATHTOFIXES%\oemlogo.bmp %systemroot%\system32\ /Y
copy %PATHTOFIXES%\oeminfo.ini %systemroot%\system32\ /Y
ECHO DONE!
echo.

ECHO Prerequisites Now Met - Ready To Install Updates

pause

cls

echo.
echo.

ECHO Starting Installation For Updates Needed By XP SP3 and IE8
echo ===========================================================
echo.
echo.
echo High-priority Updates
echo.

ECHO Windows Genuine Advantage Notification (KB905474) newer agreement version
ECHO Installing WGAWindowsXP-KB905474-ENU-x86.exe (from 24 March 2009)
%PATHTOFIXES%\WGAWindowsXP-KB905474-ENU-x86.exe /passive /norestart
ECHO DONE!
echo.

ECHO Windows Malicious Software Removal Tool (KB890830)
ECHO Installing windows-kb890830-v3.4.exe (from 1 February 2010)
%PATHTOFIXES%\windows-kb890830-v3.4.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB952287)
ECHO Installing WindowsXP-KB952287-x86-ENU.exe (from 12 May 2008)
%PATHTOFIXES%\WindowsXP-KB952287-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Xp SP2 SP3 Flash Player (KB923789)
ECHO Installing WindowsXP-KB923789-x86-ENU.exe (from 13 May 2008
%PATHTOFIXES%\WindowsXP-KB923789-x86-ENU.exe /Q
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB950762)
ECHO Installing WindowsXP-KB950762-x86-ENU.exe (from 10 June 2008)
%PATHTOFIXES%\WindowsXP-KB950762-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB951376)
ECHO Installing WindowsXP-KB951376-v2-x86-ENU.exe (from 19 June 2008)
%PATHTOFIXES%\WindowsXP-KB951376-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB951748)
ECHO Installing WindowsXP-KB951748-x86-ENU.exe (from 7 July 2008)
%PATHTOFIXES%\WindowsXP-KB951748-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB946648)
ECHO Installing WindowsXP-KB946648-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB946648-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB952954)
ECHO Installing WindowsXP-KB952954-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB952954-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB950974)
ECHO Installing WindowsXP-KB950974-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB950974-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Outlook Express for Windows XP (KB951066)
ECHO Installing WindowsXP-KB951066-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB951066-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB951978)
ECHO Installing WindowsXP-KB951978-x86-ENU.exe (from 14 August 2008)
%PATHTOFIXES%\WindowsXP-KB951978-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956803)
ECHO Installing WindowsXP-KB956803-x86-ENU.exe (from 13 October 2008)
%PATHTOFIXES%\WindowsXP-KB956803-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB955069)
ECHO Installing WindowsXP-KB955069-x86-ENU.exe (from 10 November 2008)
%PATHTOFIXES%\WindowsXP-KB955069-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB957097)
ECHO Installing WindowsXP-KB957097-x86-ENU.exe (from 10 November 2008)
%PATHTOFIXES%\WindowsXP-KB957097-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB958644)
ECHO Installing WindowsXP-KB958644-x86-ENU.exe (from 22 November 2008)
%PATHTOFIXES%\WindowsXP-KB958644-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956802)
ECHO Installing WindowsXP-KB956802-x86-ENU.exe (from 9 December 2008)
%PATHTOFIXES%\WindowsXP-KB956802-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB954600)
ECHO Installing WindowsXP-KB954600-x86-ENU.exe (from 9 December 2008)
%PATHTOFIXES%\WindowsXP-KB954600-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB958687)
ECHO Installing WindowsXP-KB958687-x86-ENU.exe (from 8 January 2009)
%PATHTOFIXES%\WindowsXP-KB958687-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP Service Pack 3 (KB952069)
ECHO Installing WindowsXP-WindowsMedia-KB952069-v2-x86-ENU.exe (from 13 January 2009)
%PATHTOFIXES%\WindowsXP-WindowsMedia-KB952069-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP Microsoft XML Core Services 6.0 (KB954459)
ECHO Installing WindowsXP-KB954459-x86-ENU.exe (from 23 February 2009)
%PATHTOFIXES%\MSXMLCoreServices6.0WindowsXP-KB954459-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB967715)
ECHO Installing WindowsXP-KB967715-x86-ENU.exe (from 24 February 2009)
%PATHTOFIXES%\WindowsXP-KB967715-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB960225)
ECHO Installing WindowsXP-KB960225-x86-ENU.exe (from 8 March 2009)
%PATHTOFIXES%\WindowsXP-KB960225-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB938464)
ECHO Installing WindowsXP-KB938464-v2-x86-ENU.exe (from 10 March 2009)
%PATHTOFIXES%\WindowsXP-KB938464-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB923561)
ECHO Installing WindowsXP-KB923561-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB923561-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956572)
ECHO Installing WindowsXP-KB956572-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB956572-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB952004)
ECHO Installing WindowsXP-KB952004-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB952004-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB960803)
ECHO Installing WindowsXP-KB960803-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB960803-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB959426)
ECHO Installing WindowsXP-KB959426-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB959426-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB961501)
ECHO Installing WindowsXP-KB961501-x86-ENU.exe (from 8 May 2009)
%PATHTOFIXES%\WindowsXP-KB961501-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB970238)
ECHO Installing WindowsXP-KB970238-x86-ENU.exe (from 8 May 2009)
%PATHTOFIXES%\WindowsXP-KB970238-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB968537)
ECHO Installing WindowsXP-KB968537-x86-ENU.exe (from 8 June 2009)
%PATHTOFIXES%\WindowsXP-KB968537-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971633)
ECHO Installing WindowsXP-KB971633-x86-ENU.exe (from 13 July 2009)
%PATHTOFIXES%\WindowsXP-KB971633-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Cumulative Security Update for ActiveX Killbits for Windows XP (KB973346)
ECHO Installing WindowsXP-KB973346-x86-ENU.exe (from 14 July 2009)
%PATHTOFIXES%\WindowsXP-KB973346-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Checking Wich Version Of Internet Explorer You Have
if not exist %SystemRoot%\ie8\iexplore.exe goto :KB968389

ECHO Cumulative Security Update for Internet Explorer 8 for Windows XP (KB972260)
ECHO Installing IE8-WindowsXP-KB972260-x86-ENU.exe (from 28 July 2009)
%PATHTOFIXES%\IE8-WindowsXP-KB972260-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

:KB968389
ECHO you have an older version of Internet Explorer
ECHO will update to IE8 further on
echo.

ECHO Update for Windows XP (KB968389)
ECHO Installing WindowsXP-KB968389-x86-ENU.exe (from 7 August 2009)
%PATHTOFIXES%\WindowsXP-KB968389-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB960859)
ECHO Installing WindowsXP-KB960859-x86-ENU.exe (from 7 August 2009)
%PATHTOFIXES%\WindowsXP-KB960859-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973815)
ECHO Installing WindowsXP-KB973815-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973815-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971557)
ECHO Installing WindowsXP-KB971557-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB971557-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973869)
ECHO Installing WindowsXP-KB973869-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973869-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956744)
ECHO Installing WindowsXP-KB956744-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB956744-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973354)
ECHO Installing WindowsXP-KB973354-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973354-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973507)
ECHO Installing WindowsXP-KB973507-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973507-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971657)
ECHO Installing WindowsXP-KB971657-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB971657-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP Service Pack 3 (KB973540)
ECHO Installing WindowsXP-WindowsMedia-KB973540-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-WindowsMedia-KB973540-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB961371)
ECHO Installing WindowsXP-KB961371-v2-x86-ENU.exe (from 11 August 2009)
%PATHTOFIXES%\WindowsXP-KB961371-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Checking Wich Version Of Microsoft Jscript You Have
if not exist %SystemRoot%\ie8\iexplore.exe goto :KB956844

ECHO Security Update for Jscript 5.8 for Windows XP IE8 (KB971961)
ECHO Installing IE8-WindowsXP-KB971961-JS5.8-x86-ENU.exe (from 7 September 2009)
%PATHTOFIXES%\IE8-WindowsXP-KB971961-JS5.8-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

:KB956844
ECHO you have an older browser than IE8
ECHO will update to Jscript 5.8 after IE 8 is installed

ECHO Security Update for Windows XP (KB956844)
ECHO Installing WindowsXP-KB956844-x86-ENU.exe (from 7 September 2009)
%PATHTOFIXES%\WindowsXP-KB956844-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Cumulative Security Update for ActiveX Killbits for Windows XP (KB973525)
ECHO Installing WindowsXP-KB973525-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\IE6ActiveXKillbitsWindowsXP-KB973525-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB975025)
ECHO Installing WindowsXP-KB975025-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB975025-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974571)
ECHO Installing WindowsXP-KB974571-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB974571-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974112)
ECHO Installing WindowsXP-KB974112-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB974112-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971486)
ECHO Installing WindowsXP-KB971486-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB971486-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB958869)
ECHO Installing WindowsXP-KB958869-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB958869-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB969059)
ECHO Installing WindowsXP-KB969059-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB969059-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB969947)
ECHO Installing WindowsXP-KB969947-x86-ENU.exe (from 9 November 2009)
%PATHTOFIXES%\WindowsXP-KB969947-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB976098)
ECHO Installing WindowsXP-KB976098-v2-x86-ENU.exe (from 16 November 2009)
%PATHTOFIXES%\WindowsXP-KB976098-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB973687)
ECHO Installing WindowsXP-KB973687-x86-ENU.exe (from 23 November 2009)
%PATHTOFIXES%\WindowsXP-KB973687-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB955759)
ECHO Installing WindowsXP-KB955759-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB955759-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973904)
ECHO Installing WindowsXP-KB973904-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB973904-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974318)
ECHO Installing WindowsXP-KB974318-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB974318-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974392)
ECHO Installing WindowsXP-KB974392-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB974392-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB970430)
ECHO Installing WindowsXP-KB970430-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB970430-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB971737)
ECHO Installing WindowsXP-KB971737-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB971737-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB972270)
ECHO Installing WindowsXP-KB972270-x86-ENU.exe (from 11 January 2010)
%PATHTOFIXES%\WindowsXP-KB972270-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Checking Wich Version Of Internet Explorer You Have
if not exist %SystemRoot%\ie8\iexplore.exe goto :INSTALL_IE8

ECHO Cumulative Security Update for Internet Explorer 8 Windows XP (KB978207)
ECHO Installing IE8-WindowsXP-KB978207-x86-ENU.exe (from 20 January 2010)
%PATHTOFIXES%\IE8-WindowsXP-KB978207-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

echo.
echo.
goto :Optional_Updates

cls

:INSTALL_IE8

ECHO Installing Microsoft Windows Internet Explorer 8
echo ==================================================
ECHO Installing IE8-WindowsXP-x86-ENU.exe (from 19 March 2009)
%PATHTOFIXES%\IE8-WindowsXP-x86-ENU.exe /passive /quiet /update-no /norestart
ECHO DONE!
echo.

ECHO UPDATING!! Microsoft Windows Internet Explorer 8
echo ==================================================
ECHO Installing WindowsXP-KB971961-JS58-x86-ENU.exe (from 7 September 2009)
%PATHTOFIXES%\WindowsXP-KB971961-JS58-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Installing IE8-WindowsXP-KB978207-x86-ENU.exe (from 20 January 2010)
%PATHTOFIXES%\IE8-WindowsXP-KB978207-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.


ECHO Removing!! Older Internet Explorer Back Up Files
echo ==================================================
RMDIR /Q /S %SystemRoot%\ie7
ECHO DONE!
echo.
RMDIR /Q /S %SystemRoot%\ie7updates
ECHO DONE!
echo.

:Optional_Updates

cls

echo.
echo.
ECHO Optional Software Updates

ECHO Update for Windows XP Windows Automation API library (KB971513)
ECHO Installing WindowsXP-KB971513-x86-ENU.exe (from 26 October 2009)
%PATHTOFIXES%\WindowsXP-KB971513-x86-ENU.exe /passive /norestart
ECHO DONE!

ECHO Update for Root Certificates [November 2009] (KB931125)
ECHO Installing rootsupdNOV2009.exe (from 23 November 2009)
%PATHTOFIXES%\rootsupdNOV2009.exe /Q
ECHO DONE!

:MAKEFOLDER2

ECHO Making A Folder In Your Program Files
ECHO Called  DirectXUpdater

MKDIR %PROGRAMFILES%\DirectXUpdater

ECHO Copying DirectX Updater Files To Update Folder

copy *.* %SystemDrive%\WINDOWS_UPDATES\DirectXUpdater\*.* %PROGRAMFILES%\DIRECT~1

cls

COLOR 4f

echo.
echo.
echo.
ECHO Running Microsoft Q-Chain
%windir%\system32\qchain.exe
echo.
ECHO Please Wait and DONT skip this
ECHO qchain makes sure all the DLL files
ECHO are only updated and NOT replaced with older files
echo.
echo.

ECHO Removing Updates Folder
RMDIR /Q /S %SystemDrive%\WINDOWS_UPDATES

ECHO Restarting Computer

%windir%\system32\shutdown.exe -r -t 30 -f -c "Updates Are Installed, After Reboot, Run WindowsXPUpdateCleaner.BAT to Remove the Update Uninstallers and KB Update Logs"

EXIT

:NOVALIDOS1
ECHO.
ECHO this updater file is for Windows XP
ECHO XP Home and XP Pro and XP Corp
ECHO Contact Me About An Updated Updater For Your OS
ECHO press any key to exit
pause

:NOVALIDOS2
ECHO.
ECHO Operating System Unidentified
ECHO are you using windows or linux or something else?
ECHO.
ECHO press any key to exit
pause

:EXIT
exit


Wednesday 29 July 2015

Creating and Downloading Installation Media for Windows 10


You can now download the official Windows 10 Media Creation Tool from Microsoft

If you have an x64 system (just download the x64 exe)
it can create x86 and x64 disks in any language

Both tools cover Home/Pro in Normal Core, N and Single Language
remember you can't install language packs onto an SL version (legally)
(Enterprise Edition is only available to company's and is a VLK, not an OEM)
Education Edition is oddly the same specifications as Enterprise yet offers VLK and OEM


Download the official microsoft windows 10 tool here
(watch what option your selecting, otherwise you will install 10 over your current OS)
choose the option for installing on another machine, then pick ISO or USB
Works with the Windows 7 ISO to USB

Q&A:
Q: Can i use a windows 8.0 or 8.1 Serial
A: No... even though upgrading is apparently free

Q: windows setpup could not configure windows to run on this computer's hardware
A: Read this, its dead simple here

Q: What Build version of windows 10 is this?
A: Windows 10.0.10240.16384  (released 29th July 2015) IE the final RTM


Want to make a Windows 8.1 disc? check this thread here

Windows 10 is Comming Have You Spotted It On Your Drive Yet?


As it nears the end of July Windows 10 sneaks into peoples computers & laptops and sits dormant on your hard disk..

not wondered where that 6+ Gigabyte of drive space vanished to?



Many of you will see (if you enable show hidden files & folders) a new director in your root drive called

$Windows.~BT

on my system its located here

C:\$Windows.~BT

lot of people are asking how to delete this folder, personally ide leave it alone.. for now!

I am just Unpacking the  ESD file that is no doubt the install.wim inside
once that's unpacked i shall see if MS are Backing up my current Recovery OS to that ESD  OR ile find out if that ESD is in fact windows 10...

If it is windows 10 i will be curios to see if its an x64 version or whether they plan to rip me off with an x86 version..

IF it is a multi image inside the ESD (of my own OS) i guess i could make an ISO which in turn would give me a working installable version of    "Windows 8.1 with Bing"
which i have in my recovery partition (yeah i know bing is crap, but the OS is legal for this board!!!)

Outside (parallel to the Sources folder) is another folder called   NewOS
i assume that is where the Windows 10 ESD will download to and the sources folder
the Bing version of windows 8.1 is pretty rare (on a disk) and its 20+ GB with the OEM bloatware, lowest i got it seams to be also the exact size MS have taken it down to (but a backup would still require duel layer dvd)

Ive also noticed in the "Sources" folder were the ESD is, their is NO   boot.wim
one can only wonder how many people have burnt this to a DVD to find it wont boot up..
Will adding the boot.wim from the recovery partition to the sources folder before burning to dvd work?  i duno..  what i do know is you'd have to make a Bootlable ISO from the folder and have the bootwim.. still no guarantees.. but just dragging  the whole thing to a dvd and burning will not make it boot up a computer (as the disk wont be boot-able) 

I seam to also have a folder PRE MOUNTED here
C:\$Windows.~BT\Sources\SafeOS\SafeOS.Mount