.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Programatically Prevent reboots due to Automatic Updates in Home editions of XP, Vista, and 7

Posted By:      Posted Date: October 03, 2010    Points: 0   Category :.NET Framework

For some horribly foolish reason MS decided it was Ok to reboot someone's PC when they aren't at it.

It causes countless people loss of data on a regular basis, and is the singular worst idea MS has ever forced upon it's user, and almost destroyed my brand new laptop!

Yes I know about the registry setting: NoAutoRebootWithLoggedOnUsers, however it is ignored on Home editions of windows, so basically MS is saying: Home users don't do anything important, F them, their data isn't of any value.

I should save you say? I do, except for working-data I need for a few hours and then am done with it; that's not worth creating a file and saving. However it's what I usually loose because of automatic updates, and there are many many posts online of people who have lost significant amounts of work. Furthermore, my PC never locks up, so I have no fear of lost data, except for from automatic updates!

I could disable automatic updates, but I'd like to automatically stay up to date with security updates.

All the above was to prevent suggestions I already know about and are not good solutions for most people, so I was not interested in hearing them again. So now we can get straight to the point:

I want, either by some programmatic method or by hacking some system file, to have the following on Home editions of Windows:
1) Still have aut

View Complete Post

More Related Resource Links

SQL Server Reporting Services not able to install on Windows Vista Home Premium


Recently I had a weird problem while trying to install SQL Server Reporting Service in my local PC. I am using Windows Vista Home Premium and I wanted to configure SSRS in my PC. During the installation, the setup wizard listed all the services that we want to install and I found that only Reporting Server checkbox option was disabled and I wondered why??? I thought it may be becuase of some installation problem and tried again and its useless... I googled lot of sites for 3 days and finally found that due to some IIS issues, it is not possible to install Reporting Server in Vista Home Premium version. Reporting Server needs some specific IIS features to be installed in the machine.

But unfortunately those features are not available for Home Premium users which in term restricts users not to install reporting server in our PCs... Also, Microsoft has accepted it as an issue and its not possible to get it install in Home Premium...just wanted to share and might be useful for someone like me.

Reference: http://support.microsoft.com/kb/920201/en-us

How to prevent automatic update from sharepoint list on Infopath 2007 form

Hi there, I've got an Infopath 2007 form on MOSS 2007. I have a custom list in sharepoint and the infopath form has a data connection to that list to receive data. Is there any way to prevent automatic update on the values in the form that is received from the list. I'd like the new form to have updated info received from the list. However, the old/existing forms that were created should have the data that were available at the time when the form was created. Let me know if this is not clear and I'll try to explain more. Thanks,Pman http://www.pmansLab.com/

How to prevent automatic conversion from .CSV to .XLS

Hi, I have a web page which generates a .CSV file based on some user input. When this file is downloaded by the user, the file is being automatically converted to .XLS. Any idea how I can prevent this? For example, I am redirecting the user to the URL of the generated file, like below URL: http://localhost/reports/Work/aa.csv But the download window appears to download "aa.xls"!

Sharepoint 2010 Installation on Windows Vista Home Premium Service Pack 2



I am trying to install the trial version of sharepoint 2010 on my home pc. But when I am trying to install the software prerequitsites, it is getting error. It is saying that "tool does not support the current operating system". Log is given below.

2010-09-19 21:48:19 - Processor architecture is (9)
2010-09-19 21:48:19 - Reading the following string value/name...
2010-09-19 21:48:19 - Common Startup
2010-09-19 21:48:19 - from the following registry location...
2010-09-19 21:48:19 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
2010-09-19 21:48:19 - The value is...
2010-09-19 21:48:19 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
2010-09-19 21:48:19 - Trying to remove the startup task if there is any.
2010-09-19 21:48:19 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
2010-09-19 21:48:19 - Error: Startup task doesn't exist. This is not a continuation after a restart.
2010-09-19 21:48:19 - Locating the following command line arguments file:
2010-09-19 21:48:19 - C:\Program Files (x86)\MSECache\oserver2010\PrerequisiteInstaller.Arguments.txt
2010-09-19 21:48:19 - Error: This file does not exist
2010-09-19 21:48:19 - Details of the current operating system:

Window Vista Home Edition - Keep getting error when install NET.Microsoft Framework 4


Keep getting this error when i tried to install the program


SQL Server 2005 Developer Edition on Vista Home Premium??



I could not install  SQL Server 2005 Developer edition on my notebook with os Vista Home Premium. I know about the SP2 thing...but before coming that point, I can not either install the SQL Server 2005...

