C# Console Application that uses command line arguments to join a PC to a domain.
Simple & Standalone C# Console application that will join a PC to a domain after it's ran with command line arguments.
Windows:
cmd /k ""c:\support\domain.exe" "domain" "username" "password""
Copy the release of this project to a machine that is not currently connected to a domain, save it in a location accessible by an Administrator and run with the 3 arguments above, this will connect the machine to the domain but will require a reboot to complete successfully.
If the program failed to connect to the domain it will log a failed.txt
document to c:\support\
with the error code and troubleshooting steps.
Currently no development setup tested, will add testing ability to spoof a connection so you are able to see the reply.
- 0.1.0
- ADD: Add
src\project
- ADD: Add
- 0.0.1-pre
- Project Started
- ADD: Add
Readme.md
- CHANGE: Add
Project Name/Description
- FIX: Build Src
Charlie Maddex – @charliemaddex – [email protected]
https://github.com/name/domain-join
- Fork it (https://github.com/name/domain-join/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request