Windows 10: Tips and tricks - You saw it first on TenForums!

Discus and support Tips and tricks - You saw it first on TenForums! in Windows 10 Support to solve the problem; Thank you for your detailed + informative replies, @Kari *Smile I am already an Insider for quite some time now. I download the official Insider-ISO... Discussion in 'Windows 10 Support' started by Kari, Apr 6, 2017.

  1. Joanne Win User

    Tips and tricks - You saw it first on TenForums!


    Thank you for your detailed + informative replies, @Kari *Smile

    I am already an Insider for quite some time now. I download the official Insider-ISO as soon as Microsoft officially releases it.

    However, this time I got the ISO using this tool. This is the ISO I got:


    Tips and tricks - You saw it first on TenForums! [​IMG]



    As shown in this post of mine, DISM is not functioning with that ISO either... *Sad

    - Do you think that downloading the latest available Insider-ISO directly from Microsoft will make DISM work?

    Thank you!

    PS_1: @Brink, in his DISM tutorial claims that DISM is functioning with the ESD-ISO. You say that it does not, and my experience confirms you.

    PS_2: On that DISM tutorial I've linked you, a forum user claims that DISM error is nothing and suggests a so called "DISM off-line repair method". I do not understand this method and I doubt its usefulness. I am not asking from you, of course, to explain it to me, I am just stating my opinion.
     
    Joanne, Apr 11, 2017
    #16
  2. Joanne Win User

    Well, I got the official Insider ISO but DISM is still not functioning... *Sad


    Tips and tricks - You saw it first on TenForums! [​IMG]


    Anyway, I give up.
     
    Joanne, Apr 11, 2017
    #17
  3. Fafhrd Win User
    Something I'd like to see here - for curiosity's sake - is - what is the location of the diskimage that appears here in "\$WINDOWS.~BT\Sources\SafeOS\SafeOS.Mount" during setup/upgrade:


    Tips and tricks - You saw it first on TenForums! [​IMG]


    Obviously the disk drive letter "L:" in this case is arbitrary.

    I asked here, and was rewarded with a good solution when I wanted to find the location of a mounted ISO or VHD file:

    How do I find the path to the ISO file of a mounted virtual DVD. - Page 2 - Solved - Windows 10 Forums

    - where the solution was:

    Code: Get-Diskimage -devicepath \\.\L: where L: is the drive letter of the mounted image [/quote] So how can we find the SafeOS image location?
     
    Fafhrd, Apr 12, 2017
    #18
  4. Joanne Win User

    Tips and tricks - You saw it first on TenForums!

    Hello again...

    I have just finished the clean installation of Windows 10 Pro, Creators Update, using the official ESD-ISO from the Media Creation Tool (together with Rufus).

    I rushed in here to report that after using @Kari 's video tutorial (post #2), to clean install my OS with only the Store + Store Purchase App left, and every other Application removed, I have encountered the following:

    - I was not able to unpin the Store and Edge from my Start Menu. The "Unpin from start" option was not available! Only "Unpin from Taskbar" was available, for those 2 programs. (Everything else was already uninstalled, of course).

    After Googling for a little while, without any success, and after SCF /SCANNOW did not find any integrity violations, I have decided to:
    a) delete the "EmptyStart.xml" file from my System32 folder
    b) restore the Group Policy @Kari suggests to its default "Not configured" state.

    After rebooting, a bunch of empty tiles appeared in my Start Menu but now the option "Unpin from Start" was available again! So, I unpinned everything from my Start Menu manually, and now I have left it like this.

    Please, advise IF I should restore "EmptyStart.xml" from my recycle bin back to System32, and IF I should re-enable that Group Policy setting.

    I have just clean-installed with just the system's drivers. No software yet, neither my regular (usual) modifications, until I will (hopefully) get a reply (soon).

    Thank you.
     
    Joanne, Apr 12, 2017
    #19
  5. Joanne Win User
    I'm returning a day later, after having finalized my installation, to report that everything is working perfectly and that I have not faced any issues after deleting that "EmptyStart.xml" file from my System32 folder and after restoring that Group Policy setting at its default "Not configured" state.

    Thank you again for this handy tip.


    Tips and tricks - You saw it first on TenForums! [​IMG]
     
    Joanne, Apr 13, 2017
    #20
  6. cereberus Win User
    Re. Rules of Tips - point for general discussion,

    I wonder if the Rules here are limiting good suggestions.

    I see value in having a sticky post where good tips can be posted as they would in many case be the precursor to tutorials etc. I just think limiting it to ones never seen elsewhere, whilst maybe very satisfying, rather hamstrings peoples ability to provide valuable contributions.

    I think we should relax the Rules to "Tips not seen on Tenforums" - opinions anybody?
     
    cereberus, Apr 14, 2017
    #21
  7. Kari Win User
    Sorry, I very strongly disagree. The whole point of this thread is to collect tips and tricks found by our members, to see what we can come up with. It might keep the post count quite low, but that's the purpose of this thread.

    Any member is of course free to start a thread with good Windows tips found elsewhere or make a tutorial of them but that's not the point of this thread. This thread will exist to show stuff found out by Ten Forums members not previously published on other sites.
     
  8. cereberus Win User

    Tips and tricks - You saw it first on TenForums!

    Fair enough provided a general tips thread is also given a "Sticky" status so it always remains prominent.
     
    cereberus, Apr 14, 2017
    #23
  9. Barman58 Win User
    Sticky Threads are limited so we will not be adding any more to general support at this time - Of course any thread that generates a lot of activity will automatically remain at the top of the current threads
     
    Barman58, Apr 14, 2017
    #24
  10. cereberus Win User
    Create a full EUFI windows usb flash drive on a standard USB flash drive (no hard drive bit set)

    I have definitely not seen this elsewhere but one cool change in Windows 10 1703 is that it can now read (and create from diskpart) multiple partitions on a standard usb flash drive.

    I discovered this today and thought - that means I should be able to install Windows as UEFI now on a normal flash drive. Previously with any other version, you could only create a legacy bios install.

    So, I tried it and it works (I used wintousb software to do it).

    You need a decent speed usb3 really to get best performance.
     
    cereberus, Apr 14, 2017
    #25
  11. tockx16jolt, Apr 14, 2017
    #26
  12. cereberus Win User
    No that just creates a usb with Windows installation files on it. I am talking about a full version of windows that will execute from a flash drive. With 1703 it is now possible to do this with a uefi version on a standard flash drive (uefi requires two primary partitions, legacy bios only needed one).
     
    cereberus, Apr 15, 2017
    #27
  13. simrick Win User

    Tips and tricks - You saw it first on TenForums!

    Sounds like a tut to me! *Wink
     
    simrick, Apr 15, 2017
    #28
  14. @cereberus,
    Oh, thanks for the explanation. *Smile
     
    tockx16jolt, Apr 15, 2017
    #29
  15. cereberus Win User
    Mods - If it is felt this is in the wrong place or too long, please move it elsewhere. I put it here as I believe this is a technical first.

    How to create a bootable UEFI flash drive with multiple Winpe images on a standard flash drive. This is possible using version 1703 as it now handles multiple partitions on a standard removeable drive.

    So this post will show how you can put multiple winpe partitions on one flash drive in UEFI with a boot menu.

    This is a modified version of guide in Walkthrough: Boot Windows PE from a UEFI-based Hard Disk starting from step 2, and later uses a nodified version of method by Kyhi's tutorial to add additional boot entries for other OSs

    You can have say Macrium Reflect 6, Macrium Reflect 7, @Kyhi's Windows 10 recovery tool etc. all bootable on one standard flash drive.


    I believe this is truly a first. I developed this method based on MS information based on hard drives but had to modify it for a standard usb flash drive which was a bit of a challenge as some of the diskpart commands do not work on a removeable flash drive e.g. assigning drive letters.


    I apologise for length but I felt it was premature to call it a tutorial as this is "proof of concept" and better experts on me could probably polish this up.

    WARNING - you can create install Windows 10 installers but they do not work properly as they get confused due to presence of EFI on USB drive.

    DOUBLE WARNING - I cannot guarantee other Winpe isos will work as expected.

    TREBLE WARNING - So before you do anything - Make image backup of main OS drive first. I take no responsibility for any mishaps! This post is for adventurous persons who understand the potential risks. If you do not, DO NOT TRY IT.

    So let's start

    Step 1: Prepare USBInsert usb flash drive whilst running Windows 10 version 1703 and open an admin command prompt and run

    Warning: contents of flash drive are removed.


    diskpart
    list disk
    select disk n (n=usb drive number - be careful you select right drive)
    clean
    convert GPT
    create partition EFI size=200
    create partition primary size=2000 (adjust as appropriate)

    Install minitool partition wizard free if not already installed. m You need this as as you cannot assign drive letters for removeable drives in disk part but you can with MPW.

    Using MPW:

    Format EFI partition as FAT32 and give it a drive letter S
    Format Windows Partition as FAT32 and give it a drive letter TNote I use drive S for EFI and T for Windows partition - change as appropriate

    Step 2: Mount Iso

    In order to create the EFI, you need to mount a Windows 10 installation ioso - I used version 15063.

    Mount Windows PE Iso as a drive in Windows.
    This guide assumes the iso is mounted as drive D - change as appropriate

    Then mount iso you intend to have as a boot option as drive E.

    Step 3: Copy Windows PE files to the hard disk
    In this step, you copy Windows PE resource files to the hard drive from your bootable media. This example assumes the hard drive is blank.

    At a command prompt, copy the \EFI folder from your bootable media to the EFI folder of the EFI system partition on your hard drive, as in the following example:

    xcopy d:\EFI\* s:\EFI\* /cherkyfs

    where d is the letter of your bootable Windows PE media that contains a Windows 10 15063 image.

    Copy all of the files with an .efi extension from iso to the \EFI\Microsoft\Boot folder.

    If any ask for permission to overwrite, just select no.

    copy d:\efi\boot\*.efi s:\EFI\Microsoft\Boot\*

    copy d:\*.efi s:\EFI\Microsoft\Boot\*

    Copy the \Sources folder from your drive E image sources folder of the Windows PE partition on your hard drive, as in the following example:

    xcopy e:\sources\* t:\sources\* /cherkyfs

    Copy the \Boot\boot.sdi file from your bootable media to the \Sources folder of the Windows PE partition on your hard drive, as in the following example:

    copy e:\boot\boot.sdi t:\sources\

    Delete the boot configuration data (BCD) file that you copied from your bootable media.

    Note that you will create a new one in the next step, as in the following example,

    del s:\EFI\Microsoft\Boot\BCD /f

    Step 4: Configure the System Store
    In this step, you will create and configure a new system store by using the BCDEdit tool. The system store is a file named BCD that holds information required to load Windows or other boot applications. BCD replaces Boot.ini.

    BCDEdit is a command-line tool that is designed to manage system stores/Create a new system store, as in the following example:

    bcdedit -createstore S:\EFI\Microsoft\Boot\BCD

    Create new entries in the system store for bootmgr, globalsettings, dbgsettings, ramdiskoptions, and Windows PE.

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {bootmgr} /d "Boot Manager"

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {globalsettings} /d "globalsettings"

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {dbgsettings} /d "debugsettings"

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {ramdiskoptions} /d "ramdiskoptions"

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -create /d "Windows PE" -application osloader

    You can put all above in a batch file if you like.

    Note: The last command returns a GUID value for Windows PE store. Cut and paste to a text file.

    Set the default entry that the boot manager selects when the timeout expires. Substitute <GUID> with the GUID value for the Windows PE store in the following example:

    bcdedit -store S:\EFI\Microsoft\Boot\BCD /default <GUID from Windows PE store>

    Do not put above in a batch file as you need to use GUID from above.

    Run the following commands to configure bootmgr:

    You can put all of following in a second batch file if you like.

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} device partition=s:

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} path \EFI\Microsoft\Boot\bootmgr.efi

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} locale en-us

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} timeout 10Run the following commands to configure the boot loader:

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} device ramdisk=[t:]\sources\boot.wim,{ramdiskoptions}

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} path \windows\system32\winload.efi

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} osdevice ramdisk=[t:]\sources\boot.wim,{ramdiskoptions}

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} systemroot \windows

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} winpe yes

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} nx optinbcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} detecthal yes

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -displayorder {Default} -addfirst

    Run the following commands to configure dbgsettings:

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {dbgsettings} debugtype Serial

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {dbgsettings} debugport 1

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {dbgsettings} baudrate 115200

    Run the following commands to configure ramdiskoptions:

    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {ramdiskoptions} ramdisksdidevice partition=t:
    bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {ramdiskoptions} ramdisksdipath \sources\boot.sdi

    Now check drive boots ok with initial winpe drive added.

    Set bios to boot from usb drive mode and ensure pc is in UEFI mode.

    Step 5: Add additional Winpse partitions

    Boot back to Windows 10 and create additional Winpse partitions as appropriate (format as ntfs) using MPW and add a drive letter eg U.

    Ignore error message saying Windows on recognises one partition.
    Mount new winpe iso as E drive and copy all files to new partition

    Step 6: Create boot addition entry batch file
    Now create an addiso.cmd file on say the root of C drive (anywhere will do) using following text copied from post #845 of @Kyhi's great tutorial.

    The only modification is I added "-store s:\efi\microsoft\boot\bcd" to every bcdedit command to point to usb bcd.

    Obviously change S as appropriate.

    In two places where it says "Win 10 PE", you can change it to whatever you like e.g. "Macrium V7"

    Change 3rd line from end to bcdedit /set {bootmgr} displaybootmenu False if you want a graphical menu

    Note some lines are continued over two lines. In .cmd file, thesw are one line.

    ---------------------------------------------------------------------------------------------
    @echo off

    title WinPESE UEFI BOOT MENU OPTION v17.01.24

    rem ================================ YY.MM.DD

    color 17

    :start

    cls

    echo.

    echo ===============================================================================

    echo. YOU HAVE CHOOSEN TO ADD A WINPESE BOOTABLE PARTITION TO YOUR HOST

    echo ===============================================================================

    echo.

    set /p drvlttr= ^> ENTER THE DRIVE LETTER ASSIGNED TO THE WINPESE PARTITION:

    if [%drvlttr%]==[] echo.&echo Invalid User Input&echo.&echo The Partition Drive Letter Can Not Be Blank&echo.&pause&goto :start

    if not exist %drvlttr%:\sources\boot.wim echo.&echo Invalid User Input&echo.&echo The %drvlttr%:\sources\boot.wim Was Not Found&echo.&pause&goto :start

    cls

    echo.

    echo Configuring UEFI Boot Option for WinPESE Recovery Tools

    echo --------------------------------------------------------------------------

    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe -store s:\efi\microsoft\boot\bcd /create /d "Win 10 PE" /Device') do (set deviceid={%%g})

    echo --------------------------------------------------------------------------

    echo DEVICE ID = %deviceid%

    echo --------------------------------------------------------------------------

    bcdedit -store s:\efi\microsoft\boot\bcd /set %deviceid% ramdisksdidevice partition=%drvlttr%:

    bcdedit -store s:\efi\microsoft\boot\bcd /set %deviceid% ramdisksdipath \boot\boot.sdi

    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe -store s:\efi\microsoft\boot\bcd /create /d "Win 10 PE" /application osloader') do (set guid={%%g})

    echo --------------------------------------------------------------------------

    echo GUID = %guid%

    echo --------------------------------------------------------------------------

    bcdedit -store s:\efi\microsoft\boot\bcd /set %guid% device ramdisk=[%drvlttr%:]\sources\boot.wim,%deviceid%

    bcdedit -store s:\efi\microsoft\boot\bcd /set %guid% osdevice ramdisk=[%drvlttr%:]\sources\boot.wim,%deviceid%

    bcdedit -store s:\efi\microsoft\boot\bcd /set %guid% systemroot \windows

    bcdedit -store s:\efi\microsoft\boot\bcd /set %guid% path \Windows\system32\boot\winload.efi

    bcdedit -store s:\efi\microsoft\boot\bcd /set %guid% winpe yes

    bcdedit -store s:\efi\microsoft\boot\bcd /set %guid% detecthal yes

    bcdedit -store s:\efi\microsoft\boot\bcd /displayorder %guid% /addlast

    bcdedit -store s:\efi\microsoft\boot\bcd /set {bootmgr} displaybootmenu True

    bcdedit -store s:\efi\microsoft\boot\bcd /set {bootmgr} timeout 10

    timeout /t 5 >nul

    -------------------------------------------------------------------------------------------

    Step 7: Add boot entry

    Simply run the addiso.cmd file with admin rights and enter drive letter of partition to be added.

    Step 8: Use new flashdrive

    Reboot and select appropriate winpe as required.

    WARNING: Remember this is proof of concept and anybody trying this does so at their own risk Always make backup images first.
     
    cereberus, May 7, 2017
    #30
