Avatar of sirbounty
sirbountyFlag for United States of America

asked on 

powershell - wmi access denied issues

Trying to acquire disk information for a collection of 'supposedly' identical servers.  These were all built the same - all W2k8R2.
The wmi query works using my admin ID, however I'm trying to get it setup with a service account.
So, the same exact script executes fine with this service account ONLY against 3 of the 10 servers.
I've verified wmi/gpo/dcom permissions - they seem identical (though I can recheck any if requested).
What else could be preventing the connection to these servers?

I even attempted, as a test, to provide the -credential parameter and supply my credentials - that also failed.
PowershellWindows Server 2008

Avatar of undefined
Last Comment
sirbounty
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sirbounty
sirbounty
Flag of United States of America image

ASKER

Ah, all that led me to seeing that the local group admins does not contain my domain group on those servers... I think that's it.  It will take me a bit to confirm.
Windows Server 2008
Windows Server 2008

Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.

86K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo