Solved

Unset restart flag

Posted on 2009-07-08
3
919 Views
Last Modified: 2013-11-14
Hi All,

This is a question of interest rather than necessity.

I've just installed Sql Server 2008, now the two pre-requisites on Vista Home Premium are Dot Net 3.5 and Windows Installer 4.5.

After the 4.5 installation it requires a reboot, the Sql server installation won't continue otherwise.

Now the above is just an example. However I was wondering if it is at all possible to dupe the computer into thinking it has been restarted. I don't know how this is tracked on the OS be it a simple registry entry or what.

I'm sure some components definitely require a reboot to work and i'm sure some would work fine without a forced restart.

Any ideas where the "flag" or what not is registered that tracks the requirement for reboot. It'd be interesting to see what effects occur if the computer is fooled.

Extra Note (My Idea, no need to read):
I was thinking there might be workarounds to make such installations work, for example, fool the computer into thinking it's rebooted and then end the services running say the old Windows Installer and Start them Up thus initializing the recently installed version. Might not be that simple but this is why I'd like to see what effects occur if the computers fooled. It could make for a nice little application.

Oh, points, er, well I guess whoever gets me closest to finding where the "Reboot" requirements are set. And modify as such that the computer/installer believes a reboot occurred.

Cheers

Craig
0
Comment
Question by:Newt6398
3 Comments
 
LVL 6

Accepted Solution

by:
drewha1969 earned 125 total points
Comment Utility
Well, here seems to be a solution for XP, should work on Server too.

http://lifehacker.com/183976/get-rid-of-windows-update-restart-nag

It looks like there is a policy to restart the machine after scheduled installations.  Now as for actually applying the updates without rebooting, someone else will have to chime it...
0
 
LVL 29

Assisted Solution

by:matrixnz
matrixnz earned 125 total points
Comment Utility
Have a look to see if the registry key exists

HKLM\System\CurrentControlSet\Control\Session Manager
PendingFileRenameOperations

When files are locked and cannot be replaced, the files are added to this key for changing on reboot.

The problem you may have is that the Windows Installer files are locked so they can't be replaced until the system is restarted.  When SQL attempts to install it checks the Windows Installer Version which of course will still be the original version.

Hope that helps.

Cheers
0
 
LVL 1

Author Closing Comment

by:Newt6398
Comment Utility
Thank you both.  I've split the points even since it was a bit of an open ended question.  Both good pointers ;-)

Cheers

Craig
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now