EzDevInfo.com

sleep interview questions

Top sleep frequently asked interview questions

How can I put the computer to sleep from Command Prompt/Run menu?

I know that almost everything on Windows, like opening any sort of application, can be done from the command prompt or from the Run menu.

How can I put my computer to sleep or shut it down? What is the command for that?


Source: (StackOverflow)

Is it still necessary to shut down computers?

Nowadays with our modern operating systems, is it necessary to fully shutdown computers instead of choosing to stand-by or hibernate computers (desktops and laptops)?

Would there be any side-effects of keeping a computer running continuously without a shutdown (putting it to sleep or hibernating it when it is not used)? For example, hard drive life decrease, system internals (Processors, RAM etc.) aging faster than usual, etc?


Source: (StackOverflow)

Advertisements

Windows 7 Keyboard Repeat Rate and Delay are Reset on Resume from Standby / Sleep

I always keep my keyboard repeat rate at the maximum and the delay at the minimum for optimal keyboard responsiveness.

Under Windows 7 however, I have found that the rate and delay are reset to the defaults (ie the one’s that are set with a fresh Windows installation) whenever the system resumes from sleep and requires opening the keyboard control panel applet (which already shows the desired settings) and manually setting them again by pressing Enter.

I have seen a couple of posts in the Microsoft support forums, but no solutions. Does anyone know of a way to fix this?


Source: (StackOverflow)

What is Hybrid Sleep in Windows 7?

Is Hybrid Sleep on Windows 7 the same as on Windows Vista?

As I understand it so far, it is like sleep, except the content of the RAM is also saved onto the hard drive, so when there is power loss or power outage, the state of the computer is not lost.

Will that involve saving all the RAM to the hard drive? So if my computer has 6 GB or 9 GB or even 12 GB, will that involve saving 12 GB of data to hard drive?


Source: (StackOverflow)

Conclusively stop wake timers from waking Windows 10 desktop

Problem

Windows suffers from hand-holding, and every iteration has exacerbated the problem. Windows 10 attracted controversy upon release for forcing home users to update regularly and making user injection of control awkward and unintuitive even for power users. The new updating system brings with it a new wake timer system that makes it even harder to configure when your PC wakes up. For lots of users this won't be an issue, but Microsoft appear to have forgotten that some people sleep in the same room as their PCs and that having your machine wake up at 3:30AM to download updates you haven't approved is irritating and disrespectful to the end user.

How do you stop a Windows 10 Desktop waking up from the sleeping/hibernated power state without user intervention?


Source: (StackOverflow)

How to prevent Windows 10 waking from sleep when traveling in bag?

I am not turning laptop off, but rather putting into hibernation, as it starts much faster and I can continue working without starting all apps again.

It was working long time from Windows XP to Windows 8.1.

However now (after upgrade to Windows 10), when I just take my laptop out of the bag after a travel, it was quite hot. I've realized that it is turned on.

In the event log I have found that it was installing updates and before that there was the following log:

The system has returned from a low power state.

Sleep Time: ‎2015‎-‎08‎-‎16T12:55:18.180075900Z Wake Time: ‎2015‎-‎08‎-‎16T12:55:17.852758500Z

Wake Source: Unknown, but possibily due to timer - Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Reboot' scheduled task that requested waking the computer.

When I located the task above in the task scheduler, it has trigger in that time, however the "last run time" is day before. So I do not know what to believe "last run time" or the wake source from the event above?

How to find out what is waking the computer from the hibernation (it is possible?) and how to prevent it?


Source: (StackOverflow)

Why does my Windows computer immediately turn back on after sleep/hibernate?

After clicking sleep or hibernate in Windows 7, my computer loads for a while and then goes into sleep mode, but not 1 second later it powers back up. The event log has no errors and no warnings appear when it comes back out of sleep/hibernation.

Here's my system specifications:

I believe this is all that's relevant. I've installed the latest chipset drivers, but I'm unable to update my BIOS (but this is another matter; maybe because the motherboard in the V3-P5G31 bundle is different).

I've also tried turning off the "Allow this device to wake up my computer" for the network card, keyboard, and mouse -- but this makes no difference.

If flashing the BIOS is the only thing that will fix this, then I will create a new question to this effect.

Maybe I should change the suspend mode from S3 to S1?


Source: (StackOverflow)

How can I make my computer play dead? [duplicate]

Possible Duplicate:
Disable power LED blinks during Vista hybrid sleep?

I have a laptop that when sleeping is perfectly quiet, which is great. What isn't so great is trying to sleep with led lights that get brighter and brighter, then dim, then get brighter... all to let me know the computer is sleeping.

Well I also want to get some sleep.

How do I make my computer play dead (Dark and silent)? Eg: appear hibernated, (no lights, no moving HDD...) without hibernating, or shutting down my PC.

It would be even better if I could have the status lights work normally between the hours of 8 AM to 8 PM but I don't expect such an elaborate solution.

I do however want the answer to only affect the computer's software, not the hardware. No cutting cables or masking tape...


Source: (StackOverflow)

Why won't my computer go to sleep automatically?

Windows 8 is set to sleep after 30 mins, and it used to work, but recently it's started refusing to sleep. (I can still manually ask it to go to sleep without any issue.)

Put the computer to sleep: 30 minutes

I was having issues a while ago, but it was with my network adapter. That's since been disabled, so it's definitely not that:

enter image description here

I've checked to see what devices are able to wake up my machine, but it only appears to be my mouse:

Powercfg -devicequery wake_armed

Which is odd, because I haven't recently changed my mouse, and more confusing still: The monitor does go to sleep just fine. If it was actually the mouse keeping my system awake, I'm pretty sure the monitor wouldn't go to sleep.

I've checked my Wake Timers, and nothing:

enter image description here

I've also checked my existing requests...

UPDATE: I found something. What to do with it, I don't know...

enter image description here

Note: Even when /requests says that there's "NONE" under every category, my machine still won't sleep(!).

enter image description here

In short: How can I tell what's preventing my computer from Sleeping?


UPDATE: Ok, so I now have a few more pieces of the puzzle. I came back to my computer and it was ASLEEP! Lawks! It seems that the only times it doesn't sleep is if VLC Player is open, even if a video isn't actually playing.

UPDATE UPDATE: Ok, so it won't sleep sometimes when VLC Player ISN'T running, either. Bah!


Source: (StackOverflow)

How can I stop windows re-positioning after waking from sleep?

I put my multi-monitor system to sleep when it's not in use. After I wake it up, all windows are repositioned to a different screen. The closest pattern I can think of is that the windows there were on the main screen switch to a the second screen. It looks like it disconnects the main screen before it goes to sleep which in turn switches all the windows to the 2nd or 3rd screen.

Edit: Here's the video card I'm using --> SAPPHIRE FleX 100322FLEX Radeon HD 6450


Source: (StackOverflow)

What's waking up my PC?

When I place my PC to sleep, it goes to sleep for 2 min and then wakes up again on its own.

I ran cmd.exe as an admin and then typed powercfg -last wake and -requests and I got nothing really that can direct me to figure this out. Any other suggestions? I've disabled many devices from waking the system up already including the keyboard (but not the mouse).

C:\Windows\system32>powercfg -lastwake
Wake History Count - 1
Wake History [0]
  Wake Source Count - 0

C:\Windows\system32>powercfg -requests
DISPLAY:
None.

SYSTEM:
None.

AWAYMODE:
None.

Source: (StackOverflow)

How do I make a batch file wait / sleep for some seconds?

I use a batch file to start up a few of the programs I need running in the background. Up until now, I had used the pause command to execute it after some of the other start-ups finished. I would prefer to use the wait or sleep commands but they do not appear to be included in Windows 7.

Anybody know how to put those commands back in, or a different method that achieves the same results?


Source: (StackOverflow)

Is it bad to put your computer in sleep mode every time?

Often I have a lot of stuff open and don't feel like shutting down my laptop, so I just use sleep mode when I'm transferring it. But I have no idea if this might have any disadvantages.

So my question is: is it bad to put your computer in sleep mode every time?

Things I'm wondering:

  • Should I turn off my computer every once in a while?
  • Will continuous use of sleep mode slow down my system in any way?
  • Are there any bad side effects (in the long term)?

Any thoughts?

FYI I'm using Windows 7 on a laptop


Source: (StackOverflow)

Windows 7 come out of sleep when I open remote desktop

Is there any way to have a Windows 7 machine come out of sleep automatically when I try and connect to it with Remote Desktop?

The power saving option of the machine I want to connect to (enforced by group policy I believe) is to sleep after 30 minutes, which means I have to either physically walk over to press a key, or fire up a separate Wake-on-LAN tool to get it out of sleep mode.

I would be nice if the Remote Desktop Connection client sent the Wake-on-LAN packet automatically - is this possible?


Source: (StackOverflow)

Why does my Windows 7 computer freeze after waking up from Sleep?

Moderator edit: if you have a similar problem, please ask your own question, since it seems there are several things that can cause this situation, it is better to treat each case separately.


Hey guys. I have Windows 7 running on my computer and everything is perfect. There's only one little problem. Sometimes when I leave my computer, I come back and my monitor is turned off or asleep, whichever it is. This is fine, I set it to do this. However, after turning on the monitor and moving the mouse around, the mouse cursor freezes; both the keyboard and mouse don't respond to anything, for example the keyboard's windows key won't bring up the start menu and moving the mouse around does not move the cursor around on the screen. I have to wait about a minute or two before things start working again.

I figured this was a power savings setting problem, so I went into Control Panel > Power Options.

I only have Turn off Display => 30 minutes and Put Computer to Sleep => Never. Of course, I went into the advanced power settings to look through there. I put Never to turn off the hard disk, Sleep after never, and that's about it. Nothing else there looks like it might be causing this. I went into the device manager and checked the mouse and the keyboard, and they both have the Allow this device to wake the computer checked for both of them.

Perhaps this other bit of information might help: Sometimes I VNC into my PC using my MacBook, and sometimes, as soon as it shows me the desktop, the same thing happens. The mouse won't move and VNC won't register any events on the server (Which is my PC of course). I close the client (And I know it has nothing to do with the client), then immediately restart it and try to connect. When I click the connect button, it hangs there, as if the PC is not responding.

Basically it's like whenever I try to wake the computer from sleep, it does so by showing me the desktop, then it freaks out.

Then again, I guess the computer isn't sleeping because the setting is set to 'Sleep after => Never'. I honestly don't know what's going on, would appreciate any insight. Thanks!


Source: (StackOverflow)