Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, 26 February 2024

Microsoft Edge: Uninstall command

Microsoft Edge installed but entry missing from Installed apps or Programs and Features.

To uninstall Microsoft Edge via command line:

  1. Open a PowerShell Administrator or Terminal (Admin) window.
  2. Browse to the installation directory:
    Set-Location C:\Program Files (x86)\Microsoft\Edge\Application\<Version Number>\Installer
  3. Run the following command:
    setup.exe -uninstall -system-level -verbose-logging -force-uninstall
     

Saturday, 2 September 2023

Lenovo ThinkStation P360 / P Series: Configure Wake-On-LAN

To configure Wake-On-LAN, refer to these Lenovo support articles:

How to enable and test Wake-On-LAN in Windows

How to enable Wake on LAN - ThinkCentre (M Series) and ThinkStation (P Series)

It is necessary to enable Wake-On-LAN in the BIOS. Use the Lenovo Think BIOS Config Tool to enable the Wake-On-LAN BIOS option if connecting remotely / using the computer without a local console.

Lenovo Think BIOS Config Tool

  1. Download and extract the BIOS config tool.
  2. Set WakeOnLAN to Enabled.
  3. Click Save Changed Settings.

Retrieve the IP address and MAC address using ipconfig /all and test by using the NirSoft WakeMeOnLan tool.

WakeMeOnLan

Sunday, 4 July 2021

Lenovo ThinkPad: Retrieve machine type, model (MTM) and serial number with PowerShell

To retrieve a Lenovo ThinkPad machine type, model (MTM) and serial number with PowerShell, run the command:

Get-CimInstance -ClassName Win32_ComputerSystemProduct 

IdentifyingNumber: R00FKF00
Name: 20FB003TUK
Vendor: LENOVO
Version: ThinkPad X1 Carbon 4th

Sunday, 4 April 2021

Windows: Get last boot up time with PowerShell

To get the last boot up time using PowerShell, run the command:

Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object LastBootUpTime

To get the last boot up time of a remote computer, run the command:

Invoke-Command -ComputerName HOSTNAME -ScriptBlock {Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object LastBootUpTime}

Thursday, 19 November 2020

Windows: Clear print queue with PowerShell

To clear a print queue using PowerShell open an elevated PowerShell prompt and run the following commands:

Stop-Service Spooler

Remove-Item -Path $env:windir\system32\spool\PRINTERS\* -Recurse -Force -Confirm:$false

Start-Service Spooler

Sunday, 27 September 2020

VMware Workstation 16: Silent Install / Uninstall

VMware Workstation 16 Silent Install

VMware-workstation-full-x.x.x-xxxxxx.exe
/s /v"/qn EULAS_AGREED=1 SERIALNUMBER=AAAAA-BBBBB-CCCCC-DDDDD-EEEEE AUTOSOFTWAREUPDATE=1"

VMware Workstation 16 Silent Uninstall

VMware-workstation-full-x.x.x-xxxxxx.exe /s /v"/qn REMOVE=ALL"

VMware Workstation 16 User Guide

https://docs.vmware.com/en/VMware-Workstation-Pro/16.0/workstation-pro-16-user-guide.pdf

Sunday, 10 May 2020

TechSmith Snagit 2020: Enable repeat last capture

To enable Repeat last capture configure a hotkey combination.
1. Right click the Snagit system tray icon and select Preferences...

2. Select the Hotkeys tab.

3. Tick Ctrl + Shift + Print Screen (or other combination).

Saturday, 9 May 2020

Lenovo ThinkPad: Integrated camera continuously turns on and off when using video applications

Lenovo ThinkPad integrated camera continuously turns on and off when using video applications including Skype, Windows 10 Camera app and Zoom.

The System event log shows the following error: "The Windows Camera Frame Server service terminated unexpectedly. It has done this x time(s)."

To resolve:

1. Open Regedit.

2. Browse to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform

3. Create a DWORD value named EnableFrameServerMode with the value 0

4. If using Windows 64-bit, create the same DWORD value EnableFrameServerMode with the value 0 in the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Media Foundation\Platform

This registry key is for 32-bit applications running on a Windows 64-bit computer.

