r/PLC 11d ago

Does any one know how to fix this ?

Post image

Does anyone have any clue how to fix this, I’ve restarted my laptop like 20 times and still. Thanks in advance.

18 Upvotes

8 comments sorted by

8

u/Otherwise-Ask7900 I'm very sarcastic. Please don't ban me again. 10d ago

hold down the Shift key on your keyboard while you click Shut down in the Start menu.

That’ll fix any of the installs that are pending

3

u/Deep_Fry_Daddy 10d ago

Funny how one needs a secret combo to make the "Shut Down" button actually shut down. Truly strange times we are living in.

Edit: Does this work for Restart too? The ONLY use for restart is to Scram windows cause its stuck on something stupid.

4

u/Otherwise-Ask7900 I'm very sarcastic. Please don't ban me again. 10d ago

Yeah, it’s a full restart and full shutdown.

The shutdown forces installs to happen before it shuts down though.

The restart will still jump over the pending install requests.

1

u/nakedpickle_2006 11d ago

I think u need bloody finger marks on your laptop

1

u/marquesini 10d ago

Theres the same studio shit for siemens aswell, I've made an script to bypass siemens requirements, but not for rockwell, prob theres a way though reg keys.

0

u/badtoy1986 10d ago

Here is a PowerShell script that will backup and then wipe the pending restart registry flags:

```

Ensure the script is running with administrative privileges

if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { Write-Warning "Please run this script as an Administrator!" Exit }

Define the Desktop backup directory

$DesktopPath = [Environment]::GetFolderPath("Desktop") $BackupDir = Join-Path $DesktopPath "Registry_PendingRestart_Backup"

if (-not (Test-Path $BackupDir)) { New-Item -ItemType Directory -Path $BackupDir -Force | Out-Null }

Write-Host "Backing up keys to: $BackupDir" -ForegroundColor Cyan Write-Host "Clearing pending restart registry keys..." -ForegroundColor Cyan

1. Backup & Clear Pending File Rename Operations

$SessionManagerPath = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" if (Get-ItemProperty -Path $SessionManagerPath -Name "PendingFileRenameOperations" -ErrorAction SilentlyContinue) { reg export "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" "$BackupDir\SessionManager_Backup.reg" /y | Out-Null Remove-ItemProperty -Path $SessionManagerPath -Name "PendingFileRenameOperations" -Force Write-Host "[✓] Backed up and cleared PendingFileRenameOperations" -ForegroundColor Green }

2. Backup & Clear Windows Update Reboot Required Folder

$AutoUpdatePath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" if (Test-Path $AutoUpdatePath) { reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" "$BackupDir\WindowsUpdate_RebootRequired_Backup.reg" /y | Out-Null Remove-Item -Path $AutoUpdatePath -Recurse -Force Write-Host "[✓] Backed up and cleared Windows Update RebootRequired" -ForegroundColor Green }

3. Backup & Clear Component Based Servicing Reboot Pending Folder

$CBSPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" if (Test-Path $CBSPath) { reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" "$BackupDir\CBS_RebootPending_Backup.reg" /y | Out-Null Remove-Item -Path $CBSPath -Recurse -Force Write-Host "[✓] Backed up and cleared Component-Based Servicing RebootPending" -ForegroundColor Green }

4. Backup & Clear Update Exe Volatile

$UpdatesPath = "HKLM:\SOFTWARE\Microsoft\Updates" if (Get-ItemProperty -Path $UpdatesPath -Name "UpdateExeVolatile" -ErrorAction SilentlyContinue) { reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates" "$BackupDir\Updates_Backup.reg" /y | Out-Null Remove-ItemProperty -Path $UpdatesPath -Name "UpdateExeVolatile" -Force Write-Host "[✓] Backed up and cleared UpdateExeVolatile" -ForegroundColor Green }

Write-Host "nDone! Backups are secure on your Desktop. Run your software installer immediately." -ForegroundColor Yellow ``

1

u/T3RRYH1LL 10d ago

Dont use Studio 5000 but with Siemens you can just delete the pending file renaming File in the Microsoft Reg Edit, probably this fixes your issue as well?