none
change default from oxps to xps cannot get access to authorise change RRS feed

  • Question

  • tied recommended methods

    caould not find roup policy

    tried Windows Powershell script downloaded form Micorsoft tech support pageand recieved this from powershell

    Set-ItemProperty : Requested registry access is not allowed.
    At line:14 char:1
    + Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" - ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (HKEY_LOCAL_MACH...ows NT\Printers:String) [Set-ItemProperty], Securit
       yException
        + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand

    et-ExecutionPolicy : The term 'et-ExecutionPolicy' is not recognized as the name of a cmdlet, function, script file,
    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:17 char:1
    + et-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (et-ExecutionPolicy:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    PS C:\Users\owner> if(!(test-path "hklm:\software\policies\Microsoft\Windows NT\Printers"))
    >> {
    >> New-Item -Path "hklm:\software\policies\Microsoft\Windows NT\Printers"
    >> }
    >>
    PS C:\Users\owner> try
    >> {
    >> New-ItemProperty "hklm:\software\policies\Microsoft\Windows NT\Printers\" -Name "MXDWUseLegacyOutputFormatMSXPS" -Val
    ue 0 -PropertyType "DWORD" -ErrorAction SilentlyContinue
    >> }
    >> finally
    >> {
    >> $KeyValue = (Get-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutpu
    tFormatMSXPS")."MXDWUseLegacyOutputFormatMSXPS"
    >>
    >> if($KeyValue)
    >> {
    >> Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutputFormatMSXPS"
     -Value 0
    >> }
    >> else
    >> {
    >> Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutputFormatMSXPS"
     -Value 1
    >> }
    >> }
    >>
    Set-ItemProperty : Requested registry access is not allowed.
    At line:14 char:1
    + Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" - ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (HKEY_LOCAL_MACH...ows NT\Printers:String) [Set-ItemProperty], Securit
       yException
        + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand

    PS C:\Users\owner>
    PS C:\Users\owner>
    PS C:\Users\owner>
    PS C:\Users\owner> et-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
    et-ExecutionPolicy : The term 'et-ExecutionPolicy' is not recognized as the name of a cmdlet, function, script file,
    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:1 char:1
    + et-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (et-ExecutionPolicy:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    PS C:\Users\owner>
    PS C:\Users\owner> if(!(test-path "hklm:\software\policies\Microsoft\Windows NT\Printers"))
    >> {
    >> New-Item -Path "hklm:\software\policies\Microsoft\Windows NT\Printers"
    >> }
    >>
    PS C:\Users\owner> try
    >> {
    >> New-ItemProperty "hklm:\software\policies\Microsoft\Windows NT\Printers\" -Name "MXDWUseLegacyOutputFormatMSXPS" -Val
    ue 0 -PropertyType "DWORD" -ErrorAction SilentlyContinue
    >> }
    >> finally
    >> {
    >> $KeyValue = (Get-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutpu
    tFormatMSXPS")."MXDWUseLegacyOutputFormatMSXPS"
    >>
    >> if($KeyValue)
    >> {
    >> Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutputFormatMSXPS"
     -Value 0
    >> }
    >> else
    >> {
    >> Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutputFormatMSXPS"
     -Value 1
    >> }
    >> }
    >>
    Set-ItemProperty : Requested registry access is not allowed.
    At line:14 char:1
    + Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" - ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (HKEY_LOCAL_MACH...ows NT\Printers:String) [Set-ItemProperty], Securit
       yException
        + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand

    PS C:\Users\owner>
    PS C:\Users\owner>
    PS C:\Users\owner>
    PS C:\Users\owner> et-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
    et-ExecutionPolicy : The term 'et-ExecutionPolicy' is not recognized as the name of a cmdlet, function, script file,
    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:1 char:1
    + et-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (et-ExecutionPolicy:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    PS C:\Users\owner>
    PS C:\Users\owner> if(!(test-path "hklm:\software\policies\Microsoft\Windows NT\Printers"))
    >> {
    >> New-Item -Path "hklm:\software\policies\Microsoft\Windows NT\Printers"
    >> }
    >>
    PS C:\Users\owner> try
    >> {
    >> New-ItemProperty "hklm:\software\policies\Microsoft\Windows NT\Printers\" -Name "MXDWUseLegacyOutputFormatMSXPS" -Val
    ue 0 -PropertyType "DWORD" -ErrorAction SilentlyContinue
    >> }
    >> finally
    >> {
    >> $KeyValue = (Get-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutpu
    tFormatMSXPS")."MXDWUseLegacyOutputFormatMSXPS"
    >>
    >> if($KeyValue)
    >> {
    >> Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutputFormatMSXPS"
     -Value 0
    >> }
    >> else
    >> {
    >> Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" -Name "MXDWUseLegacyOutputFormatMSXPS"
     -Value 1
    >> }
    >> }
    >>
    Set-ItemProperty : Requested registry access is not allowed.
    At line:14 char:1
    + Set-ItemProperty -Path "hklm:\software\policies\Microsoft\Windows NT\Printers" - ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (HKEY_LOCAL_MACH...ows NT\Printers:String) [Set-ItemProperty], Securit
       yException
        + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand

    PS C:\Users\owner>
    PS C:\Users\owner>
    PS C:\Users\owner>
    PS C:\Users\owner>














    Sunday, September 28, 2014 3:33 PM