5. Close Regedit and restart the computer.


To create the registry keys with PowerShell:

1. Open an elevated PowerShell prompt.

2. Run the command:

New-ItemProperty -Path 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows Media Foundation\Platform' -Name EnableFrameServerMode -Value 0 -PropertyType DWORD


3. Run the command:

New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows Media Foundation\Platform' -Name EnableFrameServerMode -Value 0 -PropertyType DWORD



Credit: paolone
https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T-series-Laptops/KB4284835-causes-webcam-to-stop-on-T470p/m-p/4110977?page=2#4540806

Sunday, 12 April 2020

VMware Workstation 15: The network bridge on device VMnet0 is temporarily down because the bridged Ethernet interface is down

The message "The network bridge on device VMnet0 is temporarily down because the bridged Ethernet interface is down" is displayed in VMware Workstation when starting a virtual machine guest with bridged networking configured.

To resolve, first verify that VMware Bridge Protocol is enabled for the network adapter in Control Panel > Network and Internet > Network Connections.

Alternatively, open a command prompt or PowerShell prompt and run the command ncpa.cpl to open the Network Connections window.

The message can also be shown if the VMnet0 network is missing from Virtual Network Editor in VMware Workstation.

Open Virtual Network Editor via Edit > Virtual Network Editor...
Select Change Settings

The default network configuration is:

- VMnet0 : Bridged : Auto-bridging
- VMnet1 : Host-only
- VMnet8 : NAT : NAT

If VMnet0 is missing repair the VMware Workstation installation in Settings > Apps > Apps & features or Control Panel > Programs > Programs and Features.

Wednesday, 26 September 2018

Windows Server 2016: One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d

The request to add or remove features on the specified server failed.
One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d

To resolve:

Open an elevated PowerShell prompt and enter the following to check if the .NET Framework Feature is installed:

Get-WindowsFeature Net-Framework-Features

Then enter:

Get-WindowsFeature Net-Framework-Features | Remove-WindowsFeature

Finally repeat the first command to check the feature has been removed:

Get-WindowsFeature Net-Framework-Features

Restart the server.

Restart-Computer

Connect the Windows Server 2016 ISO to the server.

If this is an AWS EC2 instance then snapshot and attach the Windows Server 2016 installation media following the instructions here:

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-optional-components.html

Open an elevated command or PowerShell prompt and enter:

dism /Online /Enable-Feature /FeatureName:NetFX3 /All /Source:D:\Sources\SxS\ /LimitAccess

where D: is the drive letter of the Windows Server 2016 installation media.

VMware Workstation 14: Nested ESXi Guest Virtual Machines slow

Virtual machines running within a VMware Workstation nested ESXi virtual machine run extremely slow and take several minutes to boot.

This issue can be caused by AVG Anti-Virus.

To resolve:

1. Open AVG Anti-Virus.

2. Select Menu > Settings > Troubleshooting and uncheck Enable hardware-assisted virtualization.

3. Restart the computer.

Saturday, 10 March 2018

Lenovo ThinkCentre / ThinkPad: RunDLL There was a problem starting C:\Program

The message "RunDLL There was a problem starting C:\Program" is shown at every startup.

This can be caused by a startup entry for Lenovo Power Manager, left over following a Windows 7 to Windows 10 upgrade.

Note that Lenovo Power Manager is not compatible with Windows 10: https://support.lenovo.com/gb/en/solutions/ht104070?cl=1

To resolve:

Download Sysinternals Autoruns: https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns 
Select the Logon tab
Disable or remove the startup entry for Lenovo Power Manager

Or open Regedit and browse to:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\
Delete the Power Manager Power Agenda entry

Remove the orphaned Power Manager entry from the installed Programs list using Microsoft's guidance:


https://support.microsoft.com/en-us/help/247501/how-to-manually-remove-programs-from-the-add-remove-programs-list

Sunday, 28 January 2018

Lenovo ThinkPad E570: No sound from speakers

No sound from speakers on a new Lenovo ThinkPad E570.

This issue is resolved by installing the Lenovo Hotkey Features Integration package. Either install this package or install and run Lenovo System Update to update all Lenovo applications and drivers.

