Forum Discussion
handiansudianto
Oct 06, 2022Copper Contributor
re-apply policy
I have script to delete 'test.zip' on the desktop and this scrip is working by intune. But i the user create another file with same name and same extension 'test.zip' the file is not deleted. How we...
handiansudianto
Copper Contributor
not only in c:\users\username\desktop but also for another specific path (in some folder in D drive) Also i already pin some app to the taskbar, and when user delete the shortcut can intune re-appy the policy?
Oct 06, 2022
You could create a Win32 package with a detection script that checks for the files in different locations if it finds them... (Exit 1 if found, exit 0 if not found) Then it should execute the install script for the package which is basically a delete file in those locations ...
For the other question, I suggest opening a new topic 🙂
For the other question, I suggest opening a new topic 🙂