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?
- To install new software on Windows Server.
- To extend the Active Directory schema and prepare for a domain controller. (correct)
- To create user accounts within Active Directory.
- To remove unnecessary files from the 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?
- /domainprep
- /wssg
- /rodcprep
- /forestprep (correct)
Which group is NOT required to run the /forestprep command?
Which group is NOT required to run the /forestprep command?
- Schema Admins group
- Local Users group (correct)
- Domain Admins group
- Enterprise Admins group
When should the /domainprep command be executed?
When should the /domainprep command be executed?
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?
What does the parameter /rodcprep specifically prepare the forest for?
What does the parameter /rodcprep specifically prepare the forest for?
Which version of adprep runs by default on a 64-bit computer?
Which version of adprep runs by default on a 64-bit computer?
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?
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?
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?
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'?
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?
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?
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?
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?
Which algorithm is the fastest and set as the default value?
Which algorithm is the fastest and set as the default value?
What command is used to query the system's Compact state?
What command is used to query the system's Compact state?
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?
What does the /i parameter accomplish when compressing a volume?
What does the /i parameter accomplish when compressing a volume?
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?
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?
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?
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?
What function does the /add parameter serve in cmdkey?
What function does the /add parameter serve in cmdkey?
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?
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?
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?
What is the effect of the /list: parameter in cmdkey?
What is the effect of the /list: parameter in cmdkey?
When using cmdkey, how are passwords treated after they are stored?
When using cmdkey, how are passwords treated after they are stored?
Which cmdkey command option is NOT valid?
Which cmdkey command option is NOT valid?
What does the /? parameter do when used with cmdkey?
What does the /? parameter do when used with cmdkey?
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?
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?
What does the command 'compact /u c:\tmp' accomplish?
What does the command 'compact /u c:\tmp' accomplish?
What is the primary purpose of the copy command's /d option?
What is the primary purpose of the copy command's /d option?
Which parameter allows networked files to be copied in restartable mode?
Which parameter allows networked files to be copied in restartable mode?
When would you use the /n parameter with the copy command?
When would you use the /n parameter with the copy command?
What does the /y option do in the copy command?
What does the /y option do in the copy command?
What is indicated by using the /b parameter in the copy command?
What is indicated by using the /b parameter in the copy command?
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.