Task should definitly run with these triggers: without /ru as it will create the task for the current user, so it will show the CMD window for a short moment with /ru "" it is created as system task and won´t show anything with /rl highest as Check.bat definitly requires admin privileges to run properly, otherwise it throws errors it suppresses any UAC Prompt this way ´Night and over/out EDIT: and the IR6 task is superseded by Hybrid2 task .
Thank you for respecting my administrative (CEO) position regarding the rearm concept I give permission to invite PAYMYRENT, Alphawaves, CODYQX4, qewlpal, tomah, Carlos Detweiller and Paiva since they have posted recently otherwise BOX-, MasterDisaster, MadSheep!, 7ekn00 and mcclausky would be happily invited to participate... Implement new task triggers
For some reason the theme backup process was not working . So i was digging a bit and found a solution that works flawlessly for me: Code: ::determine path to theme file set KEY_NAME=HKCU\Software\Microsoft\Windows\CurrentVersion\Themes set VALUE_NAME=CurrentTheme for /F "usebackq tokens=3" %%A IN (`reg query "%KEY_NAME%" /v "%VALUE_NAME%" 2^>nul ^| find "%VALUE_NAME%"`) do SET themefile=%%A ::determine the name of the theme for %%F in (%themefile%) do set theme=%%~nF ::backup process :Backup if exist "%systemdrive%\IR6\IR6Bkup.theme" del /s /q "%systemdrive%\IR6\IR6Bkup.theme" >nul echo F | xcopy "%themefile%" /s /q "%systemdrive%\IR6" /Y /V >nul ren "%systemdrive%\IR6\%theme%.theme" "IR6Bkup.theme"
Cool, we might revamp some stuff and consider service to do what all tasks are doing, hence service might work better for restore and non-manual rearm He might later also have info about how to work with WPA key inside windows as I'm pretty sure sec9tos and anermos found way to do that with injection or something, I dunno I just want whats best for project and users
I don't want to be left out of the creative loop either just talking out loud is all to open up ideas And yes service can be created with batch I believe!? I would much rather use batch and don't want to loose anyone in the project! Let's stay open!
Thanks for your patience s1ave77, I used this test procedure Code: Testing procedure for theme backup and restore: # starting with a VM-Snapshot with system in OOBE Grace and 5 rearms left # install Check.bat via S77D420, use the version i even updated with "pause" to stop before rebooting # NOTE: do not let the process getting finished after it pauses yet # Close the Duality window with process being unfinished, as only created Check.bat is needed # delete the IR6.bat in systemdrive # to test theme backup: * choose a theme prior to Log off/on * Log off and on # to test theme restore * forward time * open system panel via Win-Key+Pause and click on the message prompting you to activate now to get the black desktop * Log off and on And unfortunately theme did not restore Would be happy to use Team Viewer if need? I remember MD putting IR6.bat in hidden partition hence IR6.bat was in my E:\ drive but entered C:IR6 and worked fine I remember him saying it would work in any drive with C:IR6 and it does mostly which is why I wanted to keep long code for IR6 install but I couldn't remember why? But just so happens I was still in notificaitons for some reason, I checked to see if theme was in IR6 folder so I thought what the heck, I'll run check.bat as admin and poof (it took a while) watermark was gone (hence rearm) and theme in IR6 folder was restored so something is working But personalization window opens up and stays open! I suggest we do the theme restore first since the rearm takes longer to stop/start service... And if services run before tasks then maybe PMR can help with my check.bat concept but without tasks and without IR6 folder and check.bat!