Home » Uncategorized » Update Folder Security

Contoso.se

Welcome to contoso.se! My name is Anders Bengtsson and this is my blog about Azure infrastructure and system management. I am a senior engineer in the FastTrack for Azure team, part of Azure Engineering, at Microsoft.  Contoso.se has two main purposes, first as a platform to share information with the community and the second as a notebook for myself.

Everything you read here is my own personal opinion and any code is provided "AS-IS" with no warranties.

Anders Bengtsson

MVP
MVP awarded 2007,2008,2009,2010

My Books
Service Manager Unleashed
Service Manager Unleashed
Orchestrator Unleashed
Orchestrator 2012 Unleashed
OMS
Inside the Microsoft Operations Management Suite

Update Folder Security

This post is not about System Center, instead it is about updating adding permissions to folders. This script will read all folders in a folder and give the user with the same userID as the foldername permissions. I combine a script from Microsoft, xcacls.vbs, with my own script to attain this. More information about Xcacls.vbs here. Download my script here. Xcacls.vbs is a great script with a lot of functions and options.