WMI Script
i trying shut down windows 2008 server remotely using wmi script , domain admin account.
this fails. if run same script built-in administrator account works every time.
i have tried
- adding domain admin account the com security access , launch permissions,
- disabled simple file sharing
- allowed incoming wmi connection
- even turned off firewall
question how can i get script run under domain admin account successfully?
thank you
hi,
i able script work in environment between dcs:
http://www.freevbcode.com/showcode.asp?id=4889
it calls same shutdown method documented here:
http://msdn.microsoft.com/en-us/library/aa393627%28vs.85%29.aspx
in dcom settings on server, looking @ windows management ,
instrumentation
none of users/groups had explicit deny set, of these
explicitly allowed permissions.
abbreviations:
ll - local launch
rl - remote launch
la - local activation
ra - remote activation
- general tab: authentication level set default
- location: "run application on computer" checked
- security:
launch , activation permissions (set custom)
authenticated users: ll, la, ra
administrators (domain builtin group): ll, rl, la, ra
access permissions set "use default." computer defaults:
self: local access, remote access
system: local access
administrators (domain builtin group): local access , remote access
configuration permissions (set custom):
creator owner: special permissions (looks blank though ui)
system: full control
administrators (domain builtin group): full control
users: read, special (also appears blank in advanced dialog)
endpoints set use default system protocols
identity set system account
looking @ permissions root\cimv2 namespace (located in
properties of wmi control snap-in when right click node
under console root in mmc , select properties)
i use these abbreviations:
em - execute methods
fw - full write
pw - partial write
prw - provider write
ea - enable account
re - remote enable
rs - read security
es - edit security
authenticated users: em, prw, ea
local service: em, prw, ea
network service: em, prw, ea
administrators (domain builtin group): em, fw, pr, prw, ea, re, rs, es
-- mike burr
Windows Server > Windows Server General Forum
Comments
Post a Comment