# Not getting Flag in Active Directory Basics

**URL:** <https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049>\
**Category:** IT and Cybersecurity Foundations\
**Created:** [March 5, 2024, 10:18am UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049 "2024-03-05T10:18:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedRaccoon1181](https://forums.cybrary.it/user_avatar/forums.cybrary.it/redraccoon1181/32/11_2.png) [@RedRaccoon1181](https://forums.cybrary.it/u/RedRaccoon1181)\
**Post date:** [March 5, 2024, 10:18am UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/1 "2024-03-05T10:18:00Z")

</div>

Even after following the entire instructions and applying them, I am not getting the Flag.

 ![adb](https://forums.cybrary.it/uploads/default/original/2X/b/b25d78cf18a542a627a2f2812e1618619bb9314e.jpeg)

---

<div class="post-metadata">

**Author:** ![mikepalma85](https://forums.cybrary.it/user_avatar/forums.cybrary.it/mikepalma85/32/11_2.png) [@mikepalma85](https://forums.cybrary.it/u/mikepalma85)\
**Post date:** [March 5, 2024, 4:08pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/2 "2024-03-05T16:08:43Z")

</div>

I am having the same exact issue I was able to get it to 2 flags without it showing any errors but that is it it just stops from there and does not do anything else.

---

<div class="post-metadata">

**Author:** ![Mahesh\_Kumar\_S2609](https://forums.cybrary.it/user_avatar/forums.cybrary.it/mahesh_kumar_s2609/32/11_2.png) [@Mahesh\_Kumar\_S2609](https://forums.cybrary.it/u/Mahesh_Kumar_S2609)\
**Post date:** [March 5, 2024, 5:48pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/3 "2024-03-05T17:48:56Z")

</div>

I am also getting the same issue can anyone please help us.

---

<div class="post-metadata">

**Author:** ![RealisticOx9404](https://forums.cybrary.it/user_avatar/forums.cybrary.it/realisticox9404/32/11_2.png) [@RealisticOx9404](https://forums.cybrary.it/u/RealisticOx9404)\
**Post date:** [March 5, 2024, 6:14pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/4 "2024-03-05T18:14:53Z")

</div>

I am having the same issue with this lab. I believe that the Windows 2022 GUI server is actually the Windows 2022 PowerShell server. In 1.2 question 4 the flag is looking for 3 points but the flag.bat located on the Windows 2022 GUI desktop is looking for 7 points which is what is required for challenge 1.3. Challenge 1.3 uses the Windows 2022 PowerShell server. Also the groups and users it is checking for are created in challenge 1.3.

After completing challenge 1.3 I was able to go back and get the flag.bat to give me the flag for question 4 but it didn’t work and it was the same one from challenge 1.3. I did contact [support@cybrary.it](mailto:support@cybrary.it) about this and they have reached out to the author of this lab.

---

<div class="post-metadata">

**Author:** ![JosephWhite](https://forums.cybrary.it/user_avatar/forums.cybrary.it/josephwhite/32/2407_2.png) [@JosephWhite](https://forums.cybrary.it/u/JosephWhite)\
**Post date:** [March 5, 2024, 7:48pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/5 "2024-03-05T19:48:58Z")

</div>

@RealisticOx9404 is spot on. There is a bug in the lab platform that is replacing the GUI desktop with the PowerShell desktop. We are now using the **same** image for both desktops while we work out the bug. There are now two flags (Flag1.bat for GUI exercises and Flag2.bat for PowerShell exercises)

@RedRaccoon1181 @mikepalma85 @Mahesh_Kumar_S2609 see above.

---

<div class="post-metadata">

**Author:** ![Butler\_Newman2022](https://forums.cybrary.it/user_avatar/forums.cybrary.it/butler_newman2022/32/11_2.png) [@Butler\_Newman2022](https://forums.cybrary.it/u/Butler_Newman2022)\
**Post date:** [March 11, 2024, 7:21pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/7 "2024-03-11T19:21:15Z")

</div>

I tried the new Flag2.bat for the PowerShell machine and I don’t think its correct. Its looking for the Identity Evil instead of Villains.

 ![Screenshot 2024-03-11 141751](https://forums.cybrary.it/uploads/default/original/2X/d/d1f15ce8d3cda17823c2014a18196c4c3178e5af.png)

---

<div class="post-metadata">

**Author:** ![Butler\_Newman2022](https://forums.cybrary.it/user_avatar/forums.cybrary.it/butler_newman2022/32/11_2.png) [@Butler\_Newman2022](https://forums.cybrary.it/u/Butler_Newman2022)\
**Post date:** [March 11, 2024, 7:21pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/8 "2024-03-11T19:21:47Z")

</div>

Also, when you run the Flag.bat on the GUI machine it searches for the Evil identity as well. Can anyone help with this issue?

 ![Screenshot 2024-03-11 142020](https://forums.cybrary.it/uploads/default/original/2X/5/5d60d33259d446acfcb48bb08b0bf7be6dd895f3.png)

---

<div class="post-metadata">

**Author:** ![JosephWhite](https://forums.cybrary.it/user_avatar/forums.cybrary.it/josephwhite/32/2407_2.png) [@JosephWhite](https://forums.cybrary.it/u/JosephWhite)\
**Post date:** [March 11, 2024, 11:49pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/9 "2024-03-11T23:49:24Z")

</div>

Evil is created in the Challenge.

---

<div class="post-metadata">

**Author:** ![JosephWhite](https://forums.cybrary.it/user_avatar/forums.cybrary.it/josephwhite/32/2407_2.png) [@JosephWhite](https://forums.cybrary.it/u/JosephWhite)\
**Post date:** [March 12, 2024, 2:46am UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/10 "2024-03-12T02:46:05Z")

</div>

Try it now. There should now be two distinct desktops (GUI and PowerShell).

---

<div class="post-metadata">

**Author:** ![Mahesh\_Kumar\_S2609](https://forums.cybrary.it/user_avatar/forums.cybrary.it/mahesh_kumar_s2609/32/11_2.png) [@Mahesh\_Kumar\_S2609](https://forums.cybrary.it/u/Mahesh_Kumar_S2609)\
**Post date:** [March 13, 2024, 11:23am UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/11 "2024-03-13T11:23:30Z")

</div>

Now the issue has been resolved. Thanks @JosephWhite

---

<div class="post-metadata">

**Author:** ![NotableCrayfish8309](https://forums.cybrary.it/user_avatar/forums.cybrary.it/notablecrayfish8309/32/11_2.png) [@NotableCrayfish8309](https://forums.cybrary.it/u/NotableCrayfish8309)\
**Post date:** [March 19, 2024, 11:20pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/12 "2024-03-19T23:20:27Z")

</div>

I’m still having issues getting the flag, anyone have an idea of what this answer might be?

---

<div class="post-metadata">

**Author:** ![NotableCrayfish8309](https://forums.cybrary.it/user_avatar/forums.cybrary.it/notablecrayfish8309/32/11_2.png) [@NotableCrayfish8309](https://forums.cybrary.it/u/NotableCrayfish8309)\
**Post date:** [March 19, 2024, 11:36pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/13 "2024-03-19T23:36:22Z")

</div>

Help I;m not getting the answer

---

<div class="post-metadata">

**Author:** ![NotableCrayfish8309](https://forums.cybrary.it/user_avatar/forums.cybrary.it/notablecrayfish8309/32/11_2.png) [@NotableCrayfish8309](https://forums.cybrary.it/u/NotableCrayfish8309)\
**Post date:** [March 20, 2024, 12:07am UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/14 "2024-03-20T00:07:26Z")

</div>

Need to type cd :\Users XXX then type the Flag prompt, I was able to pass

---

<div class="post-metadata">

**Author:** ![MacKiAJ](https://forums.cybrary.it/user_avatar/forums.cybrary.it/mackiaj/32/11_2.png) [@MacKiAJ](https://forums.cybrary.it/u/MacKiAJ)\
**Post date:** [April 2, 2024, 6:49pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/15 "2024-04-02T18:49:40Z")

</div>

I’m now having this problem but it is on 1.2 guided exercise I followed the instructions to a T and I get 2 of 3 flags. Have a redone the lab numerous times same result. Flag 1 is finding user Bruce Wayne and flag two I think was finding Hereos group. I cannot remember exactly cause my lab timed out and I’m not feeling restarting it for the 6th atm. Please help.

---

<div class="post-metadata">

**Author:** ![Cirity](https://forums.cybrary.it/user_avatar/forums.cybrary.it/cirity/32/11_2.png) [@Cirity](https://forums.cybrary.it/u/Cirity)\
**Post date:** [October 19, 2024, 8:24am UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/16 "2024-10-19T08:24:37Z")

</div>

The flag was found.  
I had issues finding the third flag as well.  
I ended up restarting the lab it ended up working.

The answer: “xxxxxxxxxxx” for those who are struggling to find the flag

(Answer redacted by admin)

---

<div class="post-metadata">

**Author:** ![ConfidentPiranha1379](https://forums.cybrary.it/user_avatar/forums.cybrary.it/confidentpiranha1379/32/11_2.png) [@ConfidentPiranha1379](https://forums.cybrary.it/u/ConfidentPiranha1379)\
**Post date:** [October 21, 2024, 4:11pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/17 "2024-10-21T16:11:03Z")

</div>

The flag is : T\*\*\*\*\*\*\*\*\*e

(Answer redacted by admin)

---

<div class="post-metadata">

**Author:** ![VeryLocust2107](https://forums.cybrary.it/user_avatar/forums.cybrary.it/verylocust2107/32/11_2.png) [@VeryLocust2107](https://forums.cybrary.it/u/VeryLocust2107)\
**Post date:** [March 7, 2025, 11:26pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/18 "2025-03-07T23:26:26Z")

</div>

This whole site is terrible, you have to restart the entire assignment if the virtual machine crashes

---

<div class="post-metadata">

**Author:** ![kamas](https://forums.cybrary.it/user_avatar/forums.cybrary.it/kamas/32/11_2.png) [@kamas](https://forums.cybrary.it/u/kamas)\
**Post date:** [March 29, 2025, 12:25pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/19 "2025-03-29T12:25:49Z")

</div>

hi. can anyone help me to respond for this problem. tried many times i got stuck on this step.

 ![active directory](https://forums.cybrary.it/uploads/default/original/3X/6/0/601c9842f6f28ef0d7bf7873a3c7dd19e6b11887.png)

---

<div class="post-metadata">

**Author:** ![JosephWhite](https://forums.cybrary.it/user_avatar/forums.cybrary.it/josephwhite/32/2407_2.png) [@JosephWhite](https://forums.cybrary.it/u/JosephWhite)\
**Post date:** [March 29, 2025, 3:08pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/21 "2025-03-29T15:08:34Z")

</div>

I see an issue with the lab. The lab assumes you START on the Active Directory Basics GUI server and then switch to the Active Directory Basics PowerShell server. However, there has been a change to the lab environment since it was first deployed, and now students start out on the PowerShell server, which will mess things up when you try to re-install active directory using PowerShell over the GUI install which was done in error on the wrong server.

I will add instructions at the start of the lab to switch to the GUI server before doing any work.

Thanks for pointing this out!!

---

<div class="post-metadata">

**Author:** ![JosephWhite](https://forums.cybrary.it/user_avatar/forums.cybrary.it/josephwhite/32/2407_2.png) [@JosephWhite](https://forums.cybrary.it/u/JosephWhite)\
**Post date:** [March 29, 2025, 3:18pm UTC](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049/22 "2025-03-29T15:18:09Z")

</div>

I have changed the lab steps so that you know to start on the **Active Directory Basics GUI** server. I have also added verbiage to double check you are on the right server before continuing. Hopefully this resolves prior misunderstandings.

[Next page](https://forums.cybrary.it/t/not-getting-flag-in-active-directory-basics/84049.md?page=2)
