Showing posts with label Shutdown. Show all posts
Showing posts with label Shutdown. Show all posts

Tuesday, November 8, 2011

bench3

Restore Windows Explorer Session After Clean Reboot Or Shutdown

If you ever used Sticky Notes, you might have noticed that Sticky Notes is able to restore a previous session (content) after a clean reboot or shutdown.

Mozilla Firefox can also able to restore its previous session even after a system restart or after a shutdown. The question now is, Is Windows Explorer able to do the same? If yes, how to enable.

Windows Explorer is a file manager application that is included with releases of the Microsoft Windows operating system. It is also the component of the operating system that presents many user interface items on the monitor such as the taskbar and desktop.

Solution on how to Restore Windows Explorer Session After Clean Reboot Or Shutdown:

For the record, the "restoring previous Windows Explorer session" function can be enabled in this way:

1. Go to Windows Explorer's Organize menu > select Folder and search options

Restore Windows Explorer Session After Clean Reboot Or_Shutdown

2. Go to View tab

Restore Windows Explorer Session After Clean Reboot Or Shutdown

3. Enable Restore previous folder windows at logon

Actually, this function existed ever since Windows XP came.

Note: Firefox will automatically restore your session after an automatic update, or when using the restart button from the Add-Ons Manager. Firefox will offer to restore your session after a crash or other unexpected close.

Read More

Wednesday, October 26, 2011

bench3

It Is Not Recommended To Turn Off the Computer | Using Windows Power Management At Its Best

In this article we will see why it is not recommended to turn off your PC. And also lets see various power management options. With PCs designed to work with Windows power management, including good BIOS and device implementations, users can realize great power savings and take advantage of new PC usage scenarios that weren't previously possible.

We recommend you do not turn off the computer when you have finished using it. Windows likes to perform housekeeping tasks when you aren’t using the computer, so leaving it on, even when you’re not working, is a good idea. You can schedule programs to run at specified times for example, you can schedule Windows to collect your e-mail at 7:00 every morning.

Many computers power down the monitor, hard disk, and fan after a set time of inactivity. The computer itself, however, is still running. If your screen doesn’t power off automatically, you should turn off your monitor when you aren’t using the computer.

Many computer monitors (except for LCD monitors) use the lion’s share of the electricity consumed by a computer.

Powering off unused computers at night and on weekends can save up to $60 in energy costs per machine per year! But the goals of Green IT often conflict with the needs of IT administrators to deploy critical updates.

But a good power management can help you get to a conclusion on this.

Choosing Lock Button Modes

Since Windows Vista, Windows Operating System includes Lock buttons. Lock buttons display on the Start menu and provide options for putting Windows or your computer in a different operating mode. For example, when you are ready to shut down your computer, you can use the Shut Down mode.

It Is Not Recommended To Turn Off the Computer  Using Windows Power Management At Its Best

The following list describes each mode Windows provides:

Switch User: Allows you to change from the current user to another user without shutting down the computer.

Log Off: Allows you to log off from Windows and any network connections you have established.

Lock: Allows you to lock your computer so users cannot access it, but it allows your programs to continue running. This is handy if you are downloading a large file and you need to walk away from your computer while it continues to download.

Restart: Shuts down Windows, and then reloads it (useful if your computer starts acting funny).

Sleep: Puts the computer into a sleep mode, which shuts down the hard drive and turns off the monitor to conserve power consumption. Programs remain open and your documents are automatically saved. When you awaken your computer, these devices turn back on.

Hibernate: Puts your computer into a power-saving mode that is similar to the Sleep mode. Hibernate is available only if you use the advanced power settings in Windows.

Away: Makes it appear that your computer is shut down, but some tasks like burning CDs and recording television programs still run. If you move the mouse or type on the keyboard, nothing happens.

Shut Down: Shuts down Windows. Windows displays a message when you can safely turn off the computer. Don’t turn off the computer until you see this message. Computers with advanced power management shut off automatically.

Setting Windows to Shut Down by Itself
Windows includes OnNow, technology that powers down the computer when nothing is happening and powers it back up when the computer is needed again. To use OnNow, choose Start | Control Panel, click System And Maintenance, and then run the Power Options program. To Use this feature, Your PC should have the OnNow-capable hardware.  With PCs designed to work with Windows power management, including good BIOS and device implementations, users can realize great power savings and take advantage of new PC usage scenarios that weren't previously possible.

