Getting this error code: Error: 87


vineydhiman

New member
Local time
9:05 AM
Posts
11
Location
India
OS
Windows 11
When I'm executing this command: DISM /Online /Get-OSUninstallWindow
Getting this error code:
Error: 87

The get-osuninstallwindow option is unknown.
For more information, refer to the help by running DISM.exe /?.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

Any idea why? I'm running CMD and Powershell with elevated window
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    Memory
    GSkills
    Hard Drives
    Samsung Evo SSD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender

zbook

Well-known member
Power User
VIP
Local time
10:35 PM
Posts
1,067
OS
Windows 10

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation

vineydhiman

New member
Thread Starter
Local time
9:05 AM
Posts
11
Location
India
OS
Windows 11

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    Memory
    GSkills
    Hard Drives
    Samsung Evo SSD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender

jvickers

The lunatics have taken over the asylum
Pro User
VIP
Local time
11:35 PM
Posts
4,436
Location
Deep South, USA
OS
Windows 11 Pro
Why don't I need to do that? Nothing is crashed and no BSOD screen apears.
Because you're in the BSOD Crash Analysis forum. This thread is misplaced.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home built
    CPU
    Ryzen 9 5900X
    Motherboard
    MSI MPG X570 GAMING EDGE WIFI
    Memory
    Crucial Ballistix Sport LT 3200 MHz DDR4 DRAM Desktop Gaming Memory 32MB
    Graphics Card(s)
    ZOTAC RTX 3060 Twin Edge OC/ ZOTAC Gaming GeForce GTX 1660 Super 6GB GDDR6 192-bit Gaming Graphics Card
    Sound Card
    Proprietary
    Monitor(s) Displays
    ViewSonic XG2530 25"/Benq XL2411P 24"/ Samsung SyncMaster BX2331 23"
    Screen Resolution
    1920x1080 240Hz/144Hz/60Hz (based on monitor setup above)
    Hard Drives
    SK hynix Gold P31 1TB PCIe NVMe Gen3 M.2 2280 Internal SSD
    ADATA XPG SX8200 Pro 1TB
    Samsung SSD 860 EVO 1TB 2.5 Inch SATA III Internal SSD
    PSU
    Thermaltake Smart 700W 80+ White Certified PSU
    Case
    Rosewill ATX Mid Tower Gaming Computer Case, Gaming Case with Blue LED for Desktop
    Cooling
    Corsair iCUE H60i RGB PRO XT Liquid CPU Cooler
    Keyboard
    Corsair K70
    Mouse
    Logitech MX Master 3
    Internet Speed
    120MB/s Download/ 10MB/s Upload
    Browser
    Edge (Chromium)
    Antivirus
    Norton 360
  • Operating System
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD FX Black Edition
    Motherboard
    Asus M5A97 LE R2.0
    Memory
    16MB DDR
    Graphics card(s)
    I forget, but it's old.
    Sound Card
    Propietary
    Monitor(s) Displays
    ACER LED 24"
    Screen Resolution
    1920X1080
    Hard Drives
    1TB Samsung SSD 3.5"
    Case
    Corsair
    Cooling
    Stock
    Mouse
    Logitech
    Keyboard
    Logitech
    Internet Speed
    120MB/10MB
    Browser
    Chrome
    Antivirus
    Norton 360
    Other Info
    Currently taken down because of a lack of space :-(
    Maybe I'll make room somewhere and connect to the Dev channel if possible.

zbook

Well-known member
Power User
VIP
Local time
10:35 PM
Posts
1,067
OS
Windows 10
Error 87 = The parameter is incorrect

When beyond the default 10 day period or beyond the modified period the result typically displays:


Code:
Microsoft Windows [Version 10.0.19043.1466]
(c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>DISM /Online /Get-OSUninstallWindow

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19043.1466


Error: 1168

Element not found.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32>



To start troubleshooting the error logs can be collected.

The V2 log collector has a title as it is used primarily for BSOD troubleshooting.

The logs that it collects can be used to troubleshoot problems other than BSOD.


There is another log collector with the name LOGS PS1.

Most end users don't have any questions as they see LOGS.

We're currently modifying the script in this log collector and will have new scripts.
 
Last edited:

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation

vineydhiman

New member
Thread Starter
Local time
9:05 AM
Posts
11
Location
India
OS
Windows 11
Error 87 = The parameter is incorrect

When beyond the default 10 day period or beyond the modified period the result typically displays:


Code:
Microsoft Windows [Version 10.0.19043.1466]
(c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>DISM /Online /Get-OSUninstallWindow

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19043.1466


Error: 1168

Element not found.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32>



To start troubleshooting the error logs can be collected.

The V2 log collector has a title as it is used primarily for BSOD troubleshooting.

The logs that it collects can be used to troubleshoot problems other than BSOD.


There is another log collector with the name LOGS PS1.

Most end users don't have any questions as they see LOGS.

We're currently modifying the scrip it this log collector and will have new scripts.
For me issue fixed by typing the command manually
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    Memory
    GSkills
    Hard Drives
    Samsung Evo SSD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender

zbook

Well-known member
Power User
VIP
Local time
10:35 PM
Posts
1,067
OS
Windows 10
The command that you posted in the opening post worked.

Was there a typo when you ran it that was different than what you had posted in the opening post?
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation

vineydhiman

New member
Thread Starter
Local time
9:05 AM
Posts
11
Location
India
OS
Windows 11
The command that you posted in the opening post worked.

Was there a typo when you ran it that was different than what you had posted in the opening post?
When I was copy-pasting the command in Terminal, then it gives the error. But when I manually typed the whole command it work without any error.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    Memory
    GSkills
    Hard Drives
    Samsung Evo SSD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
Top Bottom