Updated plugin to v5 in original post.
Added:
Require_FileQ,mfsrcsnk.dll
Require_FileQ,mp3dmod.dll
For embedded MP3 audio :thumbsup:
If you delete default user startup folder when admin script is used it should fix...
How do I do it? Try hiding it from the pecmd file. But it does not work either.
I must have been busy when you posted this because I don't remember seeing it. Sorry about the wait for an answer..
A while back I was also having issues removing the Startup folder, I couldn't identify what was creating it, it seemed like during boot it would appear no matter what I did.
I was suggesting to you to add after loginasadmin in some plugin to delete the folder like: (I would make a variable instead of retyping the path in each section but this is so you can see what it is)
If,ExistDir,%TargetDir%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%TargetDir%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup#$q"
If,ExistDir,%TargetDir%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup,Call,DirDelete,%TargetDir%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
I didn't try the above method, but if it works its better than what I am currently doing..
What I do.. Is add a delete command for the folder during boot in the autorun.cmd - The easiest way to do this is with ComponentsY>Additional Registry
In the end of the [Registry Main] section add the below lines:
// <----------Additional AutoRun - Anything formatted correctly below this line runs LAST on boot---------->
//-
// Remove Startup folder from StartMenu
If,ExistFile,%target_sys%\autorun.cmd,Begin
TXTDelLine,%target_sys%\autorun.cmd,exit
TXTAddLine,%Target_Sys%\autorun.cmd,"RD /s /q #$qX:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup#$q",Append
TXTAddLine,%target_sys%\autorun.cmd,exit,Append
End
//-
If you do not use loginasadmin plugin change the username in the path above: Administrator ===> Default