Assign permissions to Virtual Machine service account on .vhd files

Setup: Hyper-V server Problem: On a Hyper-V server and when you start the VM you get an error 12290 like this in log Microsoft-Windows-Hyper-V-Worker/Admin ‘VMName’: IDE/ATAPI Account does not have sufficient privilege to open attachment ‘\Path_to_disk\disk.vhd’. Error: ‘General access denied error’ (0x80070005). (Virtual machine ID 545CC7B7-83B6-46A9-A29C-29AB56B09306) Solution: Open an elevated command prompt and run this […]

Read More

Enable ADFS 2.0 debug log

Setup: ADFS 2.0 Federation server Problem: You need to troubleshoot some authentication issues and check the claims sent to RP Solution: Run the following command from a command prompt: Open Event Viewer, click the View menu and select Show Analytic and Debug Logs. This must be enabled for the AD FS 2.0 Tracing log to […]

Read More

Copy group membership with Powershell

Problem: You have a group in Windows Active Directory and you want to create a new group with same member like the existing one Solution: Prerequisites: member server in Active Directory domain, Quest Powershell tools Tips: – Use Run As to run Powershell under another identity in case your account does not have the right permissions. […]

Read More