I have a feeling it may be related to UAC - I've never experienced the 'Access Denied' but then again, the first thing I do is disable UAC on any new VMs I test on. Might need to incorporate some 'self-elevating' code to circumvent environments with UAC...

UAC disabling is a no-go (I work at Danish Defence - they are kinda picky about security :-)

Will investigate further :-)
If anything pops into mind - please tell :-D

Regards
Jesper

Hi Jesper,

I did disable UAC and now the profile service did install correctly. I would recommend that until Brian can adjust the script just disable UAC while doing this step and enable it after the script completes. Of course you will have to restart
your server a few times for this to take effect.

Thanks for all the input guys & sorry for the often late/missing replies... I'm working on a way to have the script elevate itself so you don't have to disable UAC (and maybe don't even have to right-click Run As Administrator).