Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript to Check for IIS Front Page Extensions 1

Status
Not open for further replies.

djtech2k

MIS
Jul 24, 2003
1,097
US
Anyone know of a way to script to report back if a server has FrontPage Extensions installed in IIS? I have found almost nothing. I thought it would be in WMI, but nothing yet.
 
Enumerate the Uninstall Keys in the registry. Should be listed there if installed.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
I looked manually in:

HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall

But do not see it in there on a server that I know its installed on.

Any ideas?
 
You checked all sub keys?

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
I browsed many of them by hand, then did a find on it within regedit. I found nothing that resembled front page server extensions.
 
Nevermind, I had switched to a diff vm and didnt know it. I have found some keys and also some of the files/dll's. I am checking to see which might be better to check for.
 
Ok, so here is what I found. In HKLM\System\CurrentControlSet1\Services\EventLog\Application

If the FP extensions are there, there is a key uner "Application" that is "FrontPage 5.0". Thats all I can find. The problem is if you install them, then uninstall them the key seems to stay.

Any ideas? Shouldnt this be covered in WMI somewhere?
 
Who do you love?

Code:
On Error Resume Next
Set WSHShell = CreateObject("Wscript.Shell")
Path = "HKLM\Software\Microsoft\Microsoft\Windows\CurrentVersion\Setup\Oc Manager\Subcomponents\fp_extensions" 

Installed = WSHShell.RegRead(Path)

If Installed = 1 Then 
	WScript.Echo "FrontPage Extensions are installed"
Else
	WScript.Echo "FrontPage Extensions are NOT installed"
End If

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Thanks marc. That does work, but there is a typo in your registry path.

I now just need to make it read a list of servers and connect to each to check.
 
It looks like to do it remotely, I will have to use WMI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top