How to stop installing updates in Windows 7 after restart? [closed] - windows-7

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
My Windows 7 started installing updates on shutdown. After I manually forced shutdown by mistake, after restart I have a message : "Installing updates : 10 of 42", i.e. the installation of updates continues. If there is any way to stop the process? Like, start Windows in protected mode or something similar, as it was available in Windows XP?
I am not asking how to disable automatic updates installation in the future, I am asking how to stop the update process after it has already been started.
Thanks,
Kostya

There is no way to kill installing process after it started but just to long press the power button and disable the automatic after restarted.

SOLUTION !
1) create a .bat (CMD) file, with this code:
sc stop wuauserv
2) put that file in STARTUP folder ( %appdata%\Microsoft\Windows\Start Menu\Programs\Startup )

Related

Win 10: Make shutdown script visible [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
With group policies I have setup a .bat script that runs when windows is shutdown. The script runs an .exe that does a backup of my data. Under Win 7 the execution of the .exe appeared on the screen when windows was shutdown or restarted. This allowed to terminate the backup (.exe provides this option) if it was not required, e.g. in case of a restart.
In my newly setup Windows 10, the script runs (I can tell this from the time the shutdown takes) but the execution of the script is not visible on the screen and can therefore not be terminated if not needed.
Questions:
Is there any way to make the execution of the .exe in the shutdown script visible on Win 10?
Is it possible to determine inside a .bat script if windows is shutdown or restarted?
Thanks for your help.
There is a setting in gpedit that defines if the statements exeucuted in a shutdown script should be shown.
gpedit.msc: computer configuration -> adminstrative templates -> system -> scripts: You find 'Show statements when executing shudown scripts' (or similar since translated from German!). Only if activated will you see what the computer does during shutdown. 'Not activated' is the Default.
I found the solution via the following question asked here in Stack Overflow

Bash on Windows 10 is not working [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am planning to compile and run code in a linux environment. Before moving to a linux environment I want to try it out, virtual box and dual boot will take my memory. So, after updating my windows 10 anniversary updates, I was able to install bash (ubuntu) natively to my windows 10 through windows features. After installing bash when I try to run bash it's popping and closing a windows immediately. how can I solve this. I tried this with two pc, no luck. How can I solve this issue. Which registry file should I change ?
Turn your windows to developer mode, go to settings -> search for developer, then change to developer mode. Restart your pc. It should work now

How to shutdown Windows 10 PC using cortana? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I got Cortana yesterday and was getting along with it.But when I said Shutdown, it just searched Bing for Shutdown. I want Cortana to shut down my PC, how to do this?
This creates a shortcut that Cortana can invoke, the target of the shortcut is the Windows shutdown.exe utility.
Goto C:\Users\ {Your Username} \AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Create a new shortcut
In location, type shutdown -s -t 10 -c "Your Comment" (without the quotes)
Now name it whatever you want.
Done
-s is for shutting it down and -r for restarting it. -t is the timer in seconds.
-c is the comment which appears when going to shut down. This is a youtube video which shows how to do it.

Could not see graphics on Windows Server 2003 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I installed Windows Server 2003 on one of my machines. It was a long back machine and the OS was also installed long back. Its RAM is 4GB.
Until 4 days back the machine was fine and providing services. But recently its graphics got problem. Only command prompt is working. If I open Windows Explorer through "explorer.exe" through command prompt, the window gets opened but no graphics would be displayed. It is showing black desktop.
The machine is currently running as a development server. Could anyone please suggest and help me in making the machine run perfectly?
Somehow I found the answer. I killed the process explorer.exe with the help of below commands
> tasklist
> TaskKill /F /IM explorer.exe
and started the process with the below command
> explorer.exe
It should resolve the issue at this point. If not, logoff the machine and login back. It should definitely show the result.

behavior of windows while restarting of service [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
The question is while restarting the windows service whether windows kills the service or it waits for the process to finish. As i remember in linux the "restart" command will kill all the child process.
Thanks in advance. I searched the question in this forum but didn't find.
Restarting a service is just shorthand for 'stop service and start service.' So, the service gets a chance to shut down normally and then it gets a chance to start up normally.
You can see this by restarting a service in the Services MMC snap-in. I tried this on Windows 7 and the sequence UI went like this:
Windows is attempting to stop the following service on Local Computer
followed by
Windows is attempting to start the following service on Local Computer

Resources