# Unable to execute command in simulated lab

**URL:** <https://forums.cybrary.it/t/unable-to-execute-command-in-simulated-lab/357104>\
**Category:** IT and Cybersecurity Foundations\
**Created:** [January 10, 2025, 11:24am UTC](https://forums.cybrary.it/t/unable-to-execute-command-in-simulated-lab/357104 "2025-01-10T11:24:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eternallearner1973](https://forums.cybrary.it/user_avatar/forums.cybrary.it/eternallearner1973/32/11_2.png) [@eternallearner1973](https://forums.cybrary.it/u/eternallearner1973)\
**Post date:** [January 10, 2025, 11:24am UTC](https://forums.cybrary.it/t/unable-to-execute-command-in-simulated-lab/357104/1 "2025-01-10T11:24:08Z")

</div>

Install-ADDSForest -DomainName “legionofdoom.local” -CreateDnsDelegation:$false -DatabasePath “C:\Windows\NTDS” -DomainMode “7” -DomainNetbiosName “legionofdoom.local” -ForestMode “7” -DomainNetbiosName “LEGIONFDOOM” -ForestMode “7” -InstallDns:$true -LogPath “C:\Windows\NTDS” -NoRebootOnCompletion:$False -SysvolPath “C:\Windows\SYSVOL” -Force:$true

ERROR : The command Install-ADDSForest is no recognized as the name of a cmdlet, function, script file or operable program.

---

<div class="post-metadata">

**Author:** ![CalmQuail2332](https://forums.cybrary.it/user_avatar/forums.cybrary.it/calmquail2332/32/33622_2.png) [@CalmQuail2332](https://forums.cybrary.it/u/CalmQuail2332)\
**Post date:** [January 10, 2025, 2:42pm UTC](https://forums.cybrary.it/t/unable-to-execute-command-in-simulated-lab/357104/2 "2025-01-10T14:42:46Z")

</div>

Hey there - assuming this is for Active Directory Basics and refers to the command at Step 24. Comparing your command above against the lab guide, it appears that you have some extra options in there, specifically:

-DomainNetbiosName “legionofdoom.local” -ForestMode “7” -DomainNetbiosName “LEGIONFDOOM” -ForestMode “7”

I would recommend revisiting the lab and double-checking your command input against the instructions. If the issue persists, could you please provide a screenshot?
