Rearm Wizard - The Premier Rearm Solution for Windows 7 and Office 2013

Discussion in 'MDL Projects and Applications' started by timesurfer, Mar 27, 2013.

  1. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  2. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,710
    210
    Gotta go, too late already. :eekout:Stay frosty. :cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yep...same here. ´night at all :31: :sleep2:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Dream of turtles and dolphins...
     
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,710
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #426 timesurfer, Apr 27, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,710
    210
    The month names are BS because the Romans kept the names when they moved the begin of the year from March to January.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Whew back to a sane thread :rolleyes:...lol

    Actually the guy who created the 12 month Gregorian calendar had a 13 month calendar before he changed it or something like that. In fact there was a movement to change the calendar to 13 months some time during the 12th month occupation. I forget the details but that is basically it

    Let's stay on topic though if you don't mind

    D420 :suicide:

    TS
     
  9. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,455
    989
    60
    Agreed!









    (some more text)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,710
    210
    Are you on default settings? With mine it is 62 pages.

    Take your time. :coffee::caffeine:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    62 or 246 it's still hella long to read every post :suicide:...lol
     
  12. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,710
    210
    May the Schwartz be with you. :starwars:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #434 timesurfer, Apr 29, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  14. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #435 s1ave77, Apr 29, 2013
    Last edited by a moderator: Apr 20, 2017
    Made some little progress and got Check.bat working here :D. Weird thing is processing the IR6.bat in RE. Two lines in the code are very bitchy.

    Code:
    echo for /f %%%%A IN ('"cscript /nologo drive.vbs"') do set dl=%%%%A>>%file% 
    echo set dl=%%dl:~0,-1%%>>%file%
    In those the drive letter for systemdrive is determined during IR6 is beeing processed. There has to be one empty space at the end of the for loop line (after %file%) but must not be in second line :doh:.

    Then it´s processed successfully and after reboot it lasts a moment and the slmgr /dlv window appears and confirms OOBE Grace 30 days with 5 rearms left.

    In case only one additional space sneaks in, then IR6.bat in RE throws the "Reg Entry or Value not found"-Error, as it tries to load
    Code:
    C: \Windows\System32\config\system
    instead of
    Code:
    C:\Windows\System32\config\system
    :mad:.

    Good thing here is to create a Win 7 system in a VM rearm till no rearms left and forward the time via Time Settings and create a snapshot.


    So at least Check.bat is working...but i found no way so far to get it correctly written from Duality into Check.bat :hmm:. There are always minimum to spaces too much.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #436 timesurfer, Apr 29, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I just don't understand. We create IR6.bat and the other .bat's, we create .bat with IORRT but why can't we in D420 create check :confused:...lol

    :suicide:

    Maybe MD will show up or Cody :worthy:
     
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    I remember a space like you suggest also affecting something before...
     
  17. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,710
    210
    Microsoft 1, logic 0.

    Now I know why the Batch to EXE did mess up. Usually these utilities optimize spaces in the conversion process.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #439 s1ave77, Apr 29, 2013
    Last edited by a moderator: Apr 20, 2017
    GOTCHA!

    Solution is quite simple, as nearly always...:doh:.

    A little loop to cut all spaces is really helpful:

    Code:
    for /f %%A in ('"cscript /nologo drive.vbs"') do set dl=%%A 
    :loop
    if "%dl:~-1%"==" " set "dl=%dl:~0,-1%" & goto :loop
    
    Then the drive letter, e.g. C: is set correctly :good3:. This way it should be used in Duality and in Check.bat. Now i can work on the write part, and i´m very optimistic it will work :smartass:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    What i realised so far is, when doing that conversion, some reg-queries aren´t handled correctly. Had this problem when working on my KMS Server service Config script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...