Thema:

Tips and tricks - You saw it first on TenForums!

Loading...
  1. Tips and tricks - You saw it first on TenForums! - Similar Threads - Tips tricks saw

  2. Windows 11 tips & tricks

    in Windows 10 Gaming
    Windows 11 tips & tricks: What the tips and tricks for windows 11[Original Title: Windows 11] https://answers.microsoft.com/en-us/windows/forum/all/windows-11-tips-tricks/0b48e462-ed0b-4d3e-9863-877e9780e1fa
  3. Windows 11 tips & tricks

    in Windows 10 Software and Apps
    Windows 11 tips & tricks: What the tips and tricks for windows 11[Original Title: Windows 11] https://answers.microsoft.com/en-us/windows/forum/all/windows-11-tips-tricks/0b48e462-ed0b-4d3e-9863-877e9780e1fa
  4. Windows Terminal Tips and Tricks

    in Windows 10 News
    Windows Terminal Tips and Tricks: Windows Terminal is a command-line tool developed by Microsoft. Using this tool, you can run multiple command-line tools like Command Prompt, PowerShell, etc., in separate tabs. Apart from this, you can also add different command-line emulators to the Windows Terminal by...
  5. Firewalls tips&Tricks

    in AntiVirus, Firewalls and System Security
    Firewalls tips&Tricks: Hello community here, What's recommended tips and tricks of Windows built-in Firewalls? what should ON or OFF? I wanna know right configs and make it more secure to harden traffics and kinds of threats? Or to suggest me good guides of it. I am afraid to change something...
  6. Thank You TenForums.

    in Windows 10 Support
    Thank You TenForums.: I would just like to thank the TenForums Administrators and Team for their continued support this year, it is very much appreciated. I would also like to thank ALL the members who have given their time FREE this year in the endeavour to help others. Let us hope that 2021 is...
  7. Windows Task Manager Tips and Tricks you may not be aware of

    in Windows 10 News
    Windows Task Manager Tips and Tricks you may not be aware of: [ATTACH]Task Manager is the most important program you will have access to when everything else has either crashed or not responding. The post lists down […] This article Windows Task Manager Tips and Tricks you may not be aware of first appeared on TheWindowsClub.com. read...
  8. VM Tips and Tricks?

    in Windows 10 Virtualization
    VM Tips and Tricks?: Hello, When I purchased my recent laptop, I had it come downgraded to Windows 7 Pro on a junk drive. So I essentially had a Windows 7 key and 8 key. I replaced the junk drive with an SSD and installed Windows 8 using the key in the BIOS. Today, the laptop is on Windows 10...
  9. Tips & Tricks

    in Windows 10 Support
    Tips & Tricks: Post any tips, tricks, or workarounds here. How to use Windows 10 Technical Preview PC Start Search Cortana Apps Photos File Explorer Maps Xbox Personalization and settings Touch and keyboard Updates and feedback Windows Keyboard shortcuts (there's probably a...
  10. Windows 10: Tips, Tricks, and Tweaks

    in Windows 10 News
    Windows 10: Tips, Tricks, and Tweaks: Despite still being very much an early preview, Windows 10 is already brimming with handy new featues, along with new tweaks and tricks—and, because the operating is still in preview, a handful of those tricks unlock powerful functionality hidden to everyday users....