Friday, January 7, 2011

Getting WMI to work with Spiceworks and Windows OS(es)

Actually, not just Spiceworks, but any software that needs information from WMI or might need remote administration privileges. If you have better solutions or workarounds, please feel free to comment on this topic.

Windows 7 per Spiceworks Group:

Tried this and did not work although it is what is specified:

netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
netsh advfirewall firewall set rule group="remote administration" new enable=yes

Then I did this and it worked

1. Check Ping

2. netsh firewall set service remoteadmin enable

3. Create reg and merge:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000005
"ConsentPromptBehaviorUser"=dword:00000003
"EnableInstallerDetection"=dword:00000001
"EnableLUA"=dword:00000001
"EnableSecureUIAPaths"=dword:00000001
"EnableUIADesktopToggle"=dword:00000000
"EnableVirtualization"=dword:00000001
"ValidateAdminCodeSignatures"=dword:00000000
"dontdisplaylastusername"=dword:00000001
"legalnoticecaption"=""
"legalnoticetext"=""
"scforceoption"=dword:00000000
"shutdownwithoutlogon"=dword:00000001
"undockwithoutlogon"=dword:00000001
"FilterAdministratorToken"=dword:00000000
"PromptOnSecureDesktop"=dword:00000000
"DisableCAD"=dword:00000001
"DontDisplayLockedUserId"=dword:00000003
"LocalAccountTokenFilterPolicy"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\Clipboard]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\Clipboard\ExceptionFormats]
"CF_TEXT"=dword:00000001
"CF_BITMAP"=dword:00000002
"CF_OEMTEXT"=dword:00000007
"CF_DIB"=dword:00000008
"CF_PALETTE"=dword:00000009
"CF_UNICODETEXT"=dword:0000000d
"CF_DIBV5"=dword:00000011

Windows XP:

1. turn on icmp
2. added port 135
3. netsh firewall set service remoteadmin enable
4 netsh firewall set service remoteadmin enable subnet

Windows 2008:

Turn on icmp:

Firewall with Advanced Settings
Find: File and Print Sharing (Echo Requests-icmpv4-in) ENABLE THIS

You can also try netsh firewall set icmpsetting 8 (disable)

netsh firewall set service remoteadmin enable

Windows Home Server

Windows XP:

1. turn on icmp
2. netsh firewall set service remoteadmin enable
3. netsh firewall set service remoteadmin enable subnet

Might have to add port 135, I did not at this time

Delco

2 comments:

Anonymous said...

Tried this, did not work for me. I have wasted a lot of time on those unknowns, it would have been solved if spiceworks would have had a tiny windows client to report to the spiceworks server....

Delco said...

You, know since the first time I posted this, I believe that if you use group policy and turn on Remote administration, it might be all you need. Also be aware that some hardware like Dell has been know to be problamatic.