Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to disable Soft-RT (or document that it's impossible) #17

Open
forderud opened this issue Mar 9, 2023 · 1 comment
Open
Assignees

Comments

@forderud
Copy link
Contributor

forderud commented Mar 9, 2023

I'm struggling to figure out how to disable the "Soft Real-Time" feature after it have been previously enabled on Win10 LTSC 2021.

Can you please document how to disable the Soft-RT feature, or at least document that it's impossible?

Failed attempts on disabling Soft-RT

I've already tried the following:

$obj = Get-CimInstance -Namespace "root\cimv2\mdm\dmmap" -ClassName "MDM_WindowsIoT_SoftRealTimeProperties01"
$obj.SetRTCores = 0 # zero RT-cores to disable the feature
Set-CimInstance -CimInstance $obj
Set-CimInstance : A general error occurred that is not covered by a more specific error code.
+ Set-CimInstance -CimInstance $obj
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MDM_WindowsIoT_...FT/WindowsIoT"):CimInstance) [Set-CimInstance], CimExce
   ption
    + FullyQualifiedErrorId : MI RESULT 1,Microsoft.Management.Infrastructure.CimCmdlets.SetCimInstanceCommand

.. and also attempted this:

$obj = Get-CimInstance -Namespace "root\cimv2\mdm\dmmap" -ClassName "MDM_WindowsIoT_SoftRealTimeProperties01"
Remove-CimInstance -InputObject $obj
Remove-CimInstance : The requested operation is not supported.
+ Remove-CimInstance -InputObject $obj
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (MDM_WindowsIoT_...FT/WindowsIoT"):CimInstance) [Remove-CimInstance], Ci
   mException
    + FullyQualifiedErrorId : MI RESULT 7,Microsoft.Management.Infrastructure.CimCmdlets.RemoveCimInstanceCommand
@forderud forderud changed the title Document how to disable Soft-RT Document how to disable Soft-RT (or at least document that it's impossible to disable) Mar 9, 2023
@forderud forderud changed the title Document how to disable Soft-RT (or at least document that it's impossible to disable) Document how to disable Soft-RT (or document that it's impossible) Mar 13, 2023
@forderud
Copy link
Contributor Author

According to https://github.com/amitxv/ReservedCpuSets it's possible to disable Soft-RT by deleting the HKLM\System\CurrentControlSet\Control\Session Manager\kernel\ReservedCpuSets registry key. I'm not found of tinkering with undocumented registry keys so it would be nice if this registry key could either be documented or a wrapper-API could be provided for the same process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants