Thereare various ways of making a Windows 10 bootable USB stick. You can even do it in Linux - it is not difficult. There is a description of how to do it here: How to Create a Bootable Windows 10 USB in Linux
Use an iso of 1703 with a tool like YUMI to create a boot-able flash drive with your choice of OS with or with out UEFI. You can also load multiple images on to one drive and select the desired OS at boot. There are several products available online that will do this.
I managed to create a Windows 10 bootable 1793 USB by RUFUS. It had all the different versions of Windows 10 built in. I chose the one I wanted. I then booted the system I was trying to fix and the bootrec /fixboot worked. Unfortunately It still would not boot.
All, this is a curious problem after the creators (1703) update (OS Build 15063.413) on my HP Elitebook 8760w. Defragment and Optimize drives will not launch at all. For instance clicking on Start menu -> Microsoft Administrative Tools -> Defragment and Optimize Drives does nothing. With task manager open, it is apparent that no process has started. (or doesn't run enough to register) Further, opening an administrator console and executing dfrgui.exe does nothing either.
I'm hoping someone here may have a few thoughts on how to further debug the issue. From the kernel trace performed below, attempting to launch dfrgui.exe results in an ExitStatus 259 and actual ErrorCode 15005 apparently pointing to event data not matching template provided in manifest?? Defragment and Optimize drives worked just fine yesterday morning before the update, now nothing.
I then processed the event file, systemevents.etl, (5.5M) with tracerpt systemevents.etl which created a huge 46M dumpfile.xml. I have reviewed the dumpfile and paired it down to the starting and ending events related to dfrgui.exe (which thankfully is only 428K). However, I'm no wizard in interpreting window kernel tracing. Both files are too large to use here, but I can make further parts available if they will help.
"Important The GetExitCodeProcess function returns a valid error code defined by the application only after the thread terminates. Therefore, an application should not use STILL_ACTIVE (259) as an error code. If a thread returns STILL_ACTIVE (259) as an error code, applications that test for this value could interpret it to mean that the thread is still running and continue to test for the completion of the thread after the thread has terminated, which could put the application into an infinite loop."
Does anyone have any further ideas regarding what I can try to get dfrgui.exe running? If not, are there any other diagnostics I could do? I've posted to the microsoft answers board, but so far, I have only received a "Me Too" for the issue and suggestions to roll back. (which since this seems the only problem I know of, hardly makes the risk of a rollback attractive). What to try next? Let me know if there is something else I can post that might help.
On the suggestion of Biswa, after tracking down further option descriptions for defrag.exe to insure operations were correct for my SSD, I attempted a manual trim with it. It appears dfrag.exe is doing nothing as well other than starting and then exiting without more. Example,
So it appears defrag is doing nothing but printing the copyright and exiting. I have also tried with simply C: /A /V to get it to analyze C specifically, but no matter what I try, it simply prints the copyright and exits.
Basically snooping though TaskMgr services led me to 'defragsvc' which I then rt-clicked to "open in Services". I then found 'defragsvc' was actually renamed "Optimize drives". Checking properties, I found it disabled (which I changed to 'Manual') and viola! Clicking on Defragment and Optimize Drives in the start menu now works as it should.
The Windows Driver Kit (WDK) is used to develop, test, and deploy Windows Drivers.This topic contains information about versions of the Windows Driver Kit (WDK),Enterprise WDK (EWDK), and additional downloads for support purposes. To develop drivers,use the latest public versions of the Windows Driver Kit (WDK) and tools, available fordownload on Download the Windows Driver Kit (WDK).
To target Windows 8.1, Windows 8, and Windows 7, install an older WDK (Windows 11, version 21H2 and previous) and an older version of Visual Studio either on the same machine or on a separate machine. For links to older kits, see the table below.
Additionally, starting with Windows 11, version 22H2 release of the WDK and EWDK, WDF redistributable co-installers are no longer supported. To learn how to work around this change, see WDK Known Issues.
If your development targets systems that run Windows 10, version 1607 or Windows 10, version 1703, you should install Visual Studio 2015, and then also download and install the version of the Windows SDK for the targeted version of Windows 10, as identified in the following table.
If you have installed the WDK for Windows 10, version 1703 on a system that had the WDK for Windows 10, version 1607 installed, some files from the earlier version of the WDK might have been removed. To restore these files:
The Enterprise WDK (EWDK) is a standalone, self-contained, command-line environment forbuilding drivers and basic Win32 test applications. It includes theVisual Studio Build Tools, the SDK, and the WDK. This environmentdoesn't include all the features available in Visual Studio, such asthe integrated development environment (IDE).
Using the EWDK requires .NET Framework 4.7.2. For more information about which systems run this version of the framework, see .NET Framework system requirements. For links to download the .NET Framework, see .NET Framework system requirements.
To work with HAL Extensions, prepare your development system, running Windows 10, version 1709 or a later version of Windows 10. Also install the WDK or the EWDK, and then install the updated version of the Windows OEM HAL Extension Test Cert 2017 (TEST ONLY), available for download as a ZIP file: HAL_Extension_Test_Cert_2017.zip.
WinDbg is the latest version of WinDbg with more modern visuals, faster windows, a full-fledged scripting experience, built with the extensible debugger data model front and center. Formerly known as WinDbg Preview, it supports Windows 10 and Windows 11.
If you're debugging Windows XP, Windows Server 2003, Windows Vista, orWindows Server 2008 (or using one of these operating systems to runDebugging Tools for Windows), you need to use the Windows 7 release ofthe debugging tools. It's included in the SDK for Windows 7 and .NETFramework 4.0.
To install the Debugging Tools for Windows as a standalone component,start the SDK installer, and in the installation wizard, selectDebugging Tools for Windows, and clear all other components.
[German]Microsoft has added secretly a new feature to Windows 10 Creators Update: This is the first Windows build that supports multiple partitions on removable media (like USB-Sticks). Here are a few more details what's in and what's not.
The Fixed or Removable Media Bit is set by the firmware of a media controller. Media with Fixed Media Bit set are threated in Windows as hard disks and will be grouped in Windows Explorer within hard disks (see screenshot below).
It's possible, to create multiple partition on a USB stick using third party tools or Linux or even Windows command line tool diskpart. But (in contradiction to Linux) Windows will show only the first partition in Explorer for instance. All other partitions are ignored. This causes conflicts, if a multi-partition USB stick created under Linux shall be formatted in Windows. Windows formats only the first partition.
At Windows 10 Creators Update release we learned a lot about the childish Paint 3D app or about Windows ink. But Microsoft never mentioned the new multiple partition support in file system for removable media.
The above screenshot shows a removable media with two partitions within Windows disk management. We see the two partitions and also the logical drivers are offered to be opened in Windows Explorer. In Windows versions prior to Version 1703, only the first partition will be recognized in Windows.
Unfortunately Microsoft's implementation has stopped half way down the road. Well, we have an extension allowing Windows 10 Version 1703 to mount multiple partition on removable media and show the logical volumes within file manager. But the tools required to create such media structures are not updated in a proper way.
You can use the command line tool diskpart (as it was also possible in previous Windows versions) to create multiple partitions on a USB Stick and format the logical drives. But Windows disk management, used by most users, fails to handle this now media in a proper way.
Overall that's odd, so I will use third party partition tools like Mini Tools partition manager, to create media in a proper manner. Just a last note: If you have created a multi partition USB Stick in Windows 10 Version 1703, this media isn't fully supported on older Windows versions. Only the first partition will be recognized.
My system recently crashed (lost the system drive) and am forced into a fresh install of Windows. Since Windows 7 is EOL, I installed Windows 10 Pro (MB: Rog Rampage VI Extreme Encode, Graphics: PowerColor AXRX 570 4GBD5-3DHD/OC Red Dragon Radeon Graphic Card).
Even though it is not explicitly specified, the 2019 version allowed an OS Build of 1703. The 2020/2021 versions require a more recent OS Build. I don't know the specific build required, but after finally getting windows update to offer and update a feature update to build 20H2, the 2020 versions of the drivers installed.
3a8082e126