Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Setting up DSC on Win2008R2 Server Can't find DSC-Service Feature

$
0
0

OK, I’ve deleted my previous posts where I was fumbling around with this. I’ve just rebuilt my 2008 R2 SP1 VM from scratch to test the process, and it appears to work:

- Install Windows Server 2008 R2 SP1
- Install Microsoft .NET Framework 4.5.
- Install Windows Management Framework 4.0. (reboot required after this step)
- Install IIS. Select all of the default options, plus “Tracing”.
- Run dism /online /Enable-Feature /FeatureName:ManagementOdata
- Run dism /online /Enable-Feature /FeatureName:DSC-Service
- Run $env:windir\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

At this point, you have all the prerequisites set up, and you’re ready to pick up the process from http://powershell.org/wp/2013/10/03/building-a-desired-state-configuration-pull-server/ starting at “Next we need to set up the IIS web site.” Everything else worked as expected, once the prereqs were all in place. When you create the application pool for DSC, be sure to select Framework version 4.0.

Don’t bother installing ASP.NET or anything else from the Roles / Features list provided by Windows 2008; that’s for .NET Framework 3.5, and doesn’t matter for a DSC pull sever. When you run aspnet_regiis.exe -i, you install ASP.NET 4.0, along with all of its required configuration updates.


Viewing all articles
Browse latest Browse all 13067

Latest Images

Trending Articles



Latest Images