Solved

Write a  function for updating LKGC

Posted on 1998-12-11
5
224 Views
Last Modified: 2013-12-28
Can anybody help me to write a function for updating the last known good configuration on NT
0
Comment
Question by:shajeer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:onehouse
ID: 1795776
Im not really sure what you mean...but the last good... is invoked by pressing "Space bar" wich you probably allready know...
Although...If the system boots but something isn't working right although the system boots up kinda normaly...then there is no way to use the last good mode.. because the computer thinks that the computer is working great...so the last good mode will be..........get the point.?
I guess this didn't answer your cuestion.......hmmm
What really do you mean by function ?.....Swedish is my first language...sorry...
L8er....:)
0
 

Author Comment

by:shajeer
ID: 1795777
I know last known good menu is loading the registry setting that was marked as good. As we know the HKEY_LOCAL_MACHINE\System\Select key stores the details of good, changed and failed configurations. So when we press the space bar during bootup, what really happens is that, The select  key is opened and the value of LKGC is taken.Let this value be '1'. Then currentcontrol set ending with 1 is opened. That is currentcontrolSet001 is opened and the all the keys stored in this hive is copied into the CurrentControlSet. I want write a function which can copy the contents of one hive to another,without having anyuser security and privelege problems.
0
 

Expert Comment

by:mkthakur
ID: 1795778
I am also interested in knowing this. This is in fact GINA's responsibility. As far as I know the whole registry hive ControlSet00X where X is pointed by Lastknowngood under the HKEY_LOCAL_MACHINE->SYSTEM->Select should be replaced by Clone hive under HKEY_LOCAL_MACHINE->SYSTEM for each successful logon.
The security problem will come into picture while updating the registry keys.
If anybody knows how the microsoft has incorporated into its MSGINA.DLL.
My email id : mkthakur@hotmail.com
0
 

Accepted Solution

by:
mkthakur earned 20 total points
ID: 1795779
Please use
NotifyBootConfigStatus(TRUE) to update the LKGC.


0
 

Author Comment

by:shajeer
ID: 2330396
Yes this api works fine
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question