Lenovo ThinkPad E570 drivers and software
https://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-edge-laptops/thinkpad-e570/downloads

Lenovo System Update

https://support.lenovo.com/downloads/DS012808

Lenovo ThinkPad T470s: Poor performance and slow CPU when on battery

Lenovo ThinkPad T470s poor performance and slow CPU when on battery.

CPU-Z shows a Core Speed value of around 400MHz.

This issue can be caused by incorrect values within the "Balanced" power plan.

To resolve:

Open Settings > System > Power & sleep and select Additional power settings
Alternatively open the classic Control Panel, choose Hardware and Sound and Power Options

If the Balanced power plan is active, choose Change plan settings and then Change advanced power settings

Scroll down to Processor power management and expand Maximum processor state

The value for On battery may be set to 5%.

Either change this to 100% or choose Restore plan defaults

Sunday, 7 January 2018

Microsoft Office 2016: Blurred text when using external monitor

Microsoft Outlook and other Office 2016 applications appear blurry when used on an external monitor.

This is a known issue and Microsoft's guidance is available here:

https://support.office.com/en-gb/article/Office-apps-appear-the-wrong-size-or-blurry-on-external-monitors-bc9f7279-4e42-4b15-a949-46ab8bcfe44f


The issue can occur when the main display scaling is set to 125% and the external monitor is set to 100%.

To resolve:

Right click the desktop and select Display settings or Start > Settings > System > Display

In the Scale and layout section set the scaling value to be the same for both displays.

Wednesday, 14 December 2016

Windows 10: The User Profile Service service failed the sign-in. User profile cannot be loaded.

The message "The User Profile Service service failed the sign-in. User profile cannot be loaded." is displayed when logging in.

This issue can be caused by a corrupted Default profile in C:\Users\

To resolve:

Login with a domain / local administrative account
Open RegEdit and review HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList for any profiles with a .bak extension
Rename C:\Users\Default to Default.old
Copy C:\Users\Default from a working machine at the same OS level
Log out and log in as the first user to test
Remove Default.old

Monday, 24 October 2016

Microsoft Outlook 2016: Rundll32 error when adding a new email account to a new profile

Outlook 2016 displays a Rundll32 error when adding a new email account to a new profile via the Mail applet in Control Panel.

To resolve:

Review this KB article first: https://support.microsoft.com/en-us/kb/3119083

If the suggested resolution does not work or apply then repair the Office installation using an Online Repair.

If this does not work then

Delete the orphaned profile
Close the Mail applet
Open Outlook using a working profile or another Office application
Select File and then Options
Select Advanced
Scroll down to the Display section
Tick Disable hardware graphics acceleration
Close the Office application
Open the Mail applet, create a new profile and add the email account

Wednesday, 12 October 2016

Avaya Scopia Conference Client: Error thrown calling method websiteforcecache()

The following error message is displayed when using Avaya Scopia Conference Client:

Message: Error thrown calling method websiteforcecache()
Number: -2147467259

To resolve:

Clear Internet Explorer temporary internet files
Reset Internet Explorer settings

Avaya IP Office Manager: Unable to see configuration backup (.cfg) files in Explorer

Unable to see configuration backup (.cfg) files saved in C:\Program Files (x86)\Avaya\IP Office\Manager when using Windows Explorer.

Configuration files are saved in the user's VirtualStore folder within AppData:

C:\Users\username\AppData\Local\VirtualStore\Program Files (x86)\Avaya\IP Office\Manager

Sunday, 2 October 2016

VMware Workstation 12.5: Windows Server 2016 Installation Error - Windows cannot find the Microsoft Software License Terms

The following error message is displayed when installing Windows Server 2016 Evaluation using VMware Workstation 12.5:

Windows cannot find the Microsoft Software License Terms. Make sure the installation sources are valid and restart the application.

This issue appears to be caused by VMware Workstation Easy Install.

To resolve:

Power off the virtual machine.
Edit the virtual machine and remove autoinst.flp from floppy drive (choose Use physical drive).
Power on and the installation should proceed as normal.
Install VMware Tools once the operating system installation has completed.

Alternatively, delete the virtual machine and create a new machine, choosing the option: I will install the operating system later.