Windows 10 Recovery Tools - Bootable Rescue Disk


  1. Posts : 2,324
    Win10
       #1201

    Ztruker said:
    On my system, echo %date% yields Fri 01/05/2018.
    It depends on your Computer's "date" defaults in Settings mine currently echos 05-Jan-18

    Windows 10 Recovery Tools - Bootable Rescue Disk-image.png



    Windows 10 Recovery Tools - Bootable Rescue Disk-image.png
    Last edited by Kbird; 05 Jan 2018 at 21:30.
      My Computers


  2. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #1202

    So a better method is needed that always gets a valid format.
      My Computers


  3. Posts : 31,611
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #1203

    Ztruker said:
    So a better method is needed that always gets a valid format.
    There's one here...
    A variant of script that works locale-independently. Put it in a text file with .cmd extension and run...
    https://stackoverflow.com/questions/...cmd-exe-script

    I did (well, I saved as showdate.bat and added @echo off as a first line). Seems to cope with changing date formats between runs, Here's how it copes with US, UK and YYYY-MM-DD formats.

    Windows 10 Recovery Tools - Bootable Rescue Disk-date-formats.png
      My Computers


  4. Posts : 2,324
    Win10
       #1204

    Bree said:
    There's one here...
    https://stackoverflow.com/questions/...cmd-exe-script

    I did (well, I saved as showdate.bat and added @echo off as a first line). Seems to cope with changing date formats between runs, Here's how it copes with US, UK and YYYY-MM-DD formats.

    Windows 10 Recovery Tools - Bootable Rescue Disk-date-formats.png
    @Bree That particular version doesn't work with non-English languages apparently after reading the comments on that page, so I played with another version which supposedly does ( I can't test it ) and put it into a Batch file I wrote as example code with comments etc for others to try....it will need further work once we know if the method works in other Locales , but wouldn't be much work since Kyhi's Script can call the Variable depending on which you want/need.

    Zip File attached , open a command prompt in the extracted Folder and type getdate {enter}

    and hopefully you will see

    Windows 10 Recovery Tools - Bootable Rescue Disk-image.png
    KB.
    Windows 10 Recovery Tools - Bootable Rescue Disk Attached Files
      My Computers


  5. Posts : 4,142
    Windows 3.1 to Windows 11
    Thread Starter
       #1205

    Keep in mind there are certain characters that can not be used in file names...
    Considering the number of Program Downloads - and then considering changing the batch for (one) PC's time and date settings..
    carry On...
      My Computer


  6. Posts : 2,324
    Win10
       #1206

    Kyhi said:
    Keep in mind there are certain characters that can not be used in file names...
    Considering the number of Program Downloads - and then considering changing the batch for (one) PC's time and date settings..
    carry On...
    yes for example you can't use / in the .iso file name.... ( any file name actually ) but you can use - or . between date numbers both acceptable , I used - in the examples below.

    it took about 5 mins to insert the Code above into the WINPESE.CMD file and rem out the existing set dtstamp lines, and change the dtstamp variable name to dtsampUK (or US) ...more info in the files......it works fine for me making a 64bit .iso with either UK or US type dates , whether it works for European Languages I don't know , I am not an expert PE script maker and can't test ..... but perhaps someone can try these and report back, both work for me no matter the computer date....

    KB
    Windows 10 Recovery Tools - Bootable Rescue Disk Attached Files
      My Computers


  7. Posts : 14
    Windows 10 Home
       #1207

    Hi kbird
    I made a small test with a modify version of your changes and the output of the litle script with a XP portuguese system give me the output as planed
    Date=09-01-2018

    At home I will test with a portuguese and french versions (win 8.1 and 10) to see what happens...

    by the way, I already test the ISO file in a 32/64 format and it works as planned with 3 unbootable Win 10 installations.
    I validate and took all necessary files, I test the software that comes to it, and only found one or two problems.
    one of them must be related with the lack of temp memory drive that is created.... if I make one or two updates of the programs, I became receiving error msgs.
    other is eset that can't update it goes until the 98% then stops and give me the msg that it can't access the update site...
    can we PM here, I need to talk with Kyhi...
      My Computer


  8. Posts : 2,324
    Win10
       #1208

    alr tech said:
    Hi kbird
    I made a small test with a modify version of your changes and the output of the litle script with a XP portuguese system give me the output as planed
    Date=09-01-2018

    At home I will test with a portuguese and french versions (win 8.1 and 10) to see what happens...

    by the way, I already test the ISO file in a 32/64 format and it works as planned with 3 unbootable Win 10 installations.
    I validate and took all necessary files, I test the software that comes to it, and only found one or two problems.
    one of them must be related with the lack of temp memory drive that is created.... if I make one or two updates of the programs, I became receiving error msgs.
    other is eset that can't update it goes until the 98% then stops and give me the msg that it can't access the update site...
    can we PM here, I need to talk with Kyhi...
    Hi ALR , good to know they work , you can have a 2 digit Year if you prefer it , just remove REM on that line in the file.

    I am not sure why the Disks are unbootable ? is it a disk issue or a computer issue?

    You can PM yes, but I would try with a detailed message here 1st , the good thing about that is everyone can help and gain some new knowledge too.

    KB.
      My Computers


  9. Posts : 14
    Windows 10 Home
       #1209

    Hi kbird

    Like I promise I do some tests with other PCs with different locals.. and for now it gives to me the same.
    Date=09-01-2018
    of course if someone doesn't like "-" it can change the char by "." or "_". Or even without any char linking the vars.
    let's see other opinions...

    Kbird said:
    I am not sure why the Disks are unbootable ? is it a disk issue or a computer issue?
    :) well I'm working with 3 machines that didn't boot properly and the common recipes did not work...
    one had a bad drive.... i retest several times but the HD is in it´s final life. And it was changed... but before that I had to retrieve the Win Keys and others, like files. its done.
    the other it was a windows update that failed.. and the machine refuses too boot in windows only PE... chkdsk didn't help, common script didn't finished... I had to use other utilities, but this new machines with uefi bios left my normal utility pens no longer useful... but rufus make other utilities uefi compatible and yours ISO, and they did recover the disk.
    The Win 10 pro was reinstalled, software and is almost done.
    The third is a HP machine it took me several hours to disable the protection in eufi bios. Someone power off the machine when it was upgrading, they try late recover it.. but they do mistakes and they try to install a 8.1 recovery. So the win 10 became a mess and I try everything to recover, it failed.
    I had to retrieve the keys, files search for virus and make a new installation. the problem is that this model doesn't have a HP win 10 support... its recent.. but the win 10 installed normally.. and I'm looking in HP for 2 win 10 drivers to use with similar HP models.. and I have to create a recovery with Macrium..
    It's taking time but I only work with them when I arrive home...

    With Kyhi, is with my findings in the ISO...
    of course the pertinent conclusions will be post later
      My Computer


  10. Posts : 138
    Windows 10
       #1210


    Does running "DISM restore health" affect manual changes made in services.msc (such as disabling a Windows service) or group policy changes? In other words, does it revert such changes back to default?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:49.
Find Us




Windows 10 Forums