Posts

Showing posts from May, 2017

Copying files is painfully slow on Windows 10

Image
Today I've been trying to copy files between two very fast SATA SSD drives. I know that copying a large number of small files is slow on Windows already but this was excruciating. The first thing I tried helped a lot, which is temporarily turning off Windows Defender. Obviously this isn't ideal but you can see the performance increase from the red line. Simply click Start and search for Defender Open Windows Defender Security Centre Goto Virus & Threat Protection Goto Virus & Threat Protection Settings Turn off Real-Time Protection and Cloud-based protection  Don't forget to turn them back on after copying your files!  

Why is FireFox using / listening on port 80

Image
After a short moment today I was wondering why FireFox was listening on TCP port 80 and stopping IIS from starting because of netstat -anb which gives the following.  [firefox.exe]   TCP    127.0.0.1:52243        127.0.0.1:52242        ESTABLISHED  [firefox.exe]   TCP    127.0.0.1:60137        127.0.0.1:443          TIME_WAIT   TCP    192.168.1.3: 80         0.0.0.0:0              LISTENING  [Skype.exe] Well it's not it's just the order Netstat reports in, and of course it was Skype blocking the port which can be configured with this checkbox on the connection tab! Sanity restored.

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

Image
When you're using the new "Modern" date and time settings in Windows Server 2016, 2019, 2022, Windows 10 and Windows 11 you may find that you can't set the correct date and time and the value "Some settings are managed by your organization". - While you're here - Why not check out our Windows Server Documentation and Audit Tool? The simplest way around this is to go back to the proper control panel using Start, Run, "Control.exe" and searching for "Set the date".  Within here you can set the date and time manually as required If you try and click the Change time zone button you may again get access denied... To resolve this open an elevated command prompt by right clicking the command prompt and selecting Run as Administrator  From there run the command rundll32.exe shell32.dll,Control_RunDLL timedate.cpl This will open the Data and Time control panel app elevated as an Administrator.

Azure cmdlets Get-AzureRmAlertRule and Get-AzureRmRoleAssignment report "api-version=) is required for all requests"

When you use the Azure PowerShell cmdlets such as Get-AzureRmAlertRule and Get-AzureRmRoleAssignment you might see the following MissingApiVersionParameter: The api-version query parameter (?api-version=) is required for all requests. This can occur if there are hash symbols in the resource name or resource type parameters. For example " CDD1EE35DC872C48F799BAC150FBB128E702BB9C##North Europe#' " You must encode these parameters, replacing the hash # symbols with %23 - for example " CDD1EE35DC872C48F799BAC150FBB128E702BB9C%23%23North Europe%23' " and then run the command again