j-gray 44 Posted August 31, 2023 Posted August 31, 2023 First time running the scanner throws a fatal error, "The required library hostfxr.dll could not be found." and directs to the .Net Core runtime page. So I downloaded the Core Runtime 7.0.10 version (documented as prerequisite). On the second run, I got the same hostfxr.dll error. Google indicated that the .Net Runtime 'Hosting Bundle' (not x64 package) install fixes this issue. After installing the 'Hosting Bundle', on the third run it finds the 7.x framework, but then I get, "To install missing framework, download..." This download link points to the .Net Core 3.1 runtime, which is flagged by Microsoft as end of life and no longer supported. Is this the case that Active Directory Scanner will only run with a deprecated version of .Net?
j-gray 44 Posted September 1, 2023 Author Posted September 1, 2023 (edited) Also curious why the AD Scanner requires the 'Agent GPO Deployment Script' in order to run? What purpose does it serve? For reference, here's the error presented when the file is not present: 2023-09-01 10:52:31.8371 ERROR ActiveDirectoryScanner Program failed with error System.Exception: Please ensure GPO configuration C:\adscanner\ActiveDirectoryScanner\install_config.ini is present. at ActiveDirectoryScanner.GPOScriptLoader.LoadConfigruation() in d:\jenkins\workspace\ADScanner\src\Products\RemoteAdministrator\Src\Tools\ActiveDirectoryScanner\ActiveDirectoryScanner\GPOScriptLoader.cs:line 187 at ActiveDirectoryScanner.Program.Main(String[] args) in d:\jenkins\workspace\ADScanner\src\Products\RemoteAdministrator\Src\Tools\ActiveDirectoryScanner\ActiveDirectoryScanner\Program.cs:line 294 2023-09-01 10:52:31.8682 INFO ActiveDirectoryScanner Program finished Edited September 1, 2023 by j-gray Added information
Administrators Marcos 5,466 Posted September 1, 2023 Administrators Posted September 1, 2023 I'm not sure if anybody will be able to answer this specific question, therefore I'd recommend raising a support ticket.
Recommended Posts