Encrypted drive and windows standby

Posted on 2011-03-04
Last Modified: 2012-05-11
Hello we are having a problem with windows XP entering into standby mode. We have encrypted Hard drives that must be running or in hybernation mode. When the laptop goes into standby windows can't access the encrypted drive so the laptop locks up and we have to do a hard powerdown the laptop to get it working again. We have gone into the Bios and turned off the powermanagement so Windows can manage the power. We set the power option in Windows to never turn off the hard drive and never go into standby. However from time to time our laptops enter standby mode. We have been able to recreate the problem by setting the laptop to go into standby after 2 mins of inactivity on battery. I did find an interesting event in the system log, Event ID 240 "A request to suspend power was denied by TdmService.exe" This is the behavore that we want windows to take but I have not been able to consistently get the laptop to not go into standby.
Question by:Dave2120
  • 8
  • 2

Expert Comment

ID: 35037645
I would look for any standy or power options in Trusted Drive manger.

"tdmservice.exe is a process from EMBASSY Trusted Drive Manager by Wave Systems Corp. and part of Seagate Momentus FDE Trusted Drives. The EMBASSY Trusted Drive Manager is integrated into the EMBASSY Security Center to activate the hardware-based full disk encryption features of Seagate Momentus FDE Trusted Drives. Seagate Momentus FDE Drives, informally called “Trusted Drives”, are laptop hard drives with an on-board security controller and embedded capabilities for media-speed full disk encryption and pre-boot authentication"

Author Comment

ID: 35037894
I called and talked to Wave systems, They walked me through what settings we need in order to not allow windows to go into sleep mode. The trusted drive settings are correct for each laptop. The problem we have is the laptops we are using are not certified with Wave systems so the results are not consistant. For now we have to make sure Windows is set to never go into standby and only go into hybernate. We have software that is able to set the power mode in Windows everytime a user logs on. I did find 1 setting was still in standby, the 3% power on battery. I think as the laptops get to the 3% they are attempting to go into standby and causing the problem.

Accepted Solution

Lordy123 earned 460 total points
ID: 35038006
This script should disable standy on the entire system, unless the registry values on your machine already match those in the script. Let me know.

Option Explicit

Set WSHShell = WScript.CreateObject("WScript.Shell")
Dim WSHShell, n, p, itemtype, mybox

p = "HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\CurrentPowerPolicy"
itemtype = "REG_SZ"
n = "4"
WSHShell.RegWrite p, n, itemtype

MyBox = MsgBox("You must Log Off/Log On for the changes to take effect.", 64,"Done")

Author Comment

ID: 35038207
I have to got o a meet for the next hour or so I will try this when i get out.

Author Comment

ID: 35038722
Ok I have applied the scrypt to one of our laptops and it is not going into sleep mode even though I told it to go into sleep mode. It did go into hybernate as we need it too. I am going to do more testing through out today to make sure everything is ok. But for now Awsome work I will let you know in about 3 hours how testing is going.
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!


Author Comment

ID: 35038805
I set the power settings to go into standby and did not allow hibernation. The laptop when into standby mode.

Author Comment

ID: 35039084
After looking at this in more detail this setting will not work for us. We have a custom power policy that is pushed out by a scripting program. If possible we need to turn off standby mode while keeping Hibernate as an option. Our laptops are set as follows while on battery
Turn off monitor 5 mins
Turn off hard disk never
System standby never
System hibernate 15 mins

LVL 35

Assisted Solution

torimar earned 40 total points
ID: 35048083
Maybe this little tool will help: Dont sleep -

Author Comment

ID: 35056385
I will give this a shot and test it.

Author Comment

ID: 35058071
I tested the software and it turned off standby and Hibernate on Windows XP. This will not work for us as we want hibernate. I am almost sure I tracked down the problem; on laptops power options have a tab named Alarms. This tab has options for low battery and critical battery. By default Windows sets the critical battery setting to standby. I have tested and verified when the battery gets to the critical level setting the laptop is put into standby and the laptop locks up. Does anyone know what registry setting will change standby to Hibernate on the Alarms tab Alarm Action button?

Author Closing Comment

ID: 35151534
After attempting multiple solutions to the problem it turns out the simple one works best. As long as the laptops do not go into standby they are fine. I was not able to find anyway of disabling standby from ever running but making sure standby is set to never keeps the laptop from locking up. This KB article was helpful in finding what command to use for our solution.
If you run into the same problem we had pay close attention to the alarm power option tab. The default is standby and on our encrypted drives the laptop locks up every time. Our solution was to use the laptop management software to run a batch file under admin privilege to turn off standby and only allow hibernate.

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PGP whole disk encrypted Laptops 5 57
PGP key : industry standard 2 61
end to end encryption and remote wipe 2 48
Header of docx file 17 56
A few customers have recently asked my thoughts on Password Managers.  As Security is a big part of our industry I was initially very hesitant and sceptical about giving a program all of my secret passwords.  But as I was getting asked about them mo…
Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now