Setup: Hyper-V host with VMs Problem: You need a list with all VMs and their GUID Solution:
Monthly Archives: March 2014
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 […]
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 […]
ADFS 2.0 Copy claim rules from one Relying Party to another
Setup: Existing ADFS 2.0 setup Problem: You create a new Relying Party Trust and want to copy all the claim rules from similar RP Solution: Open PowerShell console and run this code After that issue the folowing command: Tips: Run this command to find out all RP names:
Manage untrusted domain with Active Directory Users and Computers console
Setup: There is a Active Directory domain and an computer not member in this domain. You try to manage this domain with Active Directory Users and Computers and try to run it with “Run As…”. Problem: You receive this error: The Security database on the server does not have a computer account for this workstation […]
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. […]