SET-ACL on registry key

Man it was hard to find info on using set-acl on a registry key!   I was looking for a way to set an ACL that once set would be inherited by child keys and values.    We needed to give “Local Service” full control on the registry key below and have the subkeys inherit the permission. …

6

Caught the Powershell Bug.

Over the past few months I have fallen in love with PowerShell.   I’ve taken on a new role (starting in mid-October) that will be more focused on automating out administrative tasks via powershell so the focus of this blog might change more towards that subject.  I think the crowd that congregates here are IT admins…

1

Display warning text when someone logs onto your servers

This works for Windows 2003 and Windows 2008.  We use it during our reliability study to let the server owners know that they shouldn’t reboot their boxes without a good reason.  You can use it for whatever you’d like. 🙂 The two keys to set: reg add “\\brad-dc-01\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v LegalNoticeCaption /t REG_SZ /d “MSIT…

2

Getting Access Denied when trying to query rootMSCluster namespace remotely against Windows 2008.

Ran into a weird issue where I was getting access denied when trying to query nodes remotely in powershell.  The query was working fine against Windows 2003 cluster names and worked locally when ran on a Windows 2008 cluster node, it just didn’t work remotely.   Against 2k3: PS C:\Debuggers> gwmi -q "Select name from…

7