sysinternals
32 TopicsBug: Autoruns 14.3 opens in Light mode when “Use System Setting” is selected and Windows is Dark
Autoruns 14.3 opens in Light mode when “Use System Setting” is selected and Windows is Dark Environment: Windows 11 25H2, build 26220.9836. Reproduced with both Autoruns.exe and Autoruns64.exe version 14.3. The debugger trace below is from Autoruns64.exe. Steps to reproduce In Windows Settings → Personalization → Colors, set Choose your mode to Dark. Open Autoruns and select Options → Theme → Use System Setting. Close Autoruns completely and reopen it. Expected: Autoruns opens in Dark mode, following the Windows app theme. Actual: Autoruns opens in Light mode. Selecting Options → Theme → Dark explicitly displays the dark theme. Debugger trace I captured these calls in order during a fresh launch with Use System Setting selected. The excerpt omits unrelated debugger output. TRACE CALL SetPreferredAppMode mode=3 caller=Autoruns64+0x17332 TRACE RETURN SetPreferredAppMode 0 TRACE CALL ShouldAppsUseDarkMode caller=Autoruns64+0x34a36 TRACE RETURN ShouldAppsUseDarkMode 0 Mode 3 is ForceLight. Autoruns applies that process-level override before asking ShouldAppsUseDarkMode(), which returns 0 (false). A separate Process Monitor capture confirmed that reads of the Windows AppsUseLightTheme setting succeeded and returned 0 (Dark). https://github.com/microsoft/PowerToys/blob/main/src/modules/ZoomIt/ZoomIt/Utility.cpp#L2066-L2090 I ran the same API sequence in a separate test process on the same machine. ShouldAppsUseDarkMode() returned true before ForceLight, false while the override was active, and true again after restoring the previous process mode. This suggests that Autoruns’ Use System Setting check is reading the effect of its own override.56Views0likes0CommentsAutoruns does not show services with long image paths
I was running Autoruns to confirm no unexpected services, and I noticed the Screenconnect instance I was connected through, is not in the list. Creating a new service with a long path gives the same result. Considering that Screenconnect is commonly abused, seeing Screenconnect services is important. I'm 99% sure I've seen Screenconnect in Autoruns before, so what changed now? Is it a change in Windows? The following reproduces the behavior with a test service (thanks, Claude): $long = 'x' * 3000 New-Service -Name 'ZZLongPathTest' -BinaryPathName ""C:\Windows\System32\notepad.exe" $long" -StartupType Automatic .\autorunsc64.exe -accepteula -nobanner -a s -ct | sls ZZLongPathTest116Views1like1Commentsigcheck64 2.92 output in UNICODE instead ANSI
Hi I Upgrade sigcheck64 from 2.90 to 2.92. Now lot of scripts can't evaluate the version of an exe. I redirect the output from sigcheck64.exe -AcceptEULA -nobanner -n excel.exe to a file and see that the file is unicode. with 2.90 it works fine. FOR /F %i IN ('sigcheck64.exe excel.exe') DO ECHO %i results in 1 instead 16.0..... Can you fix this soon?113Views0likes0CommentsRDCMan v3.1: Recent Built-In Group Not Working
I am using Remote Desktop Connection Manager v3.1 (on Windows 11 Enterprise, 24H2) and have found the following two issues... The "Recent" Built-In Group doesn't work...the recently connected servers do not appear in this group (this fails for my colleague too). If you click on the URL shown in the "About" Dialogue box then RDCMan errors and then crashes! (Again, this too fails for my colleague). Many thanks! Lee403Views0likes0CommentsSYSinternal Help needed
I have TCPview installed and whois with the Microsoft SYSinternal Suite app, and when I right-click to use whois in TCPview my computer gives me an error: Cannot resolve names or use local names. I'm pretty confident my network has been hacked into, and I need this program to work, I've been playing video games between 2 steam accounts where I've been tracked into every match I enter. When I try to run the Whois command prompt it doesn't load.186Views0likes0CommentsBlog post - Install or update the SysInternals Suite using PowerShell
Wrote a blog post on how to install or update your Sysinternals Suite using PowerShell, link to post https://powershellisfun.com/2023/01/27/install-or-update-your-sysinternals-suite-using-powershell/ . You can read there how it works, and yes, you can install it using the Windows Store, but where's the fun in that 😉 (And... The Windows Store is not available on your Windows Server management VM, for example) The script I made : function Install-SysInternalsSuite { param ( [parameter(Mandatory = $true)][string]$InstallPath ) #Create the installation folder if not already present if (-not (Test-Path -path $InstallPath)) { try { New-Item -ItemType Directory -Path $InstallPath -ErrorAction Stop | Out-Null Write-Host ("Specified installation path {0} not found, creating now...." -f $InstallPath) -ForegroundColor Green } catch { Write-Warning ("Install path {0} not found, creating now...." -f $InstallPath) Write-Warning ("Error creating path {0}, check path and permissions. Exiting now..." -f $InstallPath) return } } else { Write-Host ("Specified installation path {0} found, continuing...." -f $InstallPath) -ForegroundColor Green } #Check if the previous download folder is present. Remove it first if it is if (Test-Path -Path $env:temp\SysInternalsSuite) { Write-Warning ("Previous extracted version found in {0}, removing it now..." -f $env:temp) Remove-Item -Path $env:temp\SysInternalsSuite -Force:$true -Confirm:$false -Recurse } else { Write-Host ("No previous download found in {0}\SysInternalsSuite, continuing..." -f $env:temp) -ForegroundColor Green } #Download and extract the latest version try { $ProgressPreference = "SilentlyContinue" Invoke-Webrequest -uri https://download.sysinternals.com/files/SysinternalsSuite.zip -Outfile $ENV:TEMP\SysInternalsSuite.zip -ErrorAction Stop Write-Host ("Downloading latest version to {0}\SysinternalsSuite.zip" -f $env:temp) -ForegroundColor Green Expand-Archive -LiteralPath $ENV:TEMP\SysInternalsSuite.zip -DestinationPath $env:temp\SysInternalsSuite -Force:$true -ErrorAction Stop Write-Host ("Extracting files to {0}\SysInternalsSuite" -f $env:temp) -ForegroundColor Green } catch { Write-Warning ("Error downloading/extracting the SysInternalsSuite, exiting...") return } #Loop through the files and only overwrite older versions and report updated programs on-screen. #Additional files which were not present in the installation folder will be added $totalfiles = (Get-ChildItem -Path $env:temp\SysInternalsSuite).count $updated = 0 foreach ($file in Get-ChildItem -Path $env:temp\SysInternalsSuite) { if ((Test-Path -path "$($InstallPath)\$($file.Name)") -and (Test-Path -Path "$($env:temp)\SysInternalsSuite\$($file.name)")) { $currentversion = (Get-Item "$($InstallPath)\$($file.Name)").VersionInfo $downloadversion = (Get-Item "$($env:temp)\SysInternalsSuite\$($file.name)").VersionInfo if ($currentversion.ProductVersion -lt $downloadversion.ProductVersion) { try { Copy-Item -LiteralPath "$($env:temp)\SysInternalsSuite\$($file.name)" -Destination "$($InstallPath)\$($file.Name)" -Force:$true -Confirm:$false -ErrorAction Stop write-host ("- Updating {0} from version {1} to version {2}" -f $file.Name, $currentversion.ProductVersion, $downloadversion.ProductVersion) -ForegroundColor Green ++$updated } catch { Write-Warning ("Error overwriting {0}, please check permissions or perhaps the file is in use?" -f $file.name) } } } else { try { Copy-Item -LiteralPath "$($env:temp)\SysInternalsSuite\$($file.name)" -Destination "$($InstallPath)\$($file.Name)" -Force:$true -Confirm:$false -ErrorAction Stop write-host ("- Copying new file {0} to {1}" -f $file.Name, $InstallPath) -ForegroundColor Green ++$updated } catch { Write-Warning ("Error copying {0}, please check permissions" -f $file.name) } } } #Add installation folder to Path for easy access if not already present if ((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path -split ';' -notcontains $InstallPath) { Write-Host ("Adding {0} with the SysInternalsSuite to the System Path" -f $InstallPath) -ForegroundColor Green $OldPath = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path $NewPath = $OldPath + ";$($InstallPath)" Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $NewPath } else { Write-Host ("The installation folder {0} is already present in the System Path, skipping adding it..." -f $InstallPath) -ForegroundColor Green } #Cleanup files if (Test-Path -Path $env:temp\SysInternalsSuite) { Write-Host ("Cleaning extracted version in {0}" -f $env:temp) -ForegroundColor Green Remove-Item -Path $env:temp\SysInternalsSuite -Force:$true -Confirm:$false -Recurse } if (Test-Path -Path $env:temp\SysInternalsSuite.zip) { Write-Host ("Cleaning downloaded SysinternalsSuite.zip file in {0}" -f $env:temp) -ForegroundColor Green Remove-Item -Path $env:temp\SysInternalsSuite.zip -Force:$true -Confirm:$false } #Display totals and exit Write-Host ("Updated {0} files in {1} from the downloaded {2} files" -f $updated, $InstallPath, $totalfiles) -ForegroundColor Green return }2.8KViews0likes0Comments