Hazar's experimental no loaders patch

Discussion in 'Windows 7' started by Hazar, Aug 14, 2009.

  1. jrangles

    jrangles MDL Novice

    May 10, 2008
    3
    0
    0
    woooo....

    Fantastic... thanks
     
  2. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,507
    456
    90
    Good job!

    Thanks unternmensch
     
  3. jackpet

    jackpet MDL Novice

    Aug 10, 2009
    17
    0
    0
    Wow! Vadim, r u even AWARE who Hazar is?!! He is the co-architect of the most popular loader used for Win7.

    He does not need "borrowed glory." He has plenty of it on his own.

    I'm quite sure that he did this as an experiment and perhaps as a prelude to adding it as yet another option on his own excellent loader (this would require Anemeros' consent, of course).
     
  4. Rudi1

    Rudi1 MDL Member

    May 30, 2007
    208
    67
    10
    More is better,so It's really nice that you are work together:)
    If you can made this patch to work with any version will be the most usefull tool for me and I'am shure for other too!:rolleyes:
     
  5. Rudi1

    Rudi1 MDL Member

    May 30, 2007
    208
    67
    10
    Work very well in my sytem,so just wait and see results from the others.
     
  6. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,507
    456
    90
    Rudi1 can you recieve updates etc.?
     
  7. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,507
    456
    90
    Dead on.

    Probs gonna be Dell Mode by amneros lol
     
  8. Rudi1

    Rudi1 MDL Member

    May 30, 2007
    208
    67
    10
  9. chronos56

    chronos56 MDL Novice

    Mar 25, 2008
    4
    0
    0
    Another request for an uninstall

    I was looking at this to use on another PC that has an odd BIOS and will not work with the Grub loader, and accidentally activated it on my already BIOS patched and activated system. I was able to restore the .bak files to the original and grab a copy of the affected reg sections from another working machine so my system now appears to be OK.

    Please, add a "Proceed Y/N" prompt to the beginning of the script, back up the affected registry entries and allow for an uninstall script.

    From what I have been able to gather from looking at the code, this seems to place the PC in a state of never looking to see if the product has been activated and thus never timing out. I would rate this type of patch as vulnerable to any kind of WGA check.

    The problem PC is currently running Enterprise edition using a VM activation server hack, all that is required is to run the VM machine once every 6 months, we can live with that. If I cannot get a modded BIOS then I believe that this may be the next best alternative to activating W7.

    Thanks for all the good work, to both the original author and Hazer for simplifying the code.

    Chronos
     
  10. ripcord01

    ripcord01 MDL Junior Member

    Jul 30, 2009
    86
    0
    0
  11. ripcord01

    ripcord01 MDL Junior Member

    Jul 30, 2009
    86
    0
    0
    Oh damn, you're absolutely right and I forgot to run it as the admin! I'll try it again.
     
  12. Reign_Of_Freedom

    Reign_Of_Freedom MDL Expert

    Aug 1, 2009
    1,247
    467
    60
    ^^ Rofl.Yen we need some animated smileys(hint hint) :D
     
  13. ripcord01

    ripcord01 MDL Junior Member

    Jul 30, 2009
    86
    0
    0
    Well unless the previous install (non-admin) screwed something up the outcome regarding error and activation remain the same for the second time install as admin.
     
  14. Danimator

    Danimator MDL Junior Member

    Jul 18, 2009
    60
    0
    0
    Well, finally got this to work....for those that had trouble with it try this....

    extract the .exe.......edit the run.bat file..and replace all the code with the other code posted here from the other guy..

    REM PRERUN
    MD %TEMP%\PATCHFILES

    FOR /F "tokens=3" %%A IN ('REG QUERY "HKCU\Control Panel\Desktop\MuiCached" /v "MachinePreferredUILanguages"') DO SET LANG=%%A

    ECHO.
    ECHO Language found %LANG%
    ECHO.

    REM TAKEOWN
    TAKEOWN /F %WINDIR%\System32\%LANG%\slui.exe.mui
    TAKEOWN /F %WINDIR%\System32\%LANG%\systemcpl.dll.mui
    TAKEOWN /F %WINDIR%\System32\%LANG%\sppcommdlg.dll.mui
    TAKEOWN /F %WINDIR%\System32\slmgr.vbs
    TAKEOWN /F %WINDIR%\System32\winver.exe

    REM GRANT
    icacls %WINDIR%\System32\%LANG%\slui.exe.mui /grant administrators:F
    icacls %WINDIR%\System32\%LANG%\systemcpl.dll.mui /grant administrators:F
    icacls %WINDIR%\System32\%LANG%\sppcommdlg.dll.mui /grant administrators:F
    icacls %WINDIR%\System32\slmgr.vbs /grant administrators:F
    icacls %WINDIR%\System32\winver.exe /grant administrators:F

    REM COPY
    ren %windir%\System32\winver.exe winver.exe.bak
    ren %windir%\System32\slmgr.vbs slmgr.vbs.bak
    COPY slmgr.vbs %windir%\System32
    IF EXIST %windir%\SysWOW64 COPY winver64.exe %windir%\System32\winver.exe ELSE COPY winver.exe %windir%\System32
    COPY %windir%\System32\%LANG%\slui.exe.mui "%TEMP%\PATCHFILES"
    COPY %windir%\System32\%LANG%\systemcpl.dll.mui "%TEMP%\PATCHFILES"
    COPY %windir%\System32\%LANG%\sppcommdlg.dll.mui "%TEMP%\PATCHFILES"
    syscpl_patch.exe -force -guiless -auto -DIR "%TEMP%\PATCHFILES" -nobackup
    sppcommdlg_patch.exe -force -guiless -auto -DIR "%TEMP%\PATCHFILES" -nobackup
    slui_patch.exe -force -guiless -auto -DIR "%TEMP%\PATCHFILES" -nobackup

    REM RENAME
    REN %WINDIR%\System32\%LANG%\slui.exe.mui slui.exe.mui.bak
    REN %WINDIR%\System32\%LANG%\systemcpl.dll.mui systemcpl.dll.mui.bak
    REN %WINDIR%\System32\%LANG%\sppcommdlg.dll.mui sppcommdlg.dll.mui.bak

    REM COPYBACK
    COPY %TEMP%\PATCHFILES\slui.exe.mui %WINDIR%\System32\%LANG%\
    COPY %TEMP%\PATCHFILES\systemcpl.dll.mui %WINDIR%\System32\%LANG%\
    COPY %TEMP%\PATCHFILES\sppcommdlg.dll.mui %WINDIR%\System32\%LANG%\

    REM REG
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v Schedule /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v ActivationInterval /t REG_DWORD /d 00000000 /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v NotificationDisabled /t REG_DWORD /d 00000001 /f
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Plugins\Modules" /f
    shutdown -r -t 00
    sc config sppuinotify start= Disabled
    exit




    save the file.....

    do a ctrl-alt-del......and do an end-task on "winlogon", and the software protection service (spp-something or other,..forget the filename).....

    then, goto "File"..."New Task (run...)".....and browse to the newly saved run.bat file, and run it

    let it do it;s thing, then reboot...It may not auto-reboot, mine didnt, I had to do a fresh restart, but for some reason this worked perfectly....If I just ran the .exe as admin, it never worked, always said 30 days to activate, but if I did it like I just typed about, it works perfectly for me.

    Hope that all makes sense :p
     
  15. TaurusManUK

    TaurusManUK MDL Novice

    Nov 23, 2008
    1
    0
    0
    Wow...amazing! of all the loaders I tried on my dell inspiron 8600, this is the only one that worked. I almost gave up on this machine after many formats and activation attempts...well done....
     
  16. Daz

    Daz MDL Developer / Admin
    Staff Member

    Jul 31, 2009
    9,534
    67,251
    300
    Hmm so this one modifies system files, its possible for MS to detect and block this just like the old Windows XP mods then right?.. In which case people should only use this if nothing else works.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. ripcord01

    ripcord01 MDL Junior Member

    Jul 30, 2009
    86
    0
    0
    Well just did a virgin install of Windows 7 Ultimate (MSDN) ISO, this time ran the exe as admin, and it made absolutely no difference. Same error, as well as not activating.

    Danimator,
    Are you doing this on a Intel Mac? If the answer is yes can you upload the corrected file here? Otherwise what util do you use to extract the .exe?

    Thanks
     
  18. twiz

    twiz MDL Senior Member

    Jul 30, 2009
    401
    1
    10
    #38 twiz, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    The modified file was in his comment...
    Code:
    REM PRERUN
    MD %TEMP%\PATCHFILES
    
    FOR /F "tokens=3" %%A IN ('REG QUERY "HKCU\Control Panel\Desktop\MuiCached" /v "MachinePreferredUILanguages"') DO SET LANG=%%A
    
    ECHO.
    ECHO Language found %LANG%
    ECHO.
    
    REM TAKEOWN
    TAKEOWN /F %WINDIR%\System32\%LANG%\slui.exe.mui
    TAKEOWN /F %WINDIR%\System32\%LANG%\systemcpl.dll.mui
    TAKEOWN /F %WINDIR%\System32\%LANG%\sppcommdlg.dll.mui
    TAKEOWN /F %WINDIR%\System32\slmgr.vbs
    TAKEOWN /F %WINDIR%\System32\winver.exe
    
    REM GRANT
    icacls %WINDIR%\System32\%LANG%\slui.exe.mui /grant administrators:F
    icacls %WINDIR%\System32\%LANG%\systemcpl.dll.mui /grant administrators:F
    icacls %WINDIR%\System32\%LANG%\sppcommdlg.dll.mui /grant administrators:F
    icacls %WINDIR%\System32\slmgr.vbs /grant administrators:F
    icacls %WINDIR%\System32\winver.exe /grant administrators:F
    
    REM COPY
    ren %windir%\System32\winver.exe winver.exe.bak
    ren %windir%\System32\slmgr.vbs slmgr.vbs.bak
    COPY slmgr.vbs %windir%\System32
    IF EXIST %windir%\SysWOW64 COPY winver64.exe %windir%\System32\winver.exe ELSE COPY winver.exe %windir%\System32
    COPY %windir%\System32\%LANG%\slui.exe.mui "%TEMP%\PATCHFILES"
    COPY %windir%\System32\%LANG%\systemcpl.dll.mui "%TEMP%\PATCHFILES"
    COPY %windir%\System32\%LANG%\sppcommdlg.dll.mui "%TEMP%\PATCHFILES"
    syscpl_patch.exe -force -guiless -auto -DIR "%TEMP%\PATCHFILES" -nobackup
    sppcommdlg_patch.exe -force -guiless -auto -DIR "%TEMP%\PATCHFILES" -nobackup
    slui_patch.exe -force -guiless -auto -DIR "%TEMP%\PATCHFILES" -nobackup
    
    REM RENAME
    REN %WINDIR%\System32\%LANG%\slui.exe.mui slui.exe.mui.bak
    REN %WINDIR%\System32\%LANG%\systemcpl.dll.mui systemcpl.dll.mui.bak
    REN %WINDIR%\System32\%LANG%\sppcommdlg.dll.mui sppcommdlg.dll.mui.bak
    
    REM COPYBACK
    COPY %TEMP%\PATCHFILES\slui.exe.mui %WINDIR%\System32\%LANG%\
    COPY %TEMP%\PATCHFILES\systemcpl.dll.mui %WINDIR%\System32\%LANG%\
    COPY %TEMP%\PATCHFILES\sppcommdlg.dll.mui %WINDIR%\System32\%LANG%\
    
    REM REG
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activ ation" /v Schedule /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activ ation" /v ActivationInterval /t REG_DWORD /d 00000000 /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activ ation" /v NotificationDisabled /t REG_DWORD /d 00000001 /f
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Plugi ns\Modules" /f
    shutdown -r -t 00
    sc config sppuinotify start= Disabled
    exit
    Just copy it, open a text editor and save it as <whatever>.bat

    To open up the EXE use any archive utility... WinZIP, WinRAR, 7ZIP, etc.
     
  19. Danimator

    Danimator MDL Junior Member

    Jul 18, 2009
    60
    0
    0
    Nope, doing it on a pc...with an Intel DP45SG mobo. Use winrar to extract the .exe file
     
  20. ripcord01

    ripcord01 MDL Junior Member

    Jul 30, 2009
    86
    0
    0
    #40 ripcord01, Aug 15, 2009
    Last edited: Aug 15, 2009
    Thanks folks for the Winrar etc... reference. However, we really aren't comparing oranges to oranges. All the Windows 7 loaders have plagued Intel Mac's with excessively long boot times. Typically 30 sec sitting at a black screen with blinking cursor before it continues to boot normally. This is hazar's first attempt at helping to rectify the situation. This may circumvent the long boot time but without it activating it's useless to us. We might as well just not install a loader and we'll end up with the same thing. :(