Questions tagged [reboot]

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

559 questions
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
  • 7,934
  • 1
  • 31
  • 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
  • 939
  • 4
  • 20
  • 46
7
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…
Santiago Agüero
  • 2,933
  • 7
  • 23
  • 36
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
  • 145
  • 1
  • 7
7
votes
1 answer

How do I schedule a timed reboot of my server in seconds?

I’m using bash shell on Linux … $ uname -a Linux sandbox.mydomain.com 3.4.76-65.111.amzn1.x86_64 #1 SMP Tue Jan 14 21:06:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux although it would be nice if I could come up with a solution in any bash supported…
Dave
  • 17,420
  • 96
  • 300
  • 582
7
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,188
  • 5
  • 33
  • 50
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
  • 488
  • 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
  • 11,537
  • 3
  • 29
  • 45
6
votes
1 answer

Android: BroadcastReceiver won't listen to BOOT_COMPLETED

My app pushes a daily notification (this is working correctly) but after a device reboot notification won't fire again. I'm trying to set a BroadcastReceiver that listens to BOOT_COMPLETED to no avail. AndroidManifest.xml:
Diego Perez
  • 1,267
  • 18
  • 37
6
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
  • 125
  • 1
  • 7
6
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
  • 303
  • 2
  • 11
6
votes
1 answer

Does iOS start app in background after reboot if remote-notification defined in UIBackgroundModes and new push notification comes?

I have an iOS7 app which registers for background mode remote-notification: UIBackgroundModes remote-notification It works fine before reboot and app gets this event while in…
6
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
  • 13,818
  • 11
  • 51
  • 69
5
votes
4 answers

Android phone reboots on uninstall

I am developing an app and when I uninstall the phone kind of semi-reboots. This is my old post: I have a strange problem with my phone. I am using SAMSUNG GALAXY 5 (GT-I5500) with Android 2.2 on it (not rooted). I am an android developer and I…
Norbert
  • 247
  • 2
  • 4
  • 11
5
votes
1 answer

What is the simplest way to reboot after a Setup Project installation completes?

I hate to ask this question as I am aware that there are plenty of questions about it already, some coming very close to what I am wanting to do: Reboot system from Setup project prompt to reboot computer after installation completed The first one…
identitycrisisuk
  • 786
  • 1
  • 8
  • 15
1 2
3
37 38