Skip to content
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

win10 join-domain.ps1 fails due to malicious content #862

Open
rufflabs opened this issue Oct 19, 2022 · 1 comment
Open

win10 join-domain.ps1 fails due to malicious content #862

rufflabs opened this issue Oct 19, 2022 · 1 comment

Comments

@rufflabs
Copy link

  • Operating System Version: Windows 10 21H1
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): VMware Workstation
  • Vagrant Version (if applicable): 2.3.2

Please verify that you are building from an updated Master branch before filing an issue.

Description of the issue:

During Win10 build the join-domain.ps1 script is blocked due to malicious content.

[20:14] Current domain is set to 'workgroup'. Time to join the domain!
[20:14] My hostname is WIN10




Stderr from the command:

powershell.exe : At C:\vagrant\scripts\join-domain.ps1:1 char:1
    + CategoryInfo          : NotSpecified: (At C:\vagrant\s...in.ps1:1 char:1:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
+ # Purpose: Joins a Windows host to the windomain.local domain which w ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This script contains malicious content and has been blocked by your antivirus software.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ScriptContainedMaliciousContent

PS E:\DetectionLab\Vagrant>

Link to Gist Containing Build Logs:

I don't have any /DetectionLab/Vagrant/vagrant_up_$host.log logs.

@GeorgePanagiotakopoulos

I have the same issue on an up-to date build I tried today.

I also got it while running "vagrant up" and in the end at the process of installing windows machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants