Joining a computer using the Djoin
program is a process where the computer is inserted into the domain to gain access to domain resources. This involves creating a provisioning file with the computer's configuration information and executing the Djoin
command to enroll the computer with this information into the domain.
This project is a working API for webrequests.
-
open CMD
-
execute
py_djoin_api.exe --startup auto install
-
run the service by executing
py_djoin_api.exe start
ornet start py_djoin_api
-
open CMD
-
execute
py_djoin_api.exe debug
- Begin by cloning the repository to a designated local directory on your machine.
git clone https://github.com/jcivitel/py_djoin_api.git
- Launch a Command Prompt (CMD) and navigate to the specified directory. Once in the directory, execute the following command:
python -m venv venv
- Once the virtual Python environment has been successfully created, it is now possible to compile the project:
. venv/bin/activate
pip install -r requirements.txt
pyinstaller --onefile py_djoin_api.py --hidden-import=win32timezone --clean --uac-admin
./venv/Scripts/activate.bat
pip install -r requirements.txt
pyinstaller --onefile py_djoin_api.py --hidden-import=win32timezone --clean --uac-admin