Posts

Set the folder options "Show recently used files in Quick access" and "Show frequently used folders in Quick access" using Group Policy.

Image
 While you're here - Why not check out our  Group Policy Audit and Documentation Tool ? The "Show recently used files in Quick access" and "Show frequently used folders in Quick access" settings can be found in the Folder Options in Windows. These are user based values and are stored in the following registry values. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer ShowFrequent (REG_DWORD) ShowRecent (REG_DWORD) Microsoft does not provide a Group Policy ADMX template for these settings however a custom template can be created or a Group Policy registry preference can be used.

SOLVED: Change the listening port on Windows Admin Center v2 because of error SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.

Image
When you try and start Windows Admin Center v2 you might find that the "Windows Admin Center" service starts and then stops and the following error is logged in the event viewer. Exception Info: System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions. This maybe because there is another application running on port 443 (the default Windows Admin Center port). You can check this by running the PowerShell cmdlet and note the process identifer (in my case this is running the Hyper-V virtual machine replication service). Get-NetTCPConnection -LocalPort 443|SELECT LocalAddress, OwningProcess Edit the configuration file C:\Program Files\WindowsAdminCenter\Service\appsettings.json And edit the following two locations And... Setting these values to an available port (in this example 8443) and restart the service. While you're here why not check out our  IT documentation tool ?

SOLVED: Copy and paste to or from a VMware workstation virtual machine doesn't work on Windows host or stops working intermittently

Image
You might find when you try to copy and paste to or from a VMware workstation virtual machine that it doesn't work on your Windows host machine or that it stops working intermittently. There's a few things you can try... Close and re-open VMware workstation (but select to Run in Background so that your virtual machines are not stopped in the process). This will often resolve the issue. Stop and start the VMware tools service on the guest machine. Reinstall (or upgrade) the VMware tools on the guest. Using a version of VMware tools that is not aligned with the version of VMware Workstation will often cause issues. Reboot the guest machine. Reboot the host machine. While you're here why not check out our  IT documentation tool ?

SOLVED: PowerShell Remoting (WinRM) only listening on certain and not all IP addresses

Image
We've recently had an issue trying to connect to PowerShell remoting on a certain machine. Connections resulted in the following issue: Connecting to remote server machine name failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic. The firewalls (both Windows Firewall and external firewalls) were configured correctly and running  winrm enumerate winrm/config/listener  showed the listener was correctly configured. However, running the following command doesn't show it listening on all IP address...

SOLVED: Windows Admin Center Viewing Hyper-V Server "Unable to configure either CredSSP or local PowerShell options."

Image
When your using Windows Admin Center to manage a virtual machine in Hyper-V you see the error "Unable to configure either CredSSP or local PowerShell options." You may see this error if the virtual machine has a passthrough physical hard disk drive configured. These disks are no longer recommended by Microsoft and it looks like Windows Admin Center crashes if they're in place.  While you're here - Why not check out our Windows Server Documentation and Audit Tool?

Take a screenshot of a Hyper-V virtual machine guest using WMI and Invoke-CimMethod

Image
Using the CIM cmdlets  it's possible to take a screenshot of a virtual machine with the GetVirtualSystemThumbnailImage  method.  This needs to be run on the Hyper-V host as a user with Administrator rights. $managementService = Get-CimInstance -Namespace "root\virtualization\v2" -ClassName "Msvm_VirtualSystemManagementService" ; $vm = Get-CimInstance -Namespace "root\virtualization\v2" -ClassName "Msvm_ComputerSystem" -Filter "Name=' $VirtualMachineIdentifier '"; $videoHead = Get-CimAssociatedInstance -ResultClassName "Msvm_VideoHead" -InputObject $ vm ; $xResolution = $videoHead . CurrentHorizontalResolution; $yResolution = $videoHead . CurrentVerticalResolution; $result = Invoke-CimMethod -MethodName "GetVirtualSystemThumbnailImage" -InputObject  $managementService -Arguments @{ TargetSystem = $ vm ; WidthPixels = $xResolution ; HeightPixels = $yResolution }; The dat...

VMware Workstation now free for commerical use

Image
As a user of VMware Workstation it was interesting this week that VMware workstation is now free even for commercial use. https://blogs.vmware.com/cloud-foundation/2024/11/11/vmware-fusion-and-workstation-are-now-free-for-all-users/ The latest version of VMware Workstation Pro for Windows is currently 17.6.1 and can be download from the Broadcom portal. https://support.broadcom.com/group/ecx/productfiles?subFamily=VMware%20Workstation%20Pro&displayGroup=VMware%20Workstation%20Pro%2017.0%20for%20Windows&release=17.6.1&os=&servicePk=524543&language=EN  While you're here - Why not check out our Windows Server Documentation and Audit Tool?