Comments (19)
Hmm, looks like convert-windowsimage (script that's called during creation of parent disks) has issues creating vhd. Can you check permissions on file system? You will also need to manually disable secure boot on VMs (switch to Microsoft UEFI CA and then disable), or machines will fail to boot.
from mslab.
Hi Jaromirk,
How do i check the permission on file system? I do not have any VMs created yet but i have disable secure boot on the PC i am using.
find attached.
from mslab.
Hi Jaromirk,
Thanks for your assistance.....i have seen what the problem was. I was running the whole thing from an external disk, as soon as i copied it to the internal drive. The script executed perfectly.
from mslab.
Glad to hear that it worked well! :) Just curious - it was fat32 filesystem, wasn't it? Also give a try to dev branch - I added some cool stuff such as vTPM, nested virtualization, little bit different config (new file, just one variable). And let me know how it works and what can I make better. THX!
from mslab.
It was.....will try dev branch when i am done deploying. Meanwhile i ran into another problem
Error: 145
The directory is not empty.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
Deployment Image Servicing and Management tool
Version: 10.0.14300.1000
What am i suppose to do here?
from mslab.
Can you attach log?
from mslab.
from mslab.
When does it happen (I mean which task - cleanup, 2_createparentdisks,3_deploy)? Can you also please add deploy.log/createparentdisks.log?
from mslab.
It happens during createparentdisks
from mslab.
It looks like that mountdir in temp folder still contains mounted VHD from last run. Check disk management and unmount vhd. Also delete temp folder and start again. Or just hydrate all from scratch in new folder (1_prereq -> 2_createparentdisks ...)
from mslab.
Hello, Thanks again......i was able to go a bit further than before. Createparentdisks was almost completing this time
CreateParentDisks.docx
from mslab.
And now you need to disable that Secure Boot I mentioned. In hyperv manager you should see DC that does not start. Go to settings of this Vm, switch Secure Boot to Microsoft UEFI CA, and then disable Secure Boot. The script then finishes. This is working well in RTM bits, so Ill not be fixing it as RTM will be announced at Ignite.
from mslab.
Btw if you follow the steps in readme, you should see this in step 5
Step 5 Right-click and run with PowerShell 2_CreateParentDisks.ps1
2_CreateParentDisks.ps1 will check if you have Hyper-V installed, it will prompt you for Windows Server 2016 TP5 ISO file, hydrate parent disks and hydrate Domain Controller.
note: if you have Windows 10 Anniversary Update, DC will fail to start. You need to switch Secure Boot to Microsoft UEFI CA and then disable Secure Boot. This problem is only in TP5 guests. RTM is OK.
from mslab.
I'm closing this issue. Takeaway is to create better documentation. I would be happy if you want to contribute. THX, Jaromir
from mslab.
I have finally been able to go through all the steps and my LAB is now up and running.....thanks a lot for your assistance.
from mslab.
Cool, did you try the S2D Scenario? https://github.com/Microsoft/ws2016lab/tree/master/Scenarios/S2D%20Hyperconverged%20TP5
from mslab.
Saw the link and I wanted to try, will like this o know if the variables.ps1 without nested virtualization will be ran within the script area we used in deploying the Lab. Then do I need to run all the configuration script on my main DC while others are still powered off?
from mslab.
I don't get it. Just look on that gif. It explains it....
from mslab.
When you run the deploy script it will handle the tasks on the DC.
from mslab.
Related Issues (20)
- DownloadLatestCU is not working HOT 4
- Upgrade FSLogix just in case
- DC.vhdx stays "open by the system" state after premature ending of CreateParentdisks.ps1 HOT 1
- geeksoftware.pdf24creator outdated, will downgrade later versions HOT 1
- Execution Policy / Signing HOT 5
- AzSHCI and Bare Metal With SCVMM HOT 2
- Get-VM : Cannot validate argument on parameter 'Id' HOT 2
- Deploy VMM to Management Machine? HOT 2
- DownloadLatestCUs not working for Windows 10 HOT 2
- Adding support for deploying ASDK with MSLab HOT 8
- Adaption of scenario scripts for 1-node clusters HOT 6
- Powerpoint files show wrong url? HOT 5
- AD SCCM Installation Scenario to MS-LAB HOT 1
- This repo is missing important files HOT 1
- adding additional Networks to LabConfig assignments getting wild HOT 9
- Add try catch for stale / mounted WindowsImages
- Poor Documentation for Scenarios HOT 2
- DownloadLatestCUs doesn't show Azure Stack HCI 23H2 HOT 2
- HCI 22H2 : CreateParentDisks.ps1 failed with error "Method invocation failed because [System.Char] does not contain a method named 'contains'." HOT 1
- Updating from Server 2022 to Server 2025 fails due to limited RAM HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mslab.