Posts

Take a screenshot of a window on Windows 11 without drop shadow effect (grey border in the corners)

Image
When you take a screenshot of a window on Windows 11 using the print screen key you'll notice that a large drop shadow is present. Whilst this looks good on a white background but you may just want the window itself. Screenshot with drop shadow If this is the case and you want just the window itself you can press ALT + print screen, however this leaves the rounded corners showing part of the drop shadow. Screenshot of a window Close up screenshot of the window To resolve this open the performance options by searching for "performance". Open the performance settings Alteranatively you can run the following command. %windir%\system32\SystemPropertiesPerformance.exe In performance options uncheck the show shadows under windows  option and click OK.   While you're here why not check out our  IT documentation tool ?

SOLVED: What is the ACCESS_SYSTEM_SECURITY NTFS right seen in Get-ACL with a value of 16777216 (&H1000000)?

Image
When you run the Get-Acl command you may sometimes find that the values are presented as a number rather than a resolved enum value such as "Modify". We recently had the issue where we were seeing the value 16777216. This resolves to ACCESS_SYSTEM_SECURITY - but what is this permission and why isn't this being resolved? Even stranger when you view the NTFS permissions nothing  is selected in the user interface. It turns out that the ACCESS_SYSTEM_SECURITY permission isn't really an NTFS security right at all as described here. https://learn.microsoft.com/windows/win32/secauthz/sacl-access-right This right is an additional assertion that must be provided when you access the system access control list (SACL) of a security description - the SACL is the way Microsoft refers to the auditing rules within the operating system.  It's a slightly strange naming convention but according to Dave Plummer  likely to make sure it was in line with the naming of the DACL but al...

Force Windows Forms (Winforms) toolstrip tooltip to refresh or hide immediately using C#

Image
If you are using the tooltip text on a ToolStrip control you may find that the control does not update the tooltip immediately and the tooltip may not hide when you start a long running process leaving the tooltip stuck on the screen. The toolstrip actually has a tooltip control under the hood which you can access with reflection. Calling RemoveAll on the tooltip control will immediately remove all tooltips. https://learn.microsoft.com/dotnet/api/system.windows.forms.tooltip.removeall /// <summary> /// Occurs when the user clicks the toolstrip button. /// </summary> /// <param name=" sender "> The control that raised the event. </param> /// <param name=" e "> The event arguments. </param> private void ToolStripButton_Click( object sender, EventArgs e) {      ToolTip toolTip = ( ToolTip )toolStrip.GetType().GetProperty( "ToolTip" , System.Reflection. BindingFlags .NonPublic | System.Reflection. BindingFlags .I...

SOLVED: How to change your Ramblers primary group membership to Hike Oxfordshire.

Image
If you are a Ramblers member and want to change your primary Ramblers group to Hike Oxfordshire you can do this easily on the Ramblers web site. Go to the Ramblers site. https://www.ramblers.org.uk/ Click "Sign in" in the header. Scroll down and select "My Groups". You'll see your curernt group. If this isn't the current group you can click the "Chagne Ramblers Group" button. Here you can select the area as "Oxfordshire" adn the ramblers group as "Hike Oxfordshire", then click "Confirm selection". If you have any issue you can also contact the Ramblers here: https://www.ramblers.org.uk/contact-us .

SOLVED: Exchange Online Management PowerShell Connect-ExchangeOnline bug "A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles"

Image
While you're here why not check out our  Exchange audit and documentation tool ? If you're using the Exchange Online Management PowerShell cmdlets you may notice that the following error: A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles This error appears in version 3.7.0 (and persists in version 3.7.1) when the following change was made. Integrated WAM (Web Account Manager) in Authentication flows to enhance security. You notice that this error occurs in PowerShell ISE but not in a PowerShell, the issue also appears in any Windows based applications - for example a WinForms application that tries to execute Connect-ExchangeOnline PowerShell ISE A .NET console application does work correctly. .NET console application While you're here why not check out our  Exchange audit and documentation tool ? The error occurs because Microsoft has made the (correct) decision that when an interactive login prompt it must have a parent window so t...