When installing,when the database services point comes it gives an error about user thing...and then installation starts to rollback...


I check the IIS configuration from the net...And see that while activating IIS there is no option for Windows Auth. in Home Premium in Control Panel>Program...>Windows Programs.....etc....


SO ON VISTA HOME PREMIUM is SQL SERVER 2005 Dev. Edition can be installed or not?

In report manager is it possible to prevent users from going to the "Home" page?

I have created my own menu system and would like to prevent casual users from ever going to the home screen as it just confuses them.  Is there a way to turn off this option?

cannot connect to sharepoint server intranet site through VPN with windows vista home premium 64bit

Hi, a company i work for has an intranet site using sharepoint 2008. i can connect to the intranet remotely through their vpn however i am not able to view the instranet site or ping the server it is on...

does anyone have any ideas on whether this might be a vista issue or ????


Error: Cannot determine security.config file path for SQL2008R2 development version on Vista home pr


The installation gets past the check for the windows installer and .net 3.5 but fails here finding the security.config path.  I've turned off the anti-virus, uninstalled and reinstalled .net 2.0 and 3.5.  I'm running as an administrator.  Nothing else that I've found addresses this specific error. The install start properly on an XP machine but not Vista.

What can I try next?

11/25/2010 06:58:25.951 Local setup.exe not found, so continuing to run setup.exe from media.
11/25/2010 06:58:25.970 Attempt to initialize SQL setup code group
11/25/2010 06:58:25.994 Attempting to determine security.config file path
11/25/2010 06:58:26.076 Error: Cannot determine security.config file path
11/25/2010 06:58:26.109 Error: InitializeSqlSetupCodeGroupCore(32bit) failed
11/25/2010 06:58:26.135 Error: InitializeSqlSetupCodeGroup failed: 0x80004005
11/25/2010 06:58:26.159 Setup closed with exit code: 0x80004005



Sql server 2005 fails to install on vista home basic

I am trying to install outlook 2007 with business contact manager, but the business contact manager fails to install because sql server 2005 fails to install. Message is setup failed to install the required component of microsoft sql server cna any one help

Changing the graphics on the home page of a SharePoint site

When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor

Automatic vs Explicit Properties

If the reason that motivated the change from automatically implemented property to explicitly implemented property was to change the semantics of the property then you should evaluate whether the desired semantics when accessing the property from within the class are identical to or different from the desired semantics when accessing the property from outside the class.

Formview LinqData source not allowing updates


OK, I'm confused.  I've set up a formview with a Linqdata source to allow users to edit records.  When I run it, edit data and submit, it blows up and tells me "Linq datasource6  does not support the Select property when the Delete, Insert or Update operations are enabled."  I googled that warning and saw a couple of posts on this forum saying the problem is the slect statement has to be removed from the Linq data source for it to allow updates. 

But if I remove the select statement then how do I show the user specific info on pageload?   plus I thought the two way databind was an advantge of the datasource control.




Why isn't my Views/Home/Home.Master file published when I publish my website?


Hi All,

I spent the better part of today hunting down an elusive error.  I was getting a message saying that it couldn't find the Index view for the Home controller, and it gave a list of locations it searched, e.g., ~/Views/Home/Index.aspx.  This was really confusing as the file definitely existing and was at ~/Views/Home/Index.aspx, the first place in the list of locations it searched for the view!

What I eventually discovered was that there was a file that did not get published when I used Visual Studio's "Publish" feature (this is on the "Build" menu).  That file was Views/Home/Home.master, and (as you can probably guess) is the master file used by Views/Home/Index.aspx.

Once I copied that file into place manually, it started working.  But I am left wondering--why???  Why does this file not get published?  It's a part of my project, I can see it in the solution explorer, and it's obviously a critical file that's necessary for the MVC app to run.  It has the same permissions as every other file in my project.  So why wouldn't it get copied?  And how can I fix it so it does get copied?

Thanks for any suggestions on this!


Windows Authentication for IIS in Windows 7 Home Premium Edition - for ASP Websites.


How to create a virtual directory and get benefit of the IIS. Is there a workaround to accomplish this without the Windows Authentication for Windows 7 Home Premium Edition?

Thanks in advance, 

How to write SQL Datasource programatically in VB


Can someone pls help me to rewrite this programatically!


<asp:SqlDataSource ID="DS" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                SelectCommand="SELECT * FROM [Products] WHERE ([ProductID] = @QSID)">
                    <asp:QueryStringParameter DefaultValue="" Name="QSID" QueryStringField="ID"
                        Type="Int32" />


Thank You in advance!


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend