-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server 2019 #69
Comments
i confirm that i had the same issue also on 2016 server about IE first launch configuration. |
It is sure because the Invoke-WebRequest command has a dependency on the Internet Explorer assemblies and are invoking it to parse the result as per default behaviour. But this is only possible if you run your powershell scripts as the same windows user as whom you launched the IE with. The IE settings are stored under your current windows profile. So if you, like me run your task in a scheduler on a server as the SYSTEM user, this will not work. So here you will have to change your scripts and add the -UseBasicParsing argument, $WebResponse = Invoke-WebRequest -Uri $url -TimeoutSec 1800 -ErrorAction:Stop -Method:Post -Headers $headers -UseBasicParsing |
David, You mentioned here that you have updated the script to use the new poweshell commands:
Would you mind sharing that with us? I would also like to test it with the new commands. I am also running server 2019. Thanks. |
You may want to look at my scripts as well. It is warning free on W2019 but it won't work on W2008. (OK, you shouldn't still be using W2008 anyway. EOL is in a few months.) |
Hi, i was using this script on all my Files Server and its working great, i run into an issue with server 2019, i got this message spamming the console:
`Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or
Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
At C:\HelpOX\FSRM\DeployCryptoBlocker.ps1:214 char:12
d
Checking File Server Resource Manager..
Processing ProtectList..
The following shares needing to be protected: C:\Windows,C:,C:\Data,C:\Windows\system32\spool\drivers,C:\Data\Sage_DB
Dowloading CryptoLocker file extensions list from fsrm.experiant.ca api..
Processing SkipList..
Processing IncludeList..
Adding/replacing File Groups..
File Group [CryptoBlockerGroup1] with monitored files from [] to []..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The specified name is invalid.
Adding/replacing [Active] File Screen Template [CryptoBlockerTemplate] with eMail Notification [C:\Windows\TEMP\tmpEmail001.tmp] and Event Notification [C:\Windows\TEMP\tmpEvent001.tmp]..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
Adding/replacing File Screens..
File Screen for [C:\Windows] with Source Template [CryptoBlockerTemplate]..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
File Screen for [C:] with Source Template [CryptoBlockerTemplate]..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
File Screen for [C:\Data] with Source Template [CryptoBlockerTemplate]..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
File Screen for [C:\Windows\system32\spool\drivers] with Source Template [CryptoBlockerTemplate]..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
File Screen for [C:\Data\Sage_DB] with Source Template [CryptoBlockerTemplate]..
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell cmdlets in the FileServerResourceManager module to administer File Server Resource Manager functionality.
The requested object was not found.
Processing ExcludeList..
Cleaning up temporary stuff..
Done.
####`
The text was updated successfully, but these errors were encountered: