Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 4, 2016 6:15 PM
Hi there
I was trying to setup DSC pull server and failed because of this issue.
[Windows server 2012 R2 hosted in the V2 portal]
I've spend nearly 2 hours and tried the following [ Google search seems to say just run PS ISE as Administrator, wish it was as simple as that]
- Run PS as administrator on the server [Local windows admin, server not in the domain]
- Changed the path to C and D drives
- UAC is turned off
-Firewall is turned off
Start-DscConfiguration 'C:\Ev\Pullserver\ –Wait
Start-DscConfiguration .\Pullserver –Wait
Access is denied.
+ CategoryInfo : PermissionDenied: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070005
+ PSComputerName : mypc.westeurope.cloudapp.azure.com
Any ideas pls?
Thanks
All replies (5)
Friday, August 5, 2016 9:34 AM ✅Answered
Thanks
I found the reason for the error, not sure if I understand why
I was using the DNS name for computer name when I changed it to the actual computer name it doesn't throw the Access denied error.
Thursday, August 4, 2016 7:24 PM
https://powershell.org/forums/topic/access-denied-on-start-dscconfig/
\(ツ)_/
Friday, August 5, 2016 8:00 AM
Thanks.
But I've only one server and haven't created the node [server] to connect to the pull server.
I'm thinking its not the same issue.
Friday, August 5, 2016 9:01 AM
Hi Sathish,
>>Access is denied
Please try to indicate the --Credential<PSCredential> parameter and give your admin privileges for this command to see if it helps.
More information about Start-DscConfiguration , please refer to link below:
https://technet.microsoft.com/en-us/library/dn521623.aspx?f=255&MSPPError=-2147217396
Besides, please check if the following script is helpful:
https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d
In addition, the following blog gives the detailed configurations for DSC pull server, for you reference:
https://msdn.microsoft.com/en-us/powershell/dsc/pullserver?f=255&MSPPError=-2147217396
Best regards,
Andy_Pan
Please remember to mark the replies as an answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].
Monday, August 8, 2016 2:13 AM
Hi Sathish,
>>I was using the DNS name for computer name when I changed it to the actual computer name it doesn't throw the Access denied error.
Based on my understanding, if you used DNS name as computer name, it might caused resolve issue.
Besides, the system log has any dns related logs there?
Best regards,
Andy_Pan
Please remember to mark the replies as an answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].