After Updating to Win 10 Shutdown Function doesen't work. (2 Viewers)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    Two machines here (HTPC1, Work Horse) that, if allowed to go into standby themselves, cannot correctly be resumed: the screen stays black and the system appears non-responsive. However, when I actively send HTPC1 into standby using the MP skin command, it is waking up again (with occasional subsequent MP crash - "MediaPortal has stopped working").

    Go figure...
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    586
    294
    Home Country
    United Kingdom United Kingdom
    Ah. That reminds me that I did explicitly go into power options after upgrading to Windows 10 and did change some of the settings back to what they were before - maddeningly, though, I can't remember exactly what. I only remember that some settings had been changed by the upgrade.

    Sorry I can't be more specific.

    Tony[DOUBLEPOST=1440103404][/DOUBLEPOST]I've just had another thought about post Windows 10 upgrades.

    I, and many others, had issues with Outlook not being able to send emails. The fix was somewhat surprising:

    Open the command prompt (run as administrator) and enter 'sfc /scannow' - without the quotes.

    This reported that corruptions were detected and fixed. Outlook started to work properly again after that.

    I think it's worth giving that a try.

    Tony[DOUBLEPOST=1440103601][/DOUBLEPOST]If that doesn't work, try running DISM;

    DISM /online /clean-image /checkhealth
    DISM /online /clean-image /scanhealth
    DISM /online /clean-image /restorehealth

    Then run sfc /scannow again to demonstrate that all is okay.

    Tony
     
    Last edited:

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    Ah. That reminds me that I did explicitly go into power options after upgrading to Windows 10 and did change some of the settings back to what they were before - maddeningly, though, I can't remember exactly what. I only remember that some settings had been changed by the upgrade.

    Sorry I can't be more specific.

    Tony[DOUBLEPOST=1440103404][/DOUBLEPOST]I've just had another thought about post Windows 10 upgrades.

    I, and many others, had issues with Outlook not being able to send emails. The fix was somewhat surprising:

    Open the command prompt (run as administrator) and enter 'sfc /scannow' - without the quotes.

    This reported that corruptions were detected and fixed. Outlook started to work properly again after that.

    I think it's worth giving that a try.

    Tony[DOUBLEPOST=1440103601][/DOUBLEPOST]If that doesn't work, try running DISM;

    DISM /online /clean-image /checkhealth
    DISM /online /clean-image /scanhealth
    DISM /online /clean-image /restorehealth

    Then run sfc /scannow again to demonstrate that all is okay.

    Tony
    Okay I will try these two things... Thnx Tony
     

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    I've tried the different skin approach, but it made no difference...

    My log says it's having access problems with mediaportal. Xml ... But wouldn't that influence a lot of other things?
     

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    Two machines here (HTPC1, Work Horse) that, if allowed to go into standby themselves, cannot correctly be resumed: the screen stays black and the system appears non-responsive. However, when I actively send HTPC1 into standby using the MP skin command, it is waking up again (with occasional subsequent MP crash - "MediaPortal has stopped working").

    Go figure...
    @HTPCSourcer can you close/shutdown MP with the skin command?
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    You are citing the answer: ;)
    when I actively send HTPC1 into standby using the MP skin command, it is waking up again.
    [DOUBLEPOST=1440172966][/DOUBLEPOST]
    My log says it's having access problems with mediaportal. Xml ... But wouldn't that influence a lot of other things?
    Having some trouble to read the Danish messages. It might be easier if you posted the full mediaportal.log instead, so that one can see the context.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    Hello,

    [2015-08-22 00:01:17,008] [Log ] [MPMain ] [ERROR] - Exception: System.UnauthorizedAccessException: Adgang til stien 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml' blev nægtet.

    This is weird because it is not this copy of MediaPortal.xml that should be addressed but the one in C:\ProgramData\Tema MediaPortal\MediaPortal. As far as our Windows is concerned, its behavior is correct in terms of not allowing write access to the copy in the Program Files path. I am not sure what is causing this. Can you verify that there is a copy of the xml file in the ProgramData path amd check its security settings?

    One possible reason could be that you installed MediaPortal for "Yourself" instead of "All users" and in the meantime changed Windows account information. The latter might have been caused by the WIndows upgrade process to Win 10, where a SID change may have taken place. This would then be a new account not recognized by your current security settings for the directory in ProgramData. The cure is simple: open Explorer, navigate to C:\ProgramData\Team MediaPortal, open its security settings and add "Everybody" as owner with full access privileges.
     

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    Hello,
    One possible reason could be that you installed MediaPortal for "Yourself" instead of "All users" and in the meantime changed Windows account information. The latter might have been caused by the WIndows upgrade process to Win 10, where a SID change may have taken place. This would then be a new account not recognized by your current security settings for the directory in ProgramData. The cure is simple: open Explorer, navigate to C:\ProgramData\Team MediaPortal, open its security settings and add "Everybody" as owner with full access privileges.

    I can confirm i have the file in that dir also.... I had already changed the security settings to all, but you gave me an idea wich seemed to solve the problem. I just changed the security settings for the Program Files path.... it seemed to solve my problem for now at least :)
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    I just changed the security settings for the Program Files path.... it seemed to solve my problem for now at least :)
    This is just a work-around to a deeper problem. Besides compromising the system's security, you have not really resolved the underlying problem. If I were you, I would consider reinstalling MP on this PC.
     

    Users who are viewing this thread

    Similar threads

    https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e
    https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e
    Not sure if this is the correct section to post but is there any advantage in updating a Win 7 system to Win 10 I have run Win 7...
    Replies
    20
    Views
    4K
    Does anyone else have problem with long (several hours) pauses of TV broadcasts? If I pause and forget, I can still resume TV the next day, but if I try to change channel or stop, MP freezes. Only way to fix is to restart both MP and TV Service. Sometimes I need to restart PC It seems that TVServer cannot proprtly handle large...
    Does anyone else have problem with long (several hours) pauses of TV broadcasts? If I pause and forget, I can still resume TV the...
    Does anyone else have problem with long (several hours) pauses of TV broadcasts? If I pause and forget, I can still resume TV the...
    Replies
    0
    Views
    415
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    580
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database changed MariaDB [mptvdb]> SELECT * FROM Server; +----------+----------+--------------+----------+ | idServer | isMaster | hostName | rtspPort | +----------+----------+--------------+----------+ |...
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database...
    Hello everyone, I'm going to need help from the community to resolve a TV server crash issue. I encountered a problem with my...
    Replies
    4
    Views
    785
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Replies
    0
    Views
    467
    Top Bottom