Forum Discussion
Simple method to run logon / recurring scripts in Intune!
https://www.lieben.nu/liebensraum/2019/06/simplify-logon-scripts-in-intune-without-schedules/
The advantage is that when you unassign the script from a user, no scheduled task remains that ignorantly keeps running the script :)
- RobdeRoosIron ContributorThanx, same as I do but I wrap it in an MSI. That way it is possible to monitor the deployment, Uninstall or upgrade if nescecary.
- Werner_PertlCopper Contributor
RobdeRoos Could you share your solution? Joss script isn't working for me - it only runs once when deployed. Triple checked everything - no way to get it to run :-).
Would be cool to check out your solution.Thx
Werner
- RobdeRoosIron Contributor
Werner_Pertl I use Advanced Installer to "install" the script to the program files folder and I create a shortcut that I place in the startup folder.
- mmatookCopper Contributor
RobdeRoos After I create an MSI package how do I get it to start every time someone logs in?
I like the visibility your solution provides. Also is it just more or can you only have 1 script targeting a PC at a time? This solution would be a work around for that.
Thanks for any feedback
- RobdeRoosIron ContributorMake sure you place a shortcut to the script in the startup folder. I made a scriot with AutoIt and compiled that to an exe. The exe I place somewhere in program files ans the shortcuts to it lands in the startupfolder.