Who we are

With a heritage of Microsoft expertise, risual, Microsoft Partner of the Year 2015 and PSNS Finalist of the Year 2016, helps businesses to achieve their full potential by driving digital transformation, enabling them to drive further and continued value and success. Investment in our people ensures our UK-based, full time, security cleared teams are experts in all Microsoft technology providing solutions from business case and justification, through implementation, and ongoing world-class managed service. From thought leadership to community activity we are engaged in driving success for our customers across all sectors.

RECENT POSTS

Azure Virtual Machines E64i v3 and E64is v3 are now available for public use! These machines have support for Linux, Windows Server, SQL Server, Oracle, IBM and SAP. Microsoft have made sure that they are [...]

PowerShell to assign permissions to home directories

I have a situation where user data is migrating from one forest to another and there is a need to set permissions on folders which will form home ‘drives’ for users. The users’ home directory names match their SAM account names, I have written a simple PowerShell script to assign full control NTFS permissions to those folders based on the name of the user.

#script to give full control NTFS permissions on a directory to the domain user with the same name of that directory

The two lines to edit are the $domain and $root lines, the $domain line should be your domain name, this is used to construct the ‘domainnameuser’ text used in the script. The $root variable is the root folder containing the folders to have permissions applied.

It’s quick and dirty – only used for a one off & there’s no error checking so be careful before you use it!