How to identify a Windows Fundamentals for Legacy PCs-based computer (920309)



The information in this article applies to:

  • Windows Fundamentals for Legacy PCs

INTRODUCTION

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

This article describes how to identify a Microsoft Windows Fundamentals for Legacy PCs-based computer.

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
You cannot identify a Windows Fundamentals for Legacy PCs-based computer by using the conventional Win32_OperatingSystem Windows Management Instrumentation (WMI) object query.

To identify a Windows Fundamentals for Legacy PCs-based computer, locate and then click the following registry entry:

HKEY_LOCAL_MACHINE\SYSTEM\WPA\Fundamentals\Installed

If the registry entry is present and has a value of 1, the computer is a Windows Fundamentals for Legacy PCs-based computer.

To identify that the computer is a Windows Fundamentals for Legacy PCs-based computer, follow these steps:
  1. Copy the following script.
    const HKEY_LOCAL_MACHINE = &H80000002
     
    strComputer = "."
     
    strKeyPath = "SYSTEM\WPA\Fundamentals"
    strValueName = "Installed"
    dwValue = 0
     
    Set objWMIRegistry = GetObject("winmgmts:" _
        & "{impersonationLevel=impersonate}!\\" _
        & strComputer & "\root\default:StdRegProv")
     
    objWMIRegistry.GetDWORDValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, dwValue
     
    strInfo = strInfo & "Running WinFLP: "
    If dwValue <> 0 Then
      strInfo = strInfo & "Yes" & VBCR & VBLF
    Else
      strInfo = strInfo & "No" & VBCR & VBLF
    End if
     
    Wscript.Echo strInfo
    
  2. Start Notepad.
  3. On the Edit menu, click Paste.
  4. On the File menu, click Save.
  5. In the File name list, type WMI_OS_Information.vbs.
  6. In the Save in list, select Desktop, and then click Save.
  7. Exit Notepad.
  8. Double-click the file that you saved to the desktop.

Modification Type:MajorLast Reviewed:6/19/2006
Keywords:kbhowto KB920309 kbAudEndUser kbAudITPRO