Monday 31 October 2016

Use Tron to automatically clean an infected Windows system

Tron by 'vocatus' is a large Windows script that will automatically 'spring-clean' an infected/unwell Windows system. After Tron has been run, the system should be free from infection and may also run faster than before.

You will need to be able to boot to the Windows system (in Safe Mode+n/w mode) and you will need internet connectivity for best results.

If you download the self-extracting Tron .exe file, you can keep it on your E2B USB drive (but disconnect the E2B drive and any other USB drive before starting Tron.bat, or else it will needlessly scan those drives too).

How to check if you booted to WinPE via UEFI or MBR

If you have booted from a WinPE image, you can check what mode you have booted in (UEFI or MBR) using a small cmd script:

Report_UEFI_MBR_boot_mode.cmd

@echo off
wpeutil UpdateBootInfo > nul
color 1f
for /f "tokens=2* delims= " %%A in ('reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType') DO SET Firmware=%%B
:: Note: delims is a TAB followed by a space.
if %Firmware%==0x1 echo WinPE booted in BIOS mode.
if %Firmware%==0x2 echo WinPE booted in UEFI mode.
echo.
pause

You can use this script to determine what mode you have booted in (original source here).
The script only works in WinPE not Windows.

This code may be useful when you write a diskpart script for instance, and you need to know whether to partition a disk using GPT partitions or MBR partitions depending on how the user booted to WinPE initially.

The Report_UEFI_MBR_boot_mode.cmd script can be downloaded from the Alternate Downloads - Other files folder.

Saturday 29 October 2016

E2B v1.86 is now available

Changes from v1.85 are:
  • Bug fix for wsusoffline Win8 updates not working. 
  • Win8/10 Repair option now offered (press a key within 4 seconds after selecting an ISO). 
  • Language files updated to add a Windows Repair option prompt (see below).
  • Self-extracting .exe versions available.
I have used WinRar to create self-extracting exe files from the zip files. This means you can download and click on the .exe file and it will automatically extract the files to a temporary folder and then run the Make E2B USB Drive (run as admin).cmd script.

This should make it easier for naive users to make E2B USB drives.

If you don't want the contents to be extracted to a temporary folder, just open the .exe file using 7Zip or WinRar and extract the contents, or download one of the .7z or .zip versions.

If you have a Win8/10/2016 ISO in the \_ISO\WINxxx menu folders, when you select the ISO file, you will be given 4 seconds to press a key before being prompted to select an XML file. If you press a key within 4 seconds, it will boot straight to the ISO and you will be able to use the standard Windows Repair option in the Windows Install Setup menu (you will NOT be able to install Windows though!). See my previous blog for more details.

The downloads are available from the Alternate Download Areas as usual.

Thursday 27 October 2016

Get Windows 10 Professional for £4 (legally)?

You can still upgrade to Windows 10 from Windows 7 if you know how (see here), but what if you want to install Windows 10 Pro on a new home-built system?

It seems that some sellers on eBay (UK and USA) are selling Windows 7 Pro keys for approx £4.

Now, as far as I am aware, you can still use a Windows 7 key to perform a fresh install of Windows 10 (as long as you use a recent version of the Windows 10 install ISO and not the first version).

These eBay sellers seem to think that they are 'legal' because they are also selling a faulty mainboard together with the Product Key. The only catch being that although they email you the Product Key within an hour or so, if you want the faulty mainboard then you have to either pick it up yourself or pay for postage and packing (which is quite expensive, so they clearly don't expect anyone to request the faulty mainboard!).

Whether this is actually within the terms of a Microsoft 'system builder' licence is debatable. I am sure MS never meant that a seller could sell faulty mainboards and that MS intended that the part and the Windows 7 COA should be shipped together.

I don't know if these keys actually work because I have not personally tried one, but for £4 it may be worth a try!

Tuesday 25 October 2016

New Gandalf WinPE available

The latest Gandalf WinPE ISO (2016-10-24) is available from here.


Convert it to a FAT32 .imgPTN file and add it to your E2B drive as usual. Then it will MBR or UEFI-64 boot.

If you like the Desktop analogue clock (which can be positioned anywhere on the Desktop), and want to add it to your own Windows Desktop, you can get it from here.

Monday 24 October 2016

E2B 1.86b Beta available

E2B v1.86b has a few changes from 1.85
  • Windows 8/10 ISOs now give user the option to run a 'Repair' - see here for details.
  • STRINGS.txt language files updated for new 'Repair' feature
  • wsus offline update bug fix for Win8/2012R2 updates (SDI_CHOCO) - thanks to JW for reporting it.
Download from the Alternate Download Area as usual.

I have also made a self-extracting exe file Easy2Boot v1.86b_Make_E2B_USB_Drive.exe available.
This self-extracts the E2B files to a temporary folder and then automatically runs MAKE_E2B_USB_DRIVE (run as admin).cmd from the temporary folder. This may be useful for less experienced users because they don't need to extract the E2B files to a new folder.

If you want to update your USB drive, download the .ZIP file as usual.

Friday 21 October 2016

Windows Startup Repair (StartRep.exe) crashes on Windows 8/10 in E2B

A few days ago I used E2B to boot to a Windows 10 install ISO in order to repair a notebook that had some boot issues.

I ran the Win10 ISO from the \_ISO\WINDOWS\WIN10 folder and chose the 'S' Startup Repair option in the blue console window and it immediately crashed...


Coincidentally, a user also contacted me yesterday about the same issue! StartRep works fine on Win7 ISOs, but there seems to be something 'special' about the Win8/10 version of StartRep.exe!

Upon investigation, I found that the StartRep.exe also crashed if you chose the Windows Troubleshooter option (recenv.exe) and then ran the Startup Repair option (which runs StartRep.exe)! All the other troubleshooting functions worked, but not Startup Repair.

I also found that if I ran the ISO without using an XML file which had a WinPE section in it, then StartRep.exe worked OK. Also, Windows Setup only gives the user the 'Repair' option (Alt+R) in the Windows Setup menu as long as the XML file does not contain a WinPE section.

So, you can run Windows Repair if you place the Windows 8/10 ISO in one of the other menu folders (e.g. \_ISO\WIN or \_ISO\MAINMENU) and name it with a .iso01 file extension. However, this would mean having to have two copies of each Windows Install ISO on the E2B drive, which is not very convenient!

So, E2B v1.86 will now prompt the user to press a key within 4 seconds for a 'Repair' option whenever they choose a Windows 8/10/2016 Install ISO file from one of the Windows Install menus. If they press a key, the ISO will be run as .iso01 and the standard Repair option will be available. However, in this mode you cannot install Windows because the ISO will not be loaded as a virtual DVD by ImDisk.

Thursday 20 October 2016

Restore disk images across the network using AOMEI Image Deploy (free PXE-boot deployment system)

If you take disk backups using the free AOMEI Backupper software (from a bootable ampe.iso file), then you can use AOMEI Image Deploy to write that image to multiple PCs across the network using PXE booting.

There are instructions on their site here.

This allows you to restore a disk image to any system that has a PXE boot ROM (pretty much all systems do!) without needing to boot it from a USB drive or CD or any 'media'.

Wednesday 19 October 2016

Lakka - Take 2!

I have revised the instructions to make a bootable Lakka image in my previous post.

There is now no need to make a Lakka USB flash drive first, and you can make the storage partition any size you like too. Much easier!

Tuesday 18 October 2016

Windows 10 bug found in Calc App!

On PC-Welt a Windows 10 bug has been reported in the Calc App.

Can you spot the problem?




Monday 17 October 2016

Add Lakka to your E2B USB drive and play SuperMario (and 100's of other console games)

Lakka is an open source game console emulator. See the YouTube demo here (there are many YouTube videos too, including a Hak5 intro video here!).


You can boot to Lakka from a variety of different computers including a Raspberry Pi. On an x86 PC you can directly boot from a USB drive (or install it onto a dedicated PC, if you have one to spare!).

Lakka does not support\work on a Virtual Machine - you must boot from a REAL SYSTEM!

You also need to connect USB or WiFi controllers to the PC too (recommended because using the PC keyboard is very difficult/impossible when playing games using the PC keyboard!).

I downloaded the Windows 32-bit version for a PC from here and then wrote the .img file (Lakka-Generic.i386-devel-20161002110423-r21593-g03241bf.img) to a spare 8GB USB 3.0 drive using RMPrepUSB (see below for details). For Nintendo 64 games, use Lakka 64-bit.

I then booted from the Lakka USB drive on my IdeaPad 300 (does not work on Virtual Box).



Sunday 16 October 2016

E2B v1.85 now available

E2B v1.85 is now available from the Alternate Downloads Areas.

After a few days, I will add the 1.85 download files to the www.easy2boot.com site.

Changes from v1.84 are:

  • Add udefrag linux utility for making NTFS files contiguous under linux. 
  • ZGRUB_USB_046.mnu menu improved. 
  • Improve error checking in MAKE_E2B_USB_DRIVE.cmd to fix problem if you are using a proxy - now it just does not show the latest version available if a proxy has been set instead of bombing out! (thanks to JH for reporting it)
  • German language files updated (thanks Frettt!).

Wednesday 12 October 2016

Experimenting with large fonts, line spacing and animation (GreatLakes_DNA)

If you want a 800x600 theme which use the 24-pixel high large fonts in E2B and increases the spacing between lines, you can try the GreatLakes_DNA.zip download in the Alternate Download Area - Themes folder. It includes the rotating DNA animation and the background is a shot of the Great Lakes taken from space.

As with all animations, you can use the F2 key to make it disappear and then press F2 again to make it reappear. The space between menu lines has also been increased.

The F1 Help menu is suppressed because the help text does not fit on the screen when using large fonts.

GreatLakes_DNA.zip
The .bmp file is actually compressed using LZMA.exe.












There are several different 24-pixel high large fonts to choose from - try using a different one by changing the MyE2B.cfg file.

When using Windows ISOs, etc., you may need to reduce the number of XML files, so that they will fit on the screen nicely.



Sunday 9 October 2016

Add Easy Recovery Essentials Windows 10 (EasyRE) to E2B

The Easy Recovery Essentials Win10 ISO (not free!) does not seem to boot from E2B as a .ISO file or if simply converted to a .imgPTN file. The ISO seems to be based on FreeBSD and does not seem to contain the necessary grub2 boot loader for USB booting in an easily-accessible form.

Note that the ISO file can be booted using the E2B grub2 menu system (you must also extract some files and use a FAT32 partition, there is an example .grub2 config file in the \_ISO\docs\Sample mnu Files folder on the 2nd partition).

Instructions

Here is how to get it working as an MBR-only bootable .imgPTN file under the standard E2B grub4dos menu system (not the E2B grub2 menu system):

Sunday 2 October 2016

Beware of this 'fast' USB 3.0 Flash drive!

I already own a 64GB SanDisk Extreme, but I was looking for a larger 128GB USB 3.0 Flash drive.

As you may know, I am a big fan of the SanDisk Extreme USB 3.0 drives. They are amongst the fastest USB 3.0 Flash memory drives that you can buy, but also represent extremely good value for money.

So, I consulted a few league tables such as UserBenchmark, thewirecutter  and everythingusb.

I was looking for a fast drive, so although the SanDisk Ultra Fit drive was good value for money, I did not consider it because it is slower than several others and also it is just too small - I do have one but I keep 'losing' it, and only find it a few weeks later 'hidden' in a USB port on one of my other devices.

So the main contenders were: (with advertised speed and links to Amazon.co.uk and Amazon.com):

SanDisk Extreme     128GB £48 or $61   245MB/s Rd, 190MB/s Wr
SanDisk Extreme Pro 128GB £67 or $60   260MB/s Rd, 240MB/s Wr 
Lexar P20           128GB £52 or $49   400MB/s Rd, 270MB/s Wr

Wednesday 28 September 2016

Disabling System Volume Information folder for Removable drives

If you read my previous blog and tried the Registry fragment I provided in a previous blog post, you may have found that it does not actually seem to stop Windows from making a System Volume Information folder on some systems.

It used to work (honest!), but recent versions of Windows 10 also require you to stop (disable) the Storage Service too (type 'Services' into the start menu to find the management applet). I think this service used to be called 'Removable Storage' in earlier Windows versions.

Double-click and disable the service.
So, for recent Win10 versions:

1. Disable the Storage Service
2. Install the Registry Fragment
3. Reboot
4. From an Admin command prompt, type rd /s "L:\System Volume Information" to delete the folder on the L: drive if it is already there (or whatever letter your USB drive is using).

I am not sure what affect disabling the Storage Service has on the system, Microsoft seem very sketchy with information about it. So far I have not noticed any issues (famous last words...)

RMPrepUSB v2.1.734 and new version of Disk Doctor available (with bug-fixes)

I found that the SpeedTest function in RMPrepUSB/RMPartUSB no longer seems to work on Windows 10 and gives a write error. This is now fixed in v2.1.734.

I also took the time to look into some niggly bugs in DiskDoctor (use CTRL+D inside RMPrepUSB to launch it after selecting a disk (does not work on disk 0) in RMPrepUSB).

DiskDoctor

DiskDoctor is a disk testing and editing tool which must be run with Admin privileges. The version included in RMPrepUSB has been stripped down quite a bit since I wrote it some years ago, and some functions and command line support have been removed. It was originally used as an automated test tool in a factory environment and used to test literally millions of computers.

If you want to try DD, use a disk that contains unwanted data first, until you become familiar with it!

For instance, if you start a Sequential Read of the whole disk, DiskDoctor (aka DD) will attempt to read all sectors, in blocks of a 'track' at a time, into a track buffer (63x255 sectors). This can take several hours for a 2TB HDD!

Monday 26 September 2016

New USB_BOOT_v2.iso (Plop! CD)

I have updated the USB_BOOT CD ISO file to use the latest version of grub4dos. The CD may now work with a wider range of USB 2.0 controllers. Download USB_BOOT_v2.ISO from here in the Alternate Downloads Areas and burn it to a CD (remember those?).

Latest v2.2 IS HERE.

USB_BOOT_v2 CD with latest grub4dos version

  1. The USB_BOOT CD will boot to a grub4dos menu and then will automatically install the grub4dos USB 2.0 read\write driver.
  2. If no USB drive is detected, it will then automatically run Plop! to load a USB 2.0 read-only driver.
  3. If a driver is loaded successfully, it should then boot from a USB drive (e.g. an Easy2Boot USB drive).

The CD is useful for systems that will not boot straight from a USB Flash drive or USB HDD but will boot from a USB CD (or IDE\SATA CD-ROM drive).

Note that modern USB 2.0/3.0 systems will probably not work (even if you use a USB 2.0 port), but these modern systems should boot from any USB drive anyway.

Quickly make WinPE ISOs using Lazesoft Recovery Suite

If you want to quickly make some 64-bit and 32-bit WinPE bootable ISOs, which also contain some useful utilities, try the free Lazesoft Recovery Suite Home Edition.

Note: I have not fully tested any of the Lazesoft utilities yet, this blog post is just to inform you of a useful set of ISOs.

You first need to download and run lsrshsetup.exe to install it onto your Windows system and then run it (or the separate Desktop entry for the Lazesoft recovery suite media builder).

Tuesday 20 September 2016

Problems installing Ubuntu x64 UEFI in Virtual Box

I have been trying to compile my own grub2 boot code files (core.img and bootx64.efi) recently.

To do this, I needed to set up a VM with Ubuntu x64 in UEFI-mode.

Easy right?

Err.... no!

E2B v1.84 released

E2B v.1.84 full version is released.

Changes from v1.84c beta are:

  • official grub4dos 2016-09-20 release (should be similar to the test version in 1.84c)
  • Some more Download URL links added to \_ISO\docs folder
  • Cub Linux + persistence Sample Mnu File added.
The 'SultryWoman' bitmap and MyE2B.cfg file are available
from the Alternate Downloads - Themes area.

Changes since v1.83 are:

RMPrepUSB v2.1.733 (Beta status) available - with grub2 USB drive installer

RMPrepUSB v2.1.733 changes are:

  • Latest grub4dos 0.4.6a 2016-09-20 (grldr)
  • Can install grub2 to MBR via BootLoaders tab
  • FAT32 partitions now start at LBA 2048 instead of LBA63 (RMPartUSB v2.1.733)
You can now install grub2 boot code onto the first sectors of a USB drive.

Friday 16 September 2016

UEFI_GRUB2_PTN2_Beta4 available

UEFI_GRUB2_PTN2_Beta4 has a few small bug fixes to some .grub2 files and the grub2 menu entries have been tweaked slightly so that the text in the menus aligns better.
I have also changed the Excel spreadsheet slightly.
The main changes in .grub2 has been around the naming of kali isos.
If you already have the Beta3 version on your E2B drive, instructions on how to update to a later version are here.

If you use the Grub2 menu system with E2B, please let me know. I have had very little feedback about it and so it is still in Beta status. If I get reports that people are using it successfully, then I will officially 'release' it.

The downloads are in the Alternate Download Areas - Other Files folder.

Thursday 15 September 2016

Registry fragment to prevent creation of System Volume Information folder

For Windows 8/10, you can add a Registry fragment that will stop Windows from creating a System Volume Information folder on all your USB drives.

The download is available from the Alternate Download Area - Other Files folder (direct link here).

I will also include the registry fragment in E2B v1.84 in the folder:
\_ISO\docs\E2B Utilities\Disable_System_Volume_Information_Folder_Creation.

Note: In recent versions of Windows 10, as well as the Registry Fragment, you need to stop (disable) the Storage Service too (type Services into the start menu to find the management applet).
For more info, see my previous blog here (the Take Ownership reg tweak is really useful too!).

FYI: The top three posts in my entire blog are:

  1. A faster test for fake SD cards and USB Flash drives (*more popular by a factor of x10!)
  2. Deleting the 'System Volume Information' folder from a USB drive (and other system files\folders)
  3. Add Microsoft ERD Commander and MSDart Windows Recovery ISOs to Easy2Boot
Please tick one of the 'Reactions' boxes if you enjoyed a post.

Wednesday 14 September 2016

Chromium OS (Cub Linux) with persistence

Cub Linux is Chromium+Ubuntu. Unlike ChromixiumOS, it comes in a nice LiveCD ISO format and so we can easily run this from an E2B drive. As it is based on Ubuntu, we can also add persistence.




Here is the .mnu for the 64-bit version (also added to \_ISO\docs\Sample mnu Files\linux\CubLinux-amd64_Persistent.mnu in E2B v1.84d).

Once you cancel your credit/debit card, it cannot be used again, right?... WRONG!

OK, this is nothing to do with USB drives (but you might use a card to buy a USB drive...;-)

So you lose your credit or debit card (or it is stolen). You contact the bank and they cancel it and issue you a new card. You check your next card statement at the end of the month and it looks OK. Panic over and you are safe, right?

WRONG! Actually someone could use your old card for months afterwards by using it for multiple 'contactless payments'. You could lose £100s.

How to overlay the E2B F1 Help text onto your wallpaper background

The E2B F1 Help menu is determined by the F1.cfg file, one for each language.

When you select one of the Help menu topics, the text is displayed on a plain (usually black) background. This is because the help text fills the whole screen and may get confused with the background picture in some situations (as you can see in the example below).

You can modify the F1.cfg file so that the text is overlaid on top of the current wallpaper by adding a few lines under each 'title' menu entry.


You can download the E2B v1.83 English F1.cfg file which includes these lines in all 'title' menu entries from the Alternate Download Area - Languages folder here.

You can quickly test it by adding the F1.cfg file to the \_ISO folder (but don't leave it there because it will override any language setting or normal F1.cfg file - if you want to use it permanently, make a new language folder). For more info about the F1 help menu and making a new language folder, see here and here.

P.S. The wallpaper shown above is called 'SultryWoman' and is in the  Alternate Download Area - Themes folder here. There are other wallpapers in the Themes folder too or you can download more from https://wall.alphacoders.com/  (choose 4:3 format and then reduce them to 800x600 using Paint and save as .bmp).

Tuesday 13 September 2016

E2B v1.84c Beta available

v1.84c 

  1. Parrot+persistence sample .mnu file added. 
  2. New feature: if user presses u key during early booting to Main menu, the grub4dos USB 2.0 driver will be loaded. 
  3. Change to SDI_CHOCO Sample_MyStartup.cmd so that -y and unchecksummed packages are accepted. 
  4. Add 'Download URLs' folder to \_ISO\docs\ folder. 
  5. Add Win7 SDI_CHOCO XML files. 
  6. Fix SDI_CHOCO.cmd so does not pause if installing Win7. 
  7. Add E2B_WINHELPER_&DW.zip for Zalman\IODD. 
  8. Fix problem of F1 Help menu title not displayed (all languages). 
  9. Sample WinNTSetup diskpart script files added to \_ISO\docs\E2B Utilities\WinNTSetup folder
  10. Fix bug - if animated icon in menu, then XP+DPMS install is broken (asks for floppy disk).
I have found that if you have an animated E2B icon (or any animated icon) on the menu, this causes the installation of XP+DPMS to fail. Setup will prompt you to insert a Firadisk floppy disk and you cannot get beyond this point.
This was caused by the animated .bmp files being loaded as a virtual floppy (fd3) which interferes with the two other virtual floppies used by DPMS. This bug is fixed in this v1.84c Beta version.

Using a combination of WinNTSetup and DPMS, it is possible (I think!) to install XP onto a system that contains only USB 3.0 ports and a SATA or RAID HDD (from an unmodified MS XP SP3 ISO). The system's firmware/hardware needs to be XP-compatible however (many modern BIOSes are not).  The process is a bit messy though! See http://www.easy2boot.com/add-payload-files/windows-install-isos/winntsetup/ for more details.

The file E2B_WINHELPER_&DW.zip contains E2B_WINHELPER_&DW.RMD. This file can be loaded by a Zalman or IODD drive so that it will appear as a E2B 'Helper' Removable Flash drive. This means you do not need to carry a separate Flash drive with your Zalman/IODD drive.

Tuesday 6 September 2016

How to set up multiple backgrounds in E2B (video by Liu Evan)

A guy named Liu Evan has posted a YouTube video on how to make wallpaper backgrounds and how to have a different background for each E2B menu.

He has also made some background templates available for you to download, so you can create a 'semi-transparent' square and merge it with the background bitmap using PhotoShop (though I guess you could use gimp or Paint .Net too) on which the E2B menu can be written, as shown below.


The E2B page which describes how to set up multiple backgrounds is here.