Microsoft KB Archive/920309

= How to identify a Windows Fundamentals for Legacy PCs-based computer =

Article ID: 920309

Article Last Modified on 6/19/2006

-

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:   Copy the following script. const HKEY_LOCAL_MACHINE = &H80000002 strComputer = &quot;.&quot; strKeyPath = &quot;SYSTEM\WPA\Fundamentals&quot; strValueName = &quot;Installed&quot; dwValue = 0 Set objWMIRegistry = GetObject(&quot;winmgmts:&quot; _   & &quot;{impersonationLevel=impersonate}!\\&quot; _    & strComputer & &quot;\root\default:StdRegProv&quot;) objWMIRegistry.GetDWORDValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, dwValue strInfo = strInfo & &quot;Running WinFLP: &quot; If dwValue <> 0 Then strInfo = strInfo & &quot;Yes&quot; & VBCR & VBLF Else strInfo = strInfo & &quot;No&quot; & VBCR & VBLF End if Wscript.Echo strInfo  Start Notepad. On the Edit menu, click Paste. On the File menu, click Save. In the File name list, type WMI_OS_Information.vbs . In the Save in list, select Desktop, and then click Save. Exit Notepad.</li> Double-click the file that you saved to the desktop.</li></ol>

Keywords: kbhowto KB920309

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.