The OnNow Power-Managed PC

Most users prefer to leave PCs turned off when not in use to reduce noise and electricity use. However, for new uses at home and in business, the PC must be instantly available to answer the phone, display e-mail, or browse the Web, but be silent and use minimal energy when not in use.

To achieve this, the OnNow-capable hardware, operating system, and applications must work together in these ways:

  • The PC appears to be off, but is ready for use immediately when the user presses the On button and return to its "off but ready" state automatically when the system is idle.
  • Software adjusts its behaviour when the PCs power state changes for example, software does not inadvertently keep the PC busy with unnecessary background tasks.
  • All devices participate in power management. Any device can have its power state changed by the system.
Read More

Sunday, October 2, 2011

bench3

Create Shutdown Tile on Windows 8 | How to Shutdown Windows 8 from Desktop or Metro Interface

If you are using Windows 8 either as a virtual Machine or as a normal Operating System, you will miss the Shutdown Button. This is by design, that there is no shutdown button to turn off the Windows 8 computer.

However, you can follow the steps mentioned in the article to create a shortcut of shutdown your Windows 8 PC.

Windows 8 developer preview ISO Image is currently available for public download from the official Microsoft Windows website. If you like to get first hand experience on what is new in Windows 8, I strongly recommend you install it on a Virtual Machine rather than trying it on your primary computer. And if you are experiencing Problem installing Windows 8, I suggest you read my earlier post on “halinitializationfailed-error”

Steps to create shortcut for shutdown in Windows 8

  • In the Metro interface, click on the Desktop.
  • In the desktop, Right click on the empty screen, select "New" and then Select "Shortcut".

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 1

You will see the below screen, which asks you to enter the location. Copy the following code and paste it there.`

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 _2

To create shortcut for shutdown computer, enter the following code

Shutdown.exe -s -t 00

Command To Make Windows 8 PC To Restart

Shutdown.exe -r -t 00

Command To Make Windows 8 PC To Hibernate

rundll32.exe PowrProf.dll,SetSuspendState

Command To Make Windows 8 PC To Sleep

rundll32.exe powrprof.dll,SetSuspendState 0,1,0

  • After entering the respective code, it will ask you to enter a name for the Shortcut. Enter the respective name.

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8_3

  • Click ok. Now, to change the icon of the shortcut, Right click on the shutdown icon and select properties and click on Change icon.
  • Select the icon you want, and click ok.

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 _4

  • Now, click on Apply and ok. You have created a shortcut for Shutdown option.

Steps To Display Shutdown Option In Windows 8 Metro Interface

  • Go to Windows Explorer. (Win+E)

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 _5

  • Enter the following code in the location bar.

%appdata%\microsoft\windows\Start Menu\Programs\

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 _6

  • After pasting, press enter, you will see Accessories folder. Open it.

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 _7

  • Now, cut the Shutdown shortcut and paste in the Accessories folder.
  • That's it, now you successfully created a Shortcut for Shutdown in the Metro interface of Windows 8 OS.

To verify it, Press Windows key, it will take to the Metro interface, type shutdown, you will see a "Shutdown App" in the Metro interface.

Shutdown Windows 8 From Desktop  App To Shutdown Windows 8 _8

We can also create a Shutdown Tile In Windows 8 Metro Interface and which will be even easy and faster to shutdown. Please follow this link to create a Shutdown Tile in Windows 8 Metro.

Note: We can not only create a shutdown Tile, But also, a Restart Tile, Hibernate Tile, Sleep Tile, and more over, we can create a Tile for any shortcut by following the instructions in this article.

Well that’s it. Try Windows 8 Now! And if you have not downloaded Windows 8, just head on to Microsoft's developer site and download it. You'll just need a PC with a 1GHz or faster processor (either 32- or 64-bit), 1GB of RAM (2GB for 64-bit), 16GB of hard disk space (20GB for 64-bit), DirectX 9 graphics with WDDM 1.0 or higher driver. Of course, if you want to play with Windows 8's touch abilities, you'll need a screen that supports multi-touch.

Read More

Monday, August 8, 2011

bench3

Computer Shuts Down Instead Of Sleeping | Fix

Some times When we attempt to put computer on "sleep" it appears to shut down. i.e. you may have to start the computer from the power button rather than click the mouse computer will not sleep.

But, before you try to fix this issue, you need to check your keyboard whether the keyboard or mouse has an option to wake the computer up when its in sleep mode.

To fix your issue, you need to open a command prompt with administration rights and issue a command.

1) Search for "CMD"

2) Right click "CMD" and "Run as Administrator". If you were asked to enter the administration password, give the required.

3) In the command line, type in "powercfg.exe /hibernate off"

Sleep should work properly now, instead of shutting off your PC. Watch the below screen shot for any help.

Fix Computer Shuts Down Instead Of Sleeping 1

Fix Computer Shuts Down Instead Of Sleeping 2

If the above solution did not work for you, you can also try the below fix.

  • 1. Open the Control Panel (Standard View).
  • 2. Click on System and Maintenance and then System.
  • 3. Under Tasks, click on Device Manager.
  • 4. Provide administrative credentials when prompted.
  • 5. Click on the + sign beside Keyboard
  • 6. Right click on selected device and then go to properties
  • 7. Go to Power Manager tab
  • 8. There should be a check on this device can wake the computer

The ability to recover from sleep mode by pressing a key on the keyboard or by moving the mouse on a computer that supports ACPI is dependent on the computer's motherboard. This ability is disabled in older Intel motherboards, and the only way to wake the computer from sleep mode is to press the Power button.

With most newer motherboards, you can wake the computer by pressing the Power button, by pressing a key on the keyboard, or by moving the mouse.

ACPI support is necessary to take full advantage of the power management and Plug and Play features in Windows. If you are not sure whether your computer is ACPI-compliant, please see the printed documentation for your computer or motherboard, or contact the manufacturer of your computer or motherboard.

For more information about hardware and software vendor contact information, visit the following Microsoft Web site:

http://support.microsoft.com/gp/vendors

Read More

Friday, May 6, 2011

bench3

Sony VAIO Keeps Shutting Down

We have Sony VAIO that has Windows 7 and keeps shutting down. Every time it boots it shuts down in 2 to 3 minitues. It booted 2 or 3 times but would shut down after a few minutes. Then tried to run Spybot or the recovery tool and it shuts down before it is complete, almost within 10 to 30 seconds. What is the recovery?

Solution:
  • It is possible that this due to a hardware problem likes when processor become hot the computer will shutdown
  • Enter into the Safe Mode
  • Try a Clean Boot, disable the startup items and non-Microsoft services to check.
Read More

Friday, April 29, 2011

bench3

Windows 7 Thrashes Hard Disk When Waking From Sleep

We noticed that on Sony VAIO Z notebook that when we resume for sleep, the system is unresponsive for about 30 seconds and during that period, the Hard Drive LED is constantly on. When the HS LED goes off, the system become usable. We have tried restarting or making sure no programs are launched when putting the computer to sleep but it doesn't help. 

Strangely, this doesn't happen when 7 is first installed. Happens after a couple of days. Even reformatted and same thing.

Solution:
  • We probably talk for hibernate, but not for sleep.
  • Hibernate require all RAM content to be saved on HDD before system to goes to be powered off, and to be back loaded from HDD on wake up.
  • As many RAM you have as long it takes to save and load RAM content
  • When system use hibernate it is completely off, if sleep is used, system still drain power to supply RAM
  • It is possible and some problem with HDD to cause this behavior, so if you are sure you use sleep, but not hibernate, check hdd SMART status and HDD surface for bad sectors
 Most likely is that our power options (BTW, does this occur on battery only, on AC only, or both) are set to put the system into Hibernation after XX minutes (this is, BTW, A Good Thing, as it conserves power on battery, by dropping the system from S3 (standby, RAM powered) to S4 (hibernation, RAM not powered.)
Read More

Saturday, December 11, 2010

bench3

Windows 7 Hangs While Shutting Down | Windows Takes Too Long To Shut Down

If this is brand new System and you bought it through OEM License, your first place to call would be your PC Vendor (Like, HP / DELL / IBM ) and let them work you through the problem as its under warranty.

Also note that, Windows 7 has been know to take a very long time to shut down (part of the price for a quick boot up) When it hangs up as you call it, what do you do then?
  1. Click the Start Button type "msconfig" (without quotation marks) in the Start Search box, and then press Enter. Note: If prompted, please click Continue on the User Account Control (UAC) window.
  2. Click the "Services" tab, check the "Hide All Microsoft Services" box and click "Disable All" (if it is not gray).
  3. Click the "Start-up" tab, click "Disable All" and click "OK".
Then, restart the computer. When the "System Configuration Utility" window appears, please check the "Don't show this message or launch the System Configuration Utility when Windows starts" box and click OK.

Please test this issue in the Clean Boot environment, if the issue disappears in the Clean Boot environment, we can use a 50/50 approach to quickly narrow down which entry is causing the issue.

If the issue persists, please unplug all unnecessary devices and disable all start-up items and third party services when booting. This method will help us determine if this issue is caused by a loading program or service. Please perform the following steps:

Stop everything running in your system tray, like antivirus or anything else that appear there. Also unplug any peripherals like gaming controllers, webcam or USB sticks. If Windows shuts down normally you know its one of these programs or devices that is causing the problem. Another thing to do is to start in Safe mode and see how shutdown behaves from there. Again, if its quick then the cause is definitely a device or program.

If you are not able to identify the problem from the above solution, you can try the available hotfix from Microsoft.

However, this hotfix is intended to correct only the problems that related to shutdown and sleep problems in Windows 7. Apply this hotfix only to systems that are experiencing the problems related to shutdown and sleep in Windows 7. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, I recommend that you wait for the next software update from Microsoft that contains this hotfix. Please Refer Microsoft Knowledge Base Article (KB977307) : http://support.microsoft.com/kb/977307

If you are not severely affected by this problem, Microsoft recommends you wait for the next software update that contains this hotfix. For more information, please Refer Microsoft Knowledge Base Article (KB977307) : http://support.microsoft.com/kb/977307
Read More

Thursday, March 18, 2010

bench3

Make Windows To Shutdown Faster

This method is tested and worked with Windows XP but never tried with windows vista or windows 7. If anyone can do it, please write a comment in this post.

When a user shut down his windows XP the operating system waits till all the services is killed ,some time the service does not shut down and windows gives a chance to shut down before killing.

The amount of time the windows waits to kill the service is stores in registry ,my modifying this setting the time time taken for windows to wait the service to shut down will reduce and kills instantly.
  • Go To Registry Editor. [Click Start - Run - And Type REGEDIT]

  • Navigate To HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control.
  • Click on the “Control” Folder.
  • Select “WaitToKillServiceTimeout”
  • Right click on it and select Modify.
  • Set it a value lower than 2000.
Read More

Thursday, March 4, 2010

bench3

Windows 7 Not Booting Up After Power Failure | Repair Windows 7 After An Abnormal Shutdown

If you ever come across a situation that, Windows 7 failed to Boot After Power Failure. How to repair in such situation. Repair Windows 7 After An Abnormal Shutdown. 

This problem can occur due to any of the problems stated below:

1. Windows Closed Down As No More Battery In Laptop

2. Abnormal Shutdown

3. System Switched Off Due To Power Failure

Possible Error Message by the time when you try to re start your Windows 7 Machine can be: Windows Not Found. 
Solution:
  • Ensure the first bootable device is set as CD/DVD Rom drive
  • Insert the Windows 7 DVD and do a repair
  • Boot to the System recovery options and select the repair startup option.
  • Startup Repair will scan your computer to attempt to find and fix any startup problems.
Note: Again i am letting you this. Please ensure the first bootable device is set as cd/dvd rom drive
Read More

Saturday, December 5, 2009

bench3

Know The Difference Between Shutdown And Restart | Which One Is Safe And Effective

A shutdown simply powers down the machine almost entirely and does not attempt to start the operating system again until you press the power button. A restart simply ends your session, shuts the operating system down, and then re-loads the operating system again.

Common Use Of Shutdown And Restart:
1. Shutdown is used with the intention of leaving the computer in an off stage once the shutdown procedure has completed. 

2. Restart is used with the intention of recycling the current session of the OS, to reset applications running/hanging etc..
Personally speaking, I was always curious to know the technology behind a computer restart. Anyone can understand the process behind computer shutdown since we are habituated with the same kind of processes with our television sets, home theaters etc. But how do computers restart since it first closes down all running applications and gets shutdown, which means the power to the motherboard gets disconnected. Then how come it manages to restart the whole computing process from the beginning?

How Restart Works

Well, the answer is not that much confusing at all. When we shutdown our system (by pressing the power button or from the OS menu), our computer starts saving all data and then it starts dumping all RAM (Random Access Memory). Once the RAM gets dumped completely, SMPS cuts off power to the motherboard and that’s how a computer shuts down.

Now when we click the “Restart” button on our computer, the operating system starts shutting down all active and running programs to make the RAM free. Once the OS regains all RAM resources, it will issue a command to the CPU to warm boot where BIOS system takes over and controls the whole booting process. In this process, BIOS loads first 512 bytes of detected boot device, jumps to boot loader code and restarts the computer.

Few might have the misconception that shutdown process is safer while system restart might harm the computer. Well, if you have read the above explanation, you can conclude with the fact the computer restart makes our job more easier... But, is it safer?

Shutting down will prevent theft and data loss issues among other things. Re-starting will leave your computers available or open to many other risks.

There are a number of reason why we or programs go for shutdown or restart: 
Work stations should be shut down unless you are still running programs that process data that require hours to complete. It goes without saying if you shut down the machine the programs running will not complete their task and later you will have to start over.

I guess it will depend on the kind of lab and the purpose of each machine. Each machine may have a different purpose and that will dictate weather it needs to be shut down completely or not. 

And to be even Short, there is no effective difference between shutdown and restart. And technically speaking, A restart (at least in a Unix environment, which the Mac is), dumps EVERYTHING, and boots fully from a zeroed state. ALL processes are released and reinitiated from scratch. Even if there were anything residual in any cache, it would be overwritten anyway when the system was being restored.

I think the theory being put forward is that since some of the caps haven't fully bled off, there may be residual data in some of the registers. Unless they can state absolutely the decay rate of those, then "ten seconds", or any other SWAG'd delay, is basically bollocks.

This is more ancient technology concept, and since most Windows users have NEVER seen what actually goes on, process-wise, in detail, it's become more computer urban legend/dogma than anything else.

You could posit that a restart is easier on the microelectronics as they don't have time to suffer from thermal expansion because of short-cycle cooling  and reheating. That, as well, is debatable, but certainly a stronger theoretical argument than any nebulous "data left in cache" claim.
Read More

Friday, August 14, 2009

bench3

How To Shutdown Your PC Using Command Prompt | Various Shutdown Commands

How to shutdown, restart, logoff using the command prompt. Caution: Shutdown will logoff the current user. So, dont forget to save all your work before you try with shutdown command.

You can shutdown restart and do many other similar tasks using the Windows Command Prompt. This will come to use many a times if you are using batch files a lot. And would like to automate some Windows tasks.
Reach Command Prompt : 
There are many ways in which you can reach the command prompt... they are,
  • Click Start - All Programs - Accessories - Command Prompt.
  • Type CMD and enter in the run prompt.
  • Click Windows Key Along With R (run prompt) and Type cmd and enter.
  • In windows Vista and Windows 7 - Just click on start menu and type cmd and enter. Read more about How To Use Windows Start Menu Search.
Various Shutdown Commands:
1. shutdown /? This displays the help for the shutdown command.
2. shutdown -s this command will SHUTDOWN the system.
3. shutdown -r This command RESTARTs the system.
4. shutdown -a This command aborts (cancel) any shutdown process in progress including those initiated by your system administrator.

This is a quick reference to most frequently used parameters for shutdown command. 

Here is the original help information on Microsoft...

Allows you to shut down or restart a local or remote computer. Used without parameters.

Syntax :
shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]Parameters

-l : Logs off the current user, this is also the default.
-m : ComputerName takes precedence.
-s : Shuts down the local computer.
-r : Reboots after shutdown.
-a : Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f : Forces running applications to close.
-m [\\ComputerName] : Specifies the computer that you want to shut down.
-t xx : Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c “message” : Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
-d [u][p]:xx:yy : Lists the reason code for the shutdown. The following table lists the different values.
Value Description
u - Indicates a user code.
p - Indicates a planned shutdown code.
xx - Specifies the major reason code (0-255).
yy - Specifies the minor reason code (0-65536).
In the command prompt type shutdown /? this brings the Help for shutdown command in windows. And If you have some doubts about command prompt feel free to post a comment.
Read More