Posts

Installing SQL Server 2019 or SQL Server 2022 shows "Microsoft ODBC Driver 17 for SQL Server" error "The feature you are trying to use is on a network resource that is unavailable".

Image
When you try to install SQL Server 2019 or SQL Server 2022 shows "Microsoft ODBC Driver 17 for SQL Server" error "The feature you are trying to use is on a network resource that is unavailable". While you're here, why not check out our SQL Server Audit Tool... ? This issue can be caused if the Microsoft ODBC Driver 17 for SQL Server has been installed but the MSI file that installed it is not available. You can solve this issue by manually uninstalling the Microsoft ODBC Driver 17 for SQL Server from Programs and Features. It seems that the issue is a bug in the Microsoft ODBC Driver 17 for SQL Server installer - regardless of how you install the driver if you goto Programs and Features you can right click and "Change" the installation and it will work correctly. You can even click on Change and then run a Repair.... However,  if you right click and select Repair... The error will be shown - so it seems likely that the SQL Server 2022 installer is tryi...

The Active Directory Group Policy Folder Redirection extension reports "MMC has detected an error in a snap-in" and "FRSettingRead failed with -2147020590"

Image
When using the Active Directory Group Policy Folder Redirection extension reports "MMC has detected an error in a snap-in"  If you generate an XML report of the GPO you see "FRSettingRead failed with -2147020590" in the XML. <ExtensionData>      <Error>           <Details>FRSettingRead failed with -2147020590</Details           <Description>Errors.Extensions.GeneralError</Description>      </Error>      <Name>Folder Redirection</Name> </ExtensionData> This can occur if you set the folder redirection to "Advanced" but do not provide any security group memberships and click OK. The following error is shown. Resolution: Closing and opening the MMC should correct the issue, however if this doesn't solve the issue the configuration files for the Folder Redirection extension can be found here replacing the domain name and the Gr...

SOLVED: The Move Tool doesn't move the image in GIMP and the error "There is no selection to move" is shown

Image
If you're using GIMP you may find that the move tool stops working and it's impossible to drag the current layer around. The error "There is no selection to move" is shown in the toolstrip. It is not obvious what the issue is however this can occur if the move tool is configured to use the selection rather than the layer. To resolve the issue select the Layer icon next to the "Move:" command and optionally select the "Move the active layer" radio button.  While you're here - Why not check out our  Active Directory Documentation Tool ?

Get a HTML or XML Starter Group Policy Object (Starter GPO) Report using PowerShell using Get-GPOReport

Image
There is a simple Active Directory Group Policy PowerShell cmdlet for getting a HTML or XML report for a Group Policy Object called Get-GPOReport . This makes life really simple to generate a report however there is no corresponding cmdlet for a Starter Group Policy Object. These are possible to generate as they can be seen in the Group Policy Management Console when you click on the Settings tab. To generate the report in PowerShell simply get the Starter GPO with the Get-GPStarterGPO cmdlet and then call the GenerateReport method directly on the object, passing either "HTML" or "XML" depending on the format you require. $starterGpo = Get-GPStarterGPO -Guid "3C720B80-15F3-4446-BF25-F57548A582CF" ; $starterGpo . GenerateReport( "XML" ); $starterGpo . GenerateReport( "HTML" );   While you're here - Why not check out our  Group Policy Audit and Documentation Tool ?

Visual Studio reports Error HRESULT E_FAIL has been returned from a call to a COM component when viewing a Windows Form

Image
You may see an issue whereby Visual Studio reports the following when viewing a Windows Form Error HRESULT E_FAIL has been returned from a call to a COM component  There are a number of fixes on the internet however none of them resolved the issue. On inspecting the designer.cs files for the affected forms we found errors stating that types from the projected conflicted with types imported from... the project... This seemed strange however found found that Visual Studio had in fact added a reference to the binary created by the project into the project without our doing anything. The Visual Studio WinForms designers are notoriously problematic with unpredictable things like this happening. Having removed the reference the problems went away.  While you're here - Why not check out our  Active Directory Documentation Tool ?

Installing Windows Features and Optional Components such as Group Policy Management and Active Directory PowerShell module using Advanced Installer

Image
We've recently been having problem with installing Windows Server features using Advanced Installer. Whilst AdvancedInstaller does come with a useful Windows Features section this has slowly degraded over time - the filter textbox is broken and finding the features in the list in near impossible combined with some options not being available for Windows desktop operating systems but for servers or vice-versa. This has been exacerbated by Microsoft having multiple user interfaces  Server Manager (Windows Server only) Server Manager PowerShell (Windows Server only) Windows Features in Control Panel (Desktop only and deprecated) Optional Features in Settings (Desktop and Server but missing functionality on the server) Win32_OptionalFeature WMI class (Deprecated) Get-WindowsOptionalFeature  DISM (Doesn't work when feature needs to be downloaded) Get-WindowsCapability  DISM (Works when feature needs to be downloaded, available from Windows Server 2016 onwards) Some more infor...

Error message "Get-DfsnAccess : The requested operation is not supported" when using Active Directory DFS PowerShell module

Image
When using the Active Directory DFS PowerShell module's cmdlet  Get-DfsnAccess  you may see the error Get-DfsnAccess : The requested operation is not supported This can occur if you run the command with a path that points to a namespace or a version 1 folder. To clarify this cmdlet gets the view permissions on a DFS folder seen on the advanced tab. You'll notice that on a domain version 1 - shown as "Domain (Windows 2000 Server mode)" in the DFS user interface does not have an Advanced tab on its folders. If you're looking for the permissions assigned to the namespace seen on the "delegation" tab here. These permissions can be obtained by reading the "GrantAdminAccess" property of the Get-DfsnRoot cmdlet. Get-DfsnRoot -Path "\\demo2022.int\Domain2008"|SELECT -ExpandProperty GrantAdminAccess  While you're here - Why not check out our  Active Directory Documentation Tool ?