Trilogy 4.2

Discussion in 'MDL Projects and Applications' started by timesurfer, Feb 11, 2011.

Thread Status:
Not open for further replies.
  1. Win7_User

    Win7_User MDL Novice

    Nov 22, 2010
    29
    7
    0
    Say, on installing IR5 it does: REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v NotificationDisabled /t REG_DWORD /d 1 /f >NUL

    On uninstalling it does: REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v NotificationDisabled /t REG_DWORD /d 0 /f >NUL

    What does this do exactly? Does it stop notification nags/balloon tips from showing up on my system when the 30 days are nearly over?
     
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #182 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  3. Win7_User

    Win7_User MDL Novice

    Nov 22, 2010
    29
    7
    0
    Yeah, that should work. On that note, I was also thinking of adding an offline registry editor (that can load/edit Vista/Win7 registry as well) with a good GUI to my XP Pro boot CD. Then I can even do the registry edit manually on a system if required. Do you know if such an editor exists?
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Ask in scripting forum
     
  5. Win7_User

    Win7_User MDL Novice

    Nov 22, 2010
    29
    7
    0
    Cheers, will do. Thanks for all your help. :)
     
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    :shisha:...lol
     
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #187 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #188 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  9. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    That is nice of you :shisha:
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #190 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I tried this and it won't install task if IR5 is not installed hence IR5 task is not installed however when IR5 is installed it won't re-create task...lol

    Code:
    :RearmIR5
    CLS
    cscript.exe /b %windir%\system32\slmgr.vbs /rearm
    IF %ERRORLEVEL% NEQ 0 ( echo No rearms detected...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    ) ELSE (
    net stop sppsvc >NUL
    net start sppsvc >NUL
    schtasks /query /tn "IR5" 2>NUL | FINDSTR "IR5"
    if errorlevel==0 goto Msg
    schtasks /create /tn "IR5" /tr "'%SystemDrive%\Windows\system32\cmd.exe' /c cscript.exe /b %SystemDrive%\Windows\System32\slmgr.vbs /rearm && net stop sppsvc && net start sppsvc" /sc daily /mo 30 /ru "" /f >NUL
    :Msg
    echo Rearm completed successfully...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    )
     
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #191 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I fixed the uninstall when uninstalled msg now it just says

    IR5 has been uninstalled with no error msg

    Only drawback when installed then uninstalling it gives msg that task has been uninstalled and

    IR5 has been successfully uninstalled...

    which is better than seeing error

    so now I'll just work on this now as my final thing to work on :shisha:

    Code:
    :RearmIR5
    CLS
    cscript.exe /b %windir%\system32\slmgr.vbs /rearm
    IF %ERRORLEVEL% NEQ 0 ( echo No rearms detected...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    ) ELSE (
    net stop sppsvc >NUL
    net start sppsvc >NUL
    schtasks /query /tn "IR5" 2>NUL | FINDSTR "IR5"
    if errorlevel==0 goto Msg
    schtasks /create /tn "IR5" /tr "'%SystemDrive%\Windows\system32\cmd.exe' /c cscript.exe /b %SystemDrive%\Windows\System32\slmgr.vbs /rearm && net stop sppsvc && net start sppsvc" /sc daily /mo 30 /ru "" /f >NUL
    :Msg
    echo Rearm completed successfully...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    )
    regarding trilogy and do 8 colors
     
  12. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #192 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #193 timesurfer, Feb 24, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Am also trying this for rearm function:

    Basically I'm not wanting to create task when rearming if task is not installed hence if IR5 is not installed

    This is for users that want to rearm without task getting installed

    Code:
    :RearmIR5
    CLS
    cscript.exe /b %windir%\system32\slmgr.vbs /rearm
    IF %ERRORLEVEL% NEQ 0 ( echo No rearms detected...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    ) ELSE (
    net stop sppsvc >NUL
    net start sppsvc >NUL
    echo Rearm completed successfully...
    )
    schtasks /query /tn | FINDSTR "IR5" 2>NUL 
    if errorlevel 0
    GOTO Start
    ) ELSE (
    schtasks /create /tn "IR5" /tr "'%SystemDrive%\Windows\system32\cmd.exe' /c cscript.exe /b %SystemDrive%\Windows\System32\slmgr.vbs /rearm && net stop sppsvc && net start sppsvc" /sc daily /mo 30 /ru "" /f >NUL
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    )
     
  14. sangalaviral

    sangalaviral MDL Senior Member

    Jul 30, 2009
    286
    184
    10
    Yes it says 30 days grace period
     
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    I cannot explain. Ask Cody in toolkit thread
     
  16. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    #196 tomah, Feb 25, 2011
    Last edited by a moderator: Apr 20, 2017
  17. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    @tomas

    Removing the 2 is what gives error the first error above but with 2 I get success which I'd also like to eliminate

    Hence so far one or the other

    I have tried and tried but can't get rid of both msg's
     
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Tried removing the 2 in rearm function makes console disappear and doesn't re-create task like it should since IR5 is installed. I want it not to create task if IR5 task is not installed

    Is it clear what I've tried to do with these last two problems
     
  19. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    #199 tomah, Feb 25, 2011
    Last edited by a moderator: Apr 20, 2017
    Try this for REARM.
     
  20. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Doesn't create task and doesn't give msg rearm successful just flashes then back to IR5 menu but rearms I think