Change permission on profile folders


i need delete files inside users roming profile folders. link, need rid of it, able use pnagent present users shortcut. 

problem can't 70% of folders without manually take ownership on each folder.. big job when 3000 users. 

is there way powershell script? can point me in right direction? 

best regard 

 

have @ built-in command icacls can use script changing owner. note there group policy setting can set give administrators access roaming user profile. under computer configuration > (policies) > administrative templates > system > user profile , enable setting "add administrators security group roaming user profiles". unfortunately settings has no effect on created profiles enable avoid similar problems in future.
blogging windows pros @ www.theexperienceblog.com


Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file