-
Notifications
You must be signed in to change notification settings - Fork 225
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
xSQLServerSetup: Installation hangs without any error when using UNC path #183
Comments
Found this that explains more about CasPol. Caspol.exe (Code Access Security Policy Tool) This would trust everything under the 'foldershare'. So then Start-Process must call CasPol to trust the path in the |
For reference. This error occurs when not using the parameter |
In PR #578 there is a new timeout parameter ( |
Installation hangs without any error. This happens when using UNC path in the
SourcePath
parameter and at the same time is not using SourceCredential.After some debugging, it seems that
Start-Process
hangs when calling setup.exe and does not return.This will be solved when PR #123 is merged.
I think the culprit is security. ;) This one that popup when I ran the command
You can get around this by adding the domain to the trusted zone Local Intranet. But that is only for the logged on user. So won't do it for DSC.
Tried changing the local group policy to allow .exe. But that did not work. Did not try setting this in the domain, since it opens up to much.
What did work was to run
Start-Process
with the-NoNewWindow
parameter. It then use the Microsoft .NET Framework CasPol (CasPol.exe) to "override" this lite bump. Don't know any more than that. If someone know more what happens here, please enlighten me 😄The text was updated successfully, but these errors were encountered: