Posts Tagged ‘Windows’

Hey Folks,
here is an example to easy set ACLs on a Windows fileserver by importing path an permissions from a CSV file:

$Permissions = Import-Csv e:\permissions.csv -delimiter '|'
ForEach ($line in $Permissions)
 $acl = Get-Acl $line.Path
 $acl.SetAccessRuleProtection($True, $False)
 $rule = New-Object System.Security.AccessControl.
FileSystemAccessRule($line.Group,"Modify","ContainerInherit, ObjectInherit",
 "None", "Allow")
# The above line can be edited like the reference at the end.
 Set-Acl $line.Path $acl

The CSV has to look like this:


Reference Table:

Subfolders and Files only InheritanceFlags.ContainerInherit, InheritanceFlags.ObjectInherit, PropagationFlags.InheritOnly
This Folder, Subfolders and Files    InheritanceFlags.ContainerInherit, InheritanceFlags.ObjectInherit, PropagationFlags.None
This Folder, Subfolders and Files InheritanceFlags.ContainerInherit, InheritanceFlags.ObjectInherit, PropagationFlags.NoPropagateInherit
This folder and subfolders InheritanceFlags.ContainerInherit, PropagationFlags.None
Subfolders only InheritanceFlags.ContainerInherit, PropagationFlags.InheritOnly
This folder and files InheritanceFlags.ObjectInherit, PropagationFlags.None
This folder and files InheritanceFlags.ObjectInherit, PropagationFlags.NoPropagateInherit


Cheers, Chris

Hi folks,

I wrote less in the past month because I focused on work and Microsoft certification.The certification path was very straight – upgrading skills from MCITP to MCAS Server 2012 followed by the two Server Infrastructure exams 70-413 and 70-414.


In the next monts I’ll go forward to MCSE Messaging and Communications with Exchange 2013 and Lync 2013 and I’ll keep blogging about infrastructure and messaging topics.

Next week I’ll post some experiences I made with my new Nokia Lumia 920 with Windows Phone 8.



Hi Folks,

I just upgraded my Windows 7 installation to Windows 8 Enterprise RTM. The compatibility check failed because of Intel PRO Wireless Utility and Avira AntiVir Pro. After uninstalling the both programs the upgrade started regulary. After some reboots and 1,5 hours installing I logged in first.

Everything looked fine, all apllications started as usual. The desktop and taskbar symbols appeared as before, just the start button was missing. I installed the ClassicShell and got my start button back.

In combination with ClassicShell Windows 8 has nearly the same usability as Windows 7 + the possibilty tu use the new features and the new (formerly known as METRO) interface. So I wish you a happy upgrading and installing 🙂



Yesterday I got a problem while migrating a fileserver cluster from Windows 2003 to Windows 2008 R2.

We wanted to migrate a big fileserver cluster with several volumes by mirroring the SAN LUNs, break the mirrors and mount them to the new Windows 2008 R2 fileserver.

After mounting the partitions to the new cluster we set up a new virtual fileserver and created some shares. With one partition/share we run in the following error:

The shared ressource is not available.

After some investigation we figured out that the SYSTEM group doesn’t had permissions on the partition at root level so the cluster service running with local system account can’t initialize the share.

After adding SYSTEM at root level with full access sharing of this partition was possible:



Today I had to extend the partition of a Windows 2003 Server.

In the past I did this several times with diskpart:

diskpart.exe -> list volumes
select volume [number of the partition to extend]
extend volume size=[SIZE TO EXTEND in MB]

After doing this, diskpart and the Windows Disk Management show the extended size but Windows Explorer didn’t so. A colleague pointed a KB article to me which described this behaviour.

You have type in another diskpart command (brought with SP2 – otherwise there is a hotfix):

select volume [number of the partition to extend]
extend filesystem

Now the whole space could be seen in the Explorer, too.

Read more:



Today I cleaned up my PC and wanted to delete unnecessary OS files.
After reading the deployment guide for Windows 7 / 2008R2 I figured out the following command, which will delete those files permanent. You have to launch an administrative command line:

DISM.exe /Online /Cleanup-Image /spsuperseded