Podcast
Questions and Answers
What is the primary purpose of the adprep command in Windows Server?
What is the primary purpose of the adprep command in Windows Server?
Which parameter must be run only once in the forest when preparing it for a new domain controller?
Which parameter must be run only once in the forest when preparing it for a new domain controller?
Which group is NOT required to run the /forestprep command?
Which group is NOT required to run the /forestprep command?
When should the /domainprep command be executed?
When should the /domainprep command be executed?
Signup and view all the answers
What is required to run the adprep command from an elevated command prompt?
What is required to run the adprep command from an elevated command prompt?
Signup and view all the answers
What does the parameter /rodcprep specifically prepare the forest for?
What does the parameter /rodcprep specifically prepare the forest for?
Signup and view all the answers
Which version of adprep runs by default on a 64-bit computer?
Which version of adprep runs by default on a 64-bit computer?
Signup and view all the answers
Which command option is used to prepare a Windows Server 2000 or 2003 Domain?
Which command option is used to prepare a Windows Server 2000 or 2003 Domain?
Signup and view all the answers
What is likely to happen if you try to copy a file without specifying a different destination file when a copy already exists?
What is likely to happen if you try to copy a file without specifying a different destination file when a copy already exists?
Signup and view all the answers
When combining multiple ASCII files using the copy command, what option should be used to specify that files are binary?
When combining multiple ASCII files using the copy command, what option should be used to specify that files are binary?
Signup and view all the answers
What will happen if you execute the command 'copy report + mar89.rpt + apr89.rpt + may89.rpt'?
What will happen if you execute the command 'copy report + mar89.rpt + apr89.rpt + may89.rpt'?
Signup and view all the answers
In which scenario would you use the xcopy command instead of the copy command?
In which scenario would you use the xcopy command instead of the copy command?
Signup and view all the answers
What will occur when you use 'copy *.txt Combined.doc' in the current directory with multiple .txt files?
What will occur when you use 'copy *.txt Combined.doc' in the current directory with multiple .txt files?
Signup and view all the answers
What happens to the modified date and time of the destination file when the copy command combines multiple files?
What happens to the modified date and time of the destination file when the copy command combines multiple files?
Signup and view all the answers
Which of the following commands would result in creating a copy named 'Birds' instead of a directory?
Which of the following commands would result in creating a copy named 'Birds' instead of a directory?
Signup and view all the answers
Which algorithm is the fastest and set as the default value?
Which algorithm is the fastest and set as the default value?
Signup and view all the answers
What command is used to query the system's Compact state?
What command is used to query the system's Compact state?
Signup and view all the answers
Which option would you use to prevent all operating system binaries from being compressed?
Which option would you use to prevent all operating system binaries from being compressed?
Signup and view all the answers
What does the /i parameter accomplish when compressing a volume?
What does the /i parameter accomplish when compressing a volume?
Signup and view all the answers
Which command line will compress files and subdirectories in the current directory without altering the current directory's state?
Which command line will compress files and subdirectories in the current directory without altering the current directory's state?
Signup and view all the answers
What is the main limitation of using the command seen in the content?
What is the main limitation of using the command seen in the content?
Signup and view all the answers
What does the compact command do with existing files in a directory when changing the compression state?
What does the compact command do with existing files in a directory when changing the compression state?
Signup and view all the answers
Which wildcard character can be used in the query for specifying multiple filenames?
Which wildcard character can be used in the query for specifying multiple filenames?
Signup and view all the answers
What function does the /add parameter serve in cmdkey?
What function does the /add parameter serve in cmdkey?
Signup and view all the answers
Which command option allows you to specify a user account name when adding credentials?
Which command option allows you to specify a user account name when adding credentials?
Signup and view all the answers
What will happen if the /smartcard option is used and multiple smart cards are found?
What will happen if the /smartcard option is used and multiple smart cards are found?
Signup and view all the answers
Which parameter would you use with cmdkey to delete a stored remote access entry?
Which parameter would you use with cmdkey to delete a stored remote access entry?
Signup and view all the answers
What is the effect of the /list: parameter in cmdkey?
What is the effect of the /list: parameter in cmdkey?
Signup and view all the answers
When using cmdkey, how are passwords treated after they are stored?
When using cmdkey, how are passwords treated after they are stored?
Signup and view all the answers
Which cmdkey command option is NOT valid?
Which cmdkey command option is NOT valid?
Signup and view all the answers
What does the /? parameter do when used with cmdkey?
What does the /? parameter do when used with cmdkey?
Signup and view all the answers
What command must be executed to compress all .bmp files in the \tmp directory and its subdirectories?
What command must be executed to compress all .bmp files in the \tmp directory and its subdirectories?
Signup and view all the answers
Which command is used to force complete compression of a partially compressed file?
Which command is used to force complete compression of a partially compressed file?
Signup and view all the answers
What does the command 'compact /u c:\tmp' accomplish?
What does the command 'compact /u c:\tmp' accomplish?
Signup and view all the answers
What is the primary purpose of the copy command's /d option?
What is the primary purpose of the copy command's /d option?
Signup and view all the answers
Which parameter allows networked files to be copied in restartable mode?
Which parameter allows networked files to be copied in restartable mode?
Signup and view all the answers
When would you use the /n parameter with the copy command?
When would you use the /n parameter with the copy command?
Signup and view all the answers
What does the /y option do in the copy command?
What does the /y option do in the copy command?
Signup and view all the answers
What is indicated by using the /b parameter in the copy command?
What is indicated by using the /b parameter in the copy command?
Signup and view all the answers
Study Notes
Adprep Command
- Adprep is a command-line tool used to extend the Active Directory schema and update permissions for supporting Windows Server domain controllers.
- Must be executed from an elevated command prompt; use "Run as administrator" to open.
- Available in both 32-bit (Adprep32.exe) and 64-bit versions, with 64-bit being the default.
- Essential for preparing a forest and domain for new domain controllers.
- Syntax options include
/forestprep
,/domainprep
,/domainprep /gpprep
, and/rodcprep
.
Parameters of Adprep
-
/forestprep:
- Prepares the forest for a new Windows Server domain controller.
- Requires execution on the schema operation master domain controller.
- Requires membership in Enterprise Admins, Schema Admins, and Domain Admins groups.
-
/domainprep:
- Prepares the domain after running
/forestprep
. - Must be executed after changes have replicated throughout the domain controllers.
- Prepares the domain after running
Cmdkey Command
- Cmdkey creates, lists, and deletes stored user names and password credentials in Windows Server.
- Syntax includes options for adding, generic credentials, and deleting stored items.
Parameters of Cmdkey
-
/add:
- Adds username and password tied to a specific computer or domain.
-
/generic:
- Stores generic credentials linked to a domain or computer.
-
/smartcard:
- Retrieves credentials stored on a smart card.
-
/delete:
- Deletes specified stored credentials, including remote access entries.
-
/list:
- Displays all stored user names and associated credentials.
Compact Command
- Compact modifies the compression state of files and directories, utilizing the NTFS file system compression feature.
- Syntax allows setting, querying, and modifying compression states with various options.
Copy Command
- The copy command facilitates copying files from one location to another within Windows.
- Offers options to manage overwritten files, verify integrity, and deal with encrypted files.
Parameters of Copy
-
/d:
- Saves encrypted files as decrypted at the destination.
-
/v:
- Verifies successful writing of new files.
-
/y:
- Suppresses prompts for overwriting files, automating the process.
-
/z:
- Copies networked files in a restartable mode.
-
/a | /b:
- Specifies file type as ASCII text or binary, respectively.
Usage of Commands
- Adprep is crucial before deploying new domain controllers in Active Directory environments.
- Cmdkey is essential for managing credentials for various network and security processes.
- Compact is beneficial for optimizing storage use through file compression.
- Copy enables efficient file management and organization within a file system, supporting various parameters for specific needs.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
This quiz focuses on the adprep command, which is essential for extending the Active Directory schema in preparation for a new Windows Server domain controller. Test your knowledge about how to properly execute adprep in an elevated command prompt and understand its implications in a domain environment.