Share via

Won't sleep automatically with network files open

Anonymous
2010-01-21T21:33:03+00:00

I have a windows 7 HTPC.  All my content (photos, videos, etc is stored on my WHS).  The Windows 7 Media Center is set to point to the WHS for photos etc.

Problem is that once the screen saver starts up in Media Center, it prevents the computer from entering the sleep state.  The monitor shuts off like it is supposed to, but the computer will not sleep.  The computer will sleep fine automatically if Media Center is closed.

When Media Center is open I have run powercfg -requests and see many entries similar to this one:

[DRIVER] \FileSystem\rdbss

A file has been opened across the network. File name: [\SERVER\Photos\Vacation\11767.jpg]

One I have close Media Center, these entries no longer appear in powercfg -requests and the system can sleep as it should.

I enjoy using the picture slide show for a screen saver and would prefer not to have to disable it to get this to work.  Is there any other way?

Thanks

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-01-22T17:55:22+00:00

    I've determined that it is not just with the screen saver, but after I have accessed any of my photos in media center.  I have found this post that seems to suggest making a registry edit to allow sleep with remote files open will solve the problem.  Is this the only way?

    http://thegreenbutton.com/forums/t/75159.aspx?PageIndex=2

    From the post:

    "

    to show the hidden power property that can allow a system to sleep whilst network shares are open

    You can either set this via the Group Policy Editor (gpedit.msc), or you can enable it to appear in Power Properties by opening Regedit and going to:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Control\ Power\ PowerSettings\ 238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d]

    In there, set Attributes to 0 (the default value is 1, which means hide)."

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-07-12T18:48:08+00:00

    BTW The files opened was a word doc (I had word opened) in \\myfileserver\users\%username%\documents and in addition desktop.ini in all of the redirected folders.

    So a bug? Not having folder redirection setting offline files to auto-caching blocks sleep?

    And if all of the above is true - open files on the LAN blocks sleep. Doesn't make sense. I have open files all the time,

    But if true - I guess setting the sleep despite files are open can have the system sleep during a file copy then - must be the reason for not sleep with network files (if not cached by offline files)

    Any more granular less visible settings to set which files or file operations can request blocking sleep - rather than some process ID have a network file open and requests control (and always gets it?) ... ok, that process should be responsible of the power control ... let's just block sleep meanwhile completely and delegate control. It's a compositional design right, where the power control is actually in control? Or?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-07-12T18:19:00+00:00

    I have discovered a sideeffect of disabling the offline cache ("do not automatically make redirected folders avallable offline" for folder redirection set to disabled).

    That seems to have the network files open of course (instead of the auto-caching) which now seems to block sleep.

    Nothing about that in doc for folder redirection or group policy.

    So wlll try setting this power option - however don't ever think opened files on LAN has blocked local sleep before on the client that had a remote file opened.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-03-11T11:21:09+00:00

    Hi Reggie_31,

    Thank you for sharing this information, hope it will be helpful to other community members with same kind of issue.


    Yaaser - Microsoft Support Engineer

    Visit our Microsoft Answers Feedback Forum and let us know what you think

    Was this answer helpful?

    0 comments No comments