Solved

Write a  function for updating LKGC

Posted on 1998-12-11
5
215 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
  • 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

810 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