Surely someone has an answer to this? All seems very logical yet not working which leads me to believe I'm missing something obvious.
Any ideas?
I have a GPP which is applying application (Streaming ThinApps) shortcuts in the start menu to a location of %ProgramsDir%\ThinApps\Office Suite\ApplicationName to users and a particular group. These GPP shortcuts are set to remove when no longer applied which works great however it unfortunetly leaves the "...\ThinApps\Office Suite" folders behind. It does effectively remove the actual shortcut though. Understanding that it may leave this folder as other shortcuts may still need it, so I created another setting in the same GPP to create the folder.
The "Folder" setting is simply set to REPLACE a folder called %ProgramsDir%\ThinApps\Office Suite and again have it set to remove when no longer applied, however it also does not remove this folder when the user is no longer in the ThinApp group.
The only other way I can think of, which I do not prefer, is to apply a separate GPP that is a negative of the first. eg if user not in group the delete folder. Or even if folder empty then delete. This is not a preferred option as this would need be applying to all users instead of the GPP above just applying to specific users.
Any idea why GPP Folders don't remove when no longer applied? or other options?
Surely someone has an answer to this? All seems very logical yet not working which leads me to believe I'm missing something obvious.
Any ideas?
My original idea of creating a 'Delete Folder' preference in fact worked. It was set to delete EMPTY folder recursively so what happens is when the user logs in and doesn't have rights to recieve the shortcuts any more then the shortcut is removed yet the folder it was in remains. This is because the folder was not empty at the time policy reviewed it. So as a result on the next policy refresh the folder is empty this time and subsequently got deleted. Would be nice to be able to change the order in which preferences are processed as it would be ideal if the shortcut was removed then the folder was checked if empty and then deleted. Any ideas?