Questions tagged [reboot]

Reboot is a Unix command to restart the operating system. It is also a generic term for restarting any operating system.

604 questions
8
votes
2 answers

Detect whether a Windows reboot was due to Windows updates

A few applications on my PC have been doing a detection wether a restart was done by Windows Update or not. This is observable due to them restarting after the automatic Windows Update reboot. This is very helpful since those applications reload…
sinni800
  • 1,451
  • 14
  • 29
8
votes
1 answer

Silent Windows Installer installer without rebooting automatically

Currently I have an MSI which performs a major upgrade, and it is launched as: msiexec.exe /i installer.msi /qn REBOOT=ReallySuppress My question is regarding that particular property REBOOT=ReallySuppress: does this mean it will not restart the…
Santi Agüero
  • 3,143
  • 8
  • 27
  • 39
8
votes
2 answers

Docker container doesn't start after reboot with enabling systemd script

I have the following systemd script: [Unit] Description=Hub docker container After=docker.service [Service] User=root ExecStart=/home/hub/hub.sh ExecStop=/bin/docker stop hub ExecStopPost=/bin/docker rm…
chip
  • 155
  • 1
  • 1
  • 10
8
votes
4 answers

Is it possible to unload a kernel driver without a reboot?

I'm playing about with one of the kernel driver examples in the Win7 DDK. I can modify compile and build my *.sys file. I can install it too with its INF (using device manager or devcon) or using the Service control manager directly. When I make the…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
8
votes
5 answers

How to force restart a Windows box using VBScript?

I'm trying to find a way to force Windows to reboot, and I am running into issues. I've tried Set OpSysSet = GetObject("winmgmts:{authenticationlevel=Pkt," _ & "(Shutdown)}").ExecQuery("select * from Win32_OperatingSystem where "_ &…
tloach
  • 8,009
  • 1
  • 33
  • 44
8
votes
2 answers

programmatically reboot in safe mode then execute program

I have a program and once the is button clicked I want a message to appear that will tell user that the computer is rebooting (with ok/cancel option), then the computer will reboot. Yet the kicker is, I want it to reboot into safe mode. Then when…
Benjamin Jones
  • 987
  • 4
  • 22
  • 50
8
votes
4 answers

Linux reboot function called in C program causes file loss created by the program on disk

I have developped a C program (Linux), this program create a new file and write into, after that it reboots the PC. After reboot, I have lost the file created by my program. When I deactivate reboot function, the file created by my program is still…
developer
  • 4,744
  • 7
  • 40
  • 55
7
votes
2 answers

docker-compose is starting containers after host reboot. Which ones?

I'm new to docker-compose. Before, when I started containers manually, after a host reboot I had to start the containers manually. Today I found that -after a host reboot- I had 4 containers running. Those were previously started with…
Xavi Montero
  • 9,239
  • 7
  • 57
  • 79
7
votes
3 answers

ansible reboot 2.1.1.0 fails

I've been trying to create a really simple Ansible playbook that will reboot a server and wait for it to come back. I've had one in the past on Ansible 1.9 that worked, but i've recently upgraded to 2.1.1.0 and it fails. The host i'm rebooting is…
Jim
  • 155
  • 2
  • 7
7
votes
4 answers

How to recover from infinite reboot loops in NodeMCU?

My NodeMCU program has gone in to infinite reboot loop. My code is functionally working but any action I try to do, e.g. file.remove("init.lua") or even just =node.heap(), it panics and reboots saying: PANIC: unprotected error in call to Lua API…
Urmil Parikh
  • 323
  • 3
  • 11
7
votes
7 answers

how to do a linux reboot from php file

I have a user brftv on my linux system and I have www-data that runs the nginx. from the terminal I can let my brftv user run sudo /sbin/reboot and it works fine since I added the following to my /etc/sudoers file's "#user privilege specification"…
Matt Welander
  • 8,234
  • 24
  • 88
  • 138
7
votes
2 answers

Restart radio programmatically

Every now and then, the radio of my android phone silently dies because of some network related issues. On the Nexus 4, it shows the empty triangle as if there where no service available in this area. On other phones it does not even do that. It…
flx
  • 14,146
  • 11
  • 55
  • 70
7
votes
2 answers

Difference between Intent.ACTION_REBOOT and Intent.ACTION_SHUTDOWN

I am trying to receive (with BroadcastReceiver) the action of shutting down, booting and rebooting. I searched a lot, but I could not figure out what is the difference between Intent.ACTION_REBOOT and Intent.ACTION_SHUTDOWN, and when is…
Or B
  • 1,675
  • 5
  • 20
  • 41
6
votes
6 answers

How to make an EC2 instance automatically reboot when ELB says it's unavailable?

Every now and then Elastic Load Balancer (ELB) kicks out one of my servers for being unavailable. Which is good -- hardly any interruption. Usually, just rebooting the instance through the AWS Console fixes the problem. I would like to have my…
pk1557
  • 516
  • 7
  • 21
6
votes
6 answers

How to you determine when Windows is done rebooting?

I am using the Windows Update API to update a bunch of VM's. With Windows Update comes the inevitable reboots. Can anyone think of a way that I could tell from a remote server if the windows box has indeed finished its reboot? All ideas or thoughts…
Alex
  • 12,749
  • 3
  • 31
  • 45
1 2
3
40 41