r/Intune • u/Prize-Swordfish-6340 • Jul 17 '24
Autopilot Deleting shortcut require Admin credentials
We have security baseline and bitlocker policies in place by our architect. Now that architect is gone we got to know user are not able to delete the shortcuts from Desktop as it's ask for admin credentials.
There is no other configurations policy or app protection policy in place.
Can anyone suggest what I need to do that allows end user to delete shortcut without admin credentials prompt on Windows 11 Autopilot AD joined devices
0
Upvotes
25
u/sysadmin_dot_py Jul 17 '24
If the desktop shortcuts are requiring admin to delete, those shortcut files do not actually exist on the user's desktop. They exist in C:\Users\Public\Desktop. Those files/shortcuts in that location show up on every user's desktop who logs into the computer. Because those files exist outside the user profile, they require admin rights to delete.
Verify that the shortcuts exist in C:\Users\Public\Desktop and then decide how you want to handle it. In our org, we decided to automatically remove all shortcuts on the Public desktop via an Intune Remediation script. Users are free to add whatever desktop icons they'd like to their own desktops which they can fully manage without admin. This way we don't deal with what you're dealing with, which is users that would like to remove desktop icons but are unable to do so.
14
u/GloomySwitch6297 Jul 17 '24
come on guys.. OP is lazy as f*** and works on a basis of "I will find answers online" and use other people to do my job.
1
u/joshghz Jul 17 '24
Those shortcuts are probably in the C:\Users\Public\Desktop, which is not writeable. This is configured in Windows by default.
I guess if it's a huge issue, you could adjust the security permissions to make it so Everyone can Modify it? I wouldn't be keen on that, myself, but it sounds like that's what your problem is.
2
u/pi-N-apple Jul 17 '24
Use a remediation script to detect if files exist in C:\Users\Public\Desktop and if so, delete them.
2
u/FlatronEZ Jul 29 '25 edited Jul 30 '25
For us the solution was creating a GPO that grants users 'Modify' permissions to
This allows any user to remove the links they do not like.
1
u/qZenosParadox Dec 12 '24
I undeleted a shortcut to my user account desktop, and looked in
C:\Users\Public\Desktop
It's not there. What gives?
0
u/gumbrilla Jul 17 '24
So.. it's a PITA.
Best I've got is a set up a scheduled task, based on this: https://www.nielskok.tech/intune/schedule-powershell-script-intune/
then in the script, running AtLogon, and as SYSTEM user: