Question
-
CreatorTopic
-
December 2, 2024 at 4:25 pm #4278115
Windows Authorization Manager for Hyper-V
by rabbit_runner · about 1 month, 2 weeks ago
Tags: Microsoft, Operating Systems, Windows
I’m trying to set up a Hyper-V server for a course in a College Lab and allow the students to create and modify VMs. However, those permissions require becoming a server admin, which we want to restrict from the students.
We want to utilize “Authorization Manager” and have hit a roadblock. Most sources on this subject begin with editing the InitialStore.xml file.
Problem:
1. We have looked for this file and cannot locate it on any Hyper-V server (regardless of server version) and have come up empty when searching through Install.wim
2. We have tried creating an InitialStore.xml file but cannot select/create any Role Definitions, Task Definitions, or Operation Definitions.
Can anyone help with this problem?
-
CreatorTopic
All Answers
-
AuthorReplies
-
-
December 2, 2024 at 4:37 pm #4278133
The last time that was asked.
by rproffitt · about 1 month, 2 weeks ago
In reply to Windows Authorization Manager for Hyper-V
“allow the students to create and modify VMs. However, those permissions require becoming a server admin, which we want to restrict from the students.”
That’s a dead end unless some tool is created to submit requests to someone with such permissions.
That is, to create and modify VMs require such permission. This is by design so not broken at all.
-
December 2, 2024 at 7:05 pm #4278142
reply to rproffitt
by rabbit_runner · about 1 month, 2 weeks ago
In reply to Windows Authorization Manager for Hyper-V
You’re not correct. Checked these links out. Authorization Manager can be used
https://www.slideshare.net/slideshow/understanding-azman-in-hyperv/8260606
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc754064(v=ws.10)Hyper-V Security and Authorization Manager, Keys to a Successful Config
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/cc726036(v=ws.10)
https://learn.microsoft.com/en-us/iis/configuration/system.webserver/security/authorization/Authorization Manager can be used to restrict from becoming a server admin while being able to work with VMs
-
December 2, 2024 at 7:08 pm #4278145
2012?
by rproffitt · about 1 month, 2 weeks ago
In reply to reply to rproffitt
So many patches since them. Most are to tighten up security and will lay waste to anyone that dares refer to documentation that is so old.
But let’s say you followed those articles and it doesn’t work.
Do you know who you gonna call?
Hint: Not the Ghostbusters.
-
-
December 2, 2024 at 7:57 pm #4278148
To rproffitt
by rabbit_runner · about 1 month, 2 weeks ago
In reply to Windows Authorization Manager for Hyper-V
Are there any online sources to support what you just said?
I’m willing to study any Microsoft article that says Authorization Manager for Hyper-V will not work with Server 2019, 2022, or 2025
-
December 2, 2024 at 8:18 pm #4278153
Sorry no.
by rproffitt · about 1 month, 2 weeks ago
In reply to To rproffitt
I am a volunteer. I recall this question from about a decade ago where admin railed against the permissions needed to create a VM.
They paid for a call to Microsoft and the answer came back that permission must be granted to do that work.
It’s years later and as far as I know the same answer would come from Microsoft.
But hey, you have documentation that tells you it may be possible so this is now a matter between you and Microsoft to fix it so it works per the documents.
-
December 2, 2024 at 8:26 pm #4278158
-
December 3, 2024 at 11:09 am #4278406
Reply To: Windows Authorization Manager for Hyper-V
by birdmantd · about 1 month, 2 weeks ago
In reply to Part 2.
I agree with my fellow moderator, rproffitt. He, like our fellow moderators, is a volunteer. In many cases, our suggestions are based on our own experiences and any advice offered is free. You can either take it or leave it, but please don’t complain about it. If you find an alternative method, please share with the community on this forum.
- This reply was modified 1 month, 2 weeks ago by birdmantd.
-
-
-
December 2, 2024 at 9:22 pm #4278166
To rproffitt
by rabbit_runner · about 1 month, 2 weeks ago
In reply to Windows Authorization Manager for Hyper-V
You said: “It may work but also you may find you can’t get the results you want.
But it did work!”Can you provide online articles, documents, or forum responses where it did work? Or perhaps the “question from about a decade ago where admin railed against the permissions needed to create a VM?”
I’m looking for any documentation where someone made it work, or where someone proves that it’s not possible.
I’m not interested in opinions of what people may think. I’m looking for proof of one way or the other. Can you back up what you are saying?
-
December 3, 2024 at 5:26 am #4278244
Reply To: Windows Authorization Manager for Hyper-V
by kees_b · about 1 month, 2 weeks ago
In reply to To rproffitt
What I’m thinking, although you’re probably not interested in what I think:
(a) it used to work; the (old) links you show prove that
(b) you can’t get it working nowSo the thing to do: contact Microsoft support and ask what’s going on. Either confirm it can’t be done now, or they tell you how to do it.
If no solution comes, I’d suggest to set up a test server on which you give the students the right to do it. With severe sanctions if they blow up that test server doing other things with their authorisation than getting the VM up and running.
-
-
December 3, 2024 at 11:22 am #4278416
To birdmantd
by rabbit_runner · about 1 month, 2 weeks ago
In reply to Windows Authorization Manager for Hyper-V
I’m not complaining. If you think that, then you are mistaken.
Have you or rproffit used Authorization Manger to work with Hyper-V? From the discussion thus far, I would say that neither of you have used it in this manner. Therefore, offering opinions based on your experience isn’t valid.
I’m looking for documentation for or against my request.
If someone has experience using Authorization Manager with Hyper-V, whether they failed or succeeded, I’m willing to listen.
Offering suggestions based on lack of experience and without documentation is only an opinion.
-
December 3, 2024 at 12:17 pm #4278452
Re: Reply to birdmantd
by kees_b · about 1 month, 2 weeks ago
In reply to To birdmantd
Although I don’t have the experience you ask for, I found this https://www.serverwatch.com/guides/configuring-hyper-v-security-using-authorization-manager/ .
I noted it’s about Windows Server 2008. You didn’t tell what version Windows Server your students should practice on, but I doubt if it’s the 2008 version. What did you read about managing security in Hyper-V and VM’s in Windows Server 2022 and 2025?
Remember that most you read on the web about Windows XP and Vista doesn’t litterally apply to Windows 11.And “It does not explain how to create and configure virtual machines on Hyper-V”. So I wonder if the Authorisation Manager manages the security of creating a VM. Which seems to be part of your course, since you talk about the students learning to “create and modify VMs.”
-
December 3, 2024 at 1:12 pm #4278459
It’s been a decade since I used this.
by rproffitt · about 1 month, 2 weeks ago
In reply to Re: Reply to birdmantd
Today I would have to pull a machine from the storeroom and go through the paces but it doesn’t matter since your complaint is not that Auth Manager runs or not but you don’t want to give the authorities needed to create and destroy VMs.
I’ve heard that complaint a few times over the past decade and the OP and you will wail and reply that “you’re not fixing my problem.”
If you feel that Microsoft mislead you, tell them. I can’t change the OS or their apps.
-
-
-
-
AuthorReplies