You are reading the article Windows 10 Setup Command Prompt Switches – Know More updated in December 2023 on the website Katfastfood.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested January 2024 Windows 10 Setup Command Prompt Switches – Know More
The Windows 10 installation or upgrade is done using the setup executable. This chúng tôi file is found within the image file for the installation media and is used to upgrade or install a fresh copy of Windows 10 on the computer. If you wish to modify the behavior of the Windows installation, you can do so using the Windows 10 setup command prompt switches.
Here, we shall take a look at some of the Windows 10 chúng tôi command line switches, and how you can use them to modify the way Windows installs on your computer.
Note: You can find the parameters for any switch using the attribute ‘/?’ next to the command line switch
There are many command line switches that can be used to alter the way your windows installation behaves. here are some of these discussed below.
this switch is used to automate the installation process, along with a migration choice for the installation. when used, the media setup user interface and progress screens are displayed by default, but no user input is required and the installation is automatically completed. This is the command you will use for Windows 10 unattended upgrade.
The following settings will be applied:
EULA will be accepted.
Dynamic Update will be enabled.
Telemetry and Data Upload will be opted in.
OOBE will be skipped.
PBR will be created.
The supported parameters include Upgrade; DataOnly; Clean
Syntax: setup.exe /auto upgrade
For Windows 10 unattended upgrade if you wish to use the answer files, you will have to use this command line switch. Note that the /auto switch parameter does not work with this switch. Answer files are XML based files that contain the configuration settings and their values, which Windows setup will use during the installation and upgrade.
Syntax: setup.exe /unattend:\servershareunattend.xml
If you wish to install the setup with an option to revert to the previous version, you can use this switch to include that control. You can toggle this switch using the Enable or Disable parameters.
Syntax: setup.exe /auto upgrade /uninstall disable
The quiet switch is used to hide all the user elements during the process of installing the operating system. It will also hide the rollback user interface. This is one of the methods if you wish to leave the upgrade to run in the background while you work on other things.
Syntax: setup.exe /auto upgrade /quiet
With this particular switch, You can direct Windows set up two alter the thread priority according to how much resources you want the setup program to use. you can use the normal and low parameters to increase or decrease the thread priority to the Windows setup.
syntax: setup.exe /auto upgrade /priority low
When Installing a new copy of the Windows operating system, the set up scans the system requirements to check if your device is compatible with the operating system or not. you can either ignore the compatibility issues or make the setup return an exit code for any compatibility issues as found.
The parameters to control this Switch are IgnoreWarning and ScanOnly, which performs the actions mentioned above respectively.
Syntax: setup.exe /auto upgrade /compat ScanOnly
If you are running low on system space, you can use this switch to store the temporary installation files on a specified partition. The switch takes the target drive letter as the parameter, allowing you to specify where you can put the temporary installation files.
Syntax: setup.exe /tempdrive E
If you are working on some important component while upgrading your computer, you can use this switch to prevent the computer from rebooting automatically upon completion of certain low level tasks. Instead, have the setup will continue when you reboot the PC next time.
Syntax: setup.exe /auto upgrade /noreboot
Starting with version 2004, you can use this parameter to start the offline part of the installation without committing (unlike the /noreboot switch). The primary difference between this switch and the /noreboot switch is that you will need to use the /Finalize switch after you reboot the PC.
Syntax: setup.exe /auto upgrade /prioriy low /skipfinalize
The dynamic update refers to automatically searching and downloading the latest updates when you upgrade to a higher version of Windows 10. you can use this switch to specify if you want to search and download have the latest updates from Microsoft servers.
it can be toggled using the parameters Enable and Disable.
syntax: setup.exe /auto upgrade /DynamicUpdate Disable
If you bought your copy of windows from an offline store, you may be supplied with the product key which you will require during upgrading or reinstalling your copy of Windows 10. you may not be required to use this parameter when you are using a media that contains the product ID in the sources folder (look for pid.txt).
For this command line switch, you will use the 25 digit product key.
Syntax: setup.exe /auto upgrade /pkey (enter your 25 digit product key without the brackets)
If you are upgrading to Windows 10 Pro or higher, That has BitLocker drive encryption, you can use this switch and the parameters to Alter the status of BitLocker drive encryption during the upgrade process. The switch supports three parameters, which are discussed below:
AlwaysSuspend: BitLocker drive encryption is kept suspended during the upgrade process. if you do not add a parameter this is the default behavior of the chúng tôi app.
TryKeepActive: if you hard working on your computer while the upgrade process is running in the background, you can use this parameter to try the upgrade without suspending the drive encryption. If the upgrade process fails, BitLocker will be suspended and the upgrade process will continue.
ForceKeepActive: this parameter will prevent the setup executable from suspending BitLocker. instead, the upgrade will fail if it cannot be completed.
syntax: setup.exe /auto upgrade /bitlocker AlwaysSuspend
This is a new Windows setup command prompt switch added to Windows 10, Which allows the installation of language packs to the new installation of the operating system. This switch takes the location parameter and you will need to specify where the installation should look for the language packs.
syntax: setup.exe /auto upgrade /installlangpacks C:UsernameLanguagesSpanish
You can use this parameter to specify a location that contains .inf drivers during the setup process on your Windows 10 system. this switch takes the location parameter, where you will specify the pathname of the folder with the drivers.
syntax: setup.exe /auto upgrade /InstallDrivers C:Usernamedrivers /noreboot
If you use a lot of peripherals with your device, you may be looking to migrate the drivers from existing installation in order to avoid downloading the required drivers again. This switch will help you achieve this, as you can use the parameters to migrate all the existing drivers or none of them which will allow you to download the latest version of your device drivers.
Syntax: setup.exe /auto upgrade /migratedrivers none
If you get one of the failure exit codes (check below), you can use this command line switch to copy the failure log to a local file. Do note that you may require admin permissions to copy the logs to a local folder, as this command runs under the System context.
Syntax: setup.exe /copylogs \servershare
When you use the command line switches mentioned above, you may one of the following exit codes. Here is a brief description of what each exit code means:
CONX_SETUP_EXITCODE_CONTINUE_REBOOT = The upgrade process was completed successfully.
CONX_SETUP_EXITCODE_RESUME_AT_COMPAT_REPORT = This means that the setup executable found some compatibility errors, which you will need to resolve before you can continue the upgrade process.
CONX_SETUP_EXITCODE_AUTO_INSTALL_FAIL = This means that the setup option could not be completed because the upgrade data was not accessible.
So there you have it. Now you know the popular Windows 10 setup command prompt switches that you can use to modify the behavior of the setup program. You can find more setup commands on the Microsoft Docs page. Comment below if you found this useful, and to discuss further the same.
You're reading Windows 10 Setup Command Prompt Switches – Know More
Windows command line utility, known as CMD or Command Prompt, is one of the most powerful tools that Microsoft offers to the Windows users. However, it is also one of the creepiest and not-so user friendly command line utilities you can find. You can’t even resize the command prompt window or change the fonts as per your requirements. If you have ever used a Linux or Unix command line utility (Terminal), you will know how useful it is to have a customizable command line utility.
Luckily, there are plenty of third party Windows command prompt alternatives and Console 2 is one of the best.Console 2 – A Command Prompt Replacement
Console 2 is a free and highly recommended command prompt alternative for Windows with a whole lot of features and eye-candy. To start using it, just download Console 2 from its official website. There is installation required. Simply extract the zip file to your C drive and you are good to go.
With this change, you can start using Powershell by selecting Powershell from the “New Tab” dropdown menu. Along with Powershell, you can also integrate other shells like Cygwin, Git Bash, Visual Studio CDM, etc.., so that you will have a consistent user interface.
Another handy feature is the keyboard shortcuts. They are found under the “Hotkeys” section in Console 2 settings, and you can easily change them to your liking.
Here you will see a host of tweaks where you can change the type of font, Windows smoothing, window position, docking, custom window titles, etc.
If you want to set transparency to your command screen, you can do so by navigating to the “More” section under “Appearance.”Conclusion
Console 2 delivers the same functionality as the regular Windows command prompt but does the task in a more appealing way. It adds several missing features in the Windows command prompt. If you are a regular Command Prompt user, do give Console 2 a try and see what you think.
Vamsi is a tech and WordPress geek who enjoys writing how-to guides and messing with his computer and software in general. When not writing for MTE, he writes for he shares tips, tricks, and lifehacks on his own blog Stugon.
Subscribe to our newsletter!
Our latest tutorials delivered straight to your inbox
Sign up for all newsletters.
In Windows, you can use the Command Prompt and Windows PowerShell consoles for greater control and faster management of the operating system. Both CLIs (command-line interpreters) also help you troubleshoot serious issues with your PC.
The same goes for the Mac’s Terminal, but its UNIX-based nature requires that you enter a different set of commands.
Table of Contents
If you recently switched to using a Mac, you’ll learn the Terminal equivalents to 15 helpful Command Prompt and Windows PowerShell commands below.1. View System Information
Suppose you want to identify the various hardware and software components (processor, RAM, operating system version, etc.) on your computer. In that case, you can view the information in Command Prompt or Windows PowerShell with the systeminfo command.
In Terminal, execute the following instead:
You can also prompt Terminal to filter the information by data type. For example, you can get an overview of Mac’s hardware only by appending SPHardwareDataType to the end of the command—e.g. system_profiler SPHardwareDataType.
For a list of data types, run the system_profiler -listDataTypes command.2. Ping Devices and Networks 3. Check Network Configurations
The Terminal equivalent opens Interface Configuration and uses the following command:
By default, ifconfig displays active networks only. To make it show all interfaces, run ifconfig -a instead.4. Flush DNS Cache
An outdated Domain Name System (DNS) cache on your computer causes connectivity issues with websites. In Windows, running the ipconfig /flushdns command via an elevated Command Prompt console helps you clear your computer’s local DNS cache.
The Terminal equivalent to clearing the DNS cache on Mac is as follows:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
You must enter an administrator password to authorize the command.5. View All Running Processes
Compared to the Windows Task Manager, typing tasklist into Command Prompt or Windows PowerShell allows for a clearer view of your PC’s background processes. It also contains information such as process IDs (PIDs) and memory usage stats for each task.
On the Mac, you can run one of the two commands below:
The top command displays a list of the most resource-intensive processes in real-time, while ps -ax shows you the complete task list on your Mac.6. End Process
The Mac’s Terminal equivalent is:7. Check Network Statistics
The netstat command in Windows lets you view a list of all active TCP connections and helps identify network-related problems.
On the Mac, running the same command yields similar results:
To view a list of flags and options specific to Terminal, type man netstat.8. Repair Disk Errors
The Check Disk command-line utility on Windows, which you can invoke by running chkdsk in Command Prompt or Windows PowerShell, allows you to check for and repair disk-related errors.
The Terminal equivalent in macOS is the fsck (file system consistency check) command. Start by booting up your Mac in single-user mode—press Command + S at startup. Then, run the following:
/sbin/fsck -fy9. Create Symbolic Link
Symbolic links (symlinks) are crucial if you find it impossible to change locations that apps and programs use to store files.
For example, you can use a symlink to sync any folder to a cloud storage service by making it appear as if it’s inside the default sync directory. On Windows, you use the mklink /J command.
On macOS, the Terminal equivalent is:
To learn more, check out how symlinks work on the Mac.10. Schedule Shut Down
On the Mac, use the following command instead:
You can always use the sudo killall shutdown command to cancel a scheduled shutdown.11. Compare File Differences
On Windows, you can compare the difference between two files using the fc command.
The Mac’s Terminal equivalent is:
The diff command comes with multiple options. For example, you can use the -i switch to make it ignore case differences in text files. Run man diff to view a complete list of options.12. Find Wi-Fi Password
On the Mac, you must run the following command in Terminal:13. Update Mac
In Windows, you can install operating system updates via Windows PowerShell with the Get-WindowsUpdate and Install-WindowsUpdate commands. It’s faster and less sluggish compared to using the GUI.
The Terminal equivalents to update macOS are:14. Renew IP Lease
Releasing and renewing the IP (Internet Protocol) lease can fix connectivity-related issues on your computer. That involves running the ipconfig /release and ipconfig /renew commands via Command Prompt in Windows.
If you don’t know the network interface name, use the ifconfig command to identify it—e.g. en0.15. Check Uptime
You can check your PC’s uptime with the (get-date) – (gcim Win32_OperatingSystem).LastBootUpTime Windows PowerShell command.
On the Terminal in macOS, run the following command instead:
The uptime command helps you determine if it’s time to shut down or restart your Mac. That often helps resolve random technical glitches preventing macOS from working correctly.Switching to Terminal
Java is one of the most commonly used programming languages. It is also an IDE-intensive programming language, with tight integration with Eclipse. You can run Java programs from the Command Prompt for quick compiling and execution.
If you are just starting to learn Java, this basic guide will help you start running the Java application from the Command Prompt in Windows 10/11.Installing the Java Development Kit (JDK) in Windows
Before you can run a Java program on your computer, you’ll need to have a dedicated compiler installed. This comes within the Java Standard Edition Development Kit (JDK). It’s an essential tool for developing in Java on any platform.
The JDK is not the same as the Java Runtime Environment (JRE), which you’ll already have installed if you’ve ever used a Java application on your machine.
Download the JDK from Oracle’s website – the Windows version. Download any of the following: an x64 installer (shown in the screen), an x64 compressed archive, or an x64 MSI installer.
Note: if you have just simple use for Java software, make sure you do not download the “Java SE Development Kit for Java SE subscribers,” which is on the same download page. If you wish to use Java’s JRE installation for Microsoft Windows, it has been moved to another page.
Run the installer as you would for any other program and follow the instructions.
Note the Windows location where Java is being installed. It will come in handy later when you’re trying to run Java from the Command Prompt.
The installation should be over in just a few seconds. If it is taking a long time, close all of your other apps from Task Manager and reinstall the software.
You will see a “Successfully Installed” status in the end.Running a Java Program From the Command Prompt
Create a simple Java program like the one below using Notepad or another text editor.
Make sure to save the file with the extension “.java” rather than “.txt.”
Open the Command Prompt from the Windows Start Menu, and don’t forget to run it as “Administrator.”
Use the cd command to change your working directory to the directory containing your Java program. To know which directory to go to, check the saved location of Java on your PC as discussed above.
From here, locate the path to the version of the Java Development Kit (JDK) on your computer. For example, if you’re running 64-bit Windows, that will often be in “C:Program FilesJava.”
Next, set the path to the JDK with the set command:
"Java Version Number".bin
You may need to change the directory path to reflect the current version of Java. Make sure you’re using the Java Development Kit (JDK) directory and pointing to the “bin” folder.
Note: the Java Runtime Environment (JRE) folder also contains a “bin” folder but doesn’t hold the Java compiler. If you get errors around the compilation, make sure you’re using the correct directory path.
Compile the Java program with the javac command as shown below. Be warned that you won’t see anything happen. However, if you use the dir command, you’ll notice a new file in your directory ending in the “.class” extension, indicating the program has been compiled.
Use the java command to run your program:
You’ll see the program run within the Command Prompt window, but there’s one more task you can do to make sure your Java program runs smoothly: set your path.Setting a Permanent PATH
The above command doesn’t set your Java compiler PATH permanently. It sets the environment variable for that session, but that change will be wiped away when you close the Command Prompt session.
Setting your Java compiler PATH permanently can come in handy if you want your compiled Java programs to run smoothly after a PC reboot. This helps launch the requested programs quickly from the Command Prompt window (or a third-party software like Eclipse).
Follow the steps below to change your PATH variable for all future sessions.
Paste the directory path you used above into the text box. Again, make sure you’re using the Java Development Kit (JDK) directory and not the Java Runtime Environment (JRE) directory next to it.
This article featured a simple Java program, but you can initiate almost any Java program from the Command Prompt. The procedure is straightforward regardless of the nature of your program.Frequently Asked Questions How can I fix “Java is not recognized as an internal or external command” in Windows?
The best way to fix “Java is not recognized as an internal or external command” is to add Java’s bin directory to your computer’s path, as covered above.Windows Command Prompt doesn’t show the results of Java command. How can I fix it?
Image credit: WrightStudio via AdobeStock. All screenshots by Sayak Boral.
Sayak Boral is a technology writer with over eleven years of experience working in different industries including semiconductors, IoT, enterprise IT, telecommunications OSS/BSS, and network security. He has been writing for MakeTechEasier on a wide range of technical topics including Windows, Android, Internet, Hardware Guides, Browsers, Software Tools, and Product Reviews.
Subscribe to our newsletter!
Our latest tutorials delivered straight to your inbox
Sign up for all newsletters.
How to install and setup NordVPN on Windows 10 and Mac
Doesn’t this all sound interesting? Of course, Yes, then let’s read further and learn how to install and setup NordVPN on Windows 10 and Mac.How to download and install NordVPN that uses OpenVPN on Windows 10?
Note: You need to have a minimum of 46MB free space on C drive.
6. Once installed, you will see NordVPN application along with a shortcut of NordVPN app displayed on your desktop.
Now that you have NordVPN installed on your Windows 10 machine, it’s time to setup NordVPN application on Windows 10.How to set up and use NordVPN on Windows 10?
If you are using Windows 7 or later then using NordVPN is very easy. Let’s learn how to set up and connect with NordVPN for the first time.Steps to set up NordVPN on Windows 10
2. Once you are signed in you’ll see the welcome screen of NordVPN. At the top left corner of this screen, you’ll be able to find the Servers and Settings option.
At the bottom, you’ll get the Quick Connect button, which will allow you to connect with the recommended server. Quick Connect algorithm finds the best option for you for that time using the complex algorithm.
4. Once you are connected to the server, the pin will change to green color and Quick Connect will show you the status as connected displaying your IP address.
5. To search for a specific server use Search here… box placed in the left pane at the top.
In addition to this, you can manage your connections by selecting different servers. To do so follow the steps below:
Moreover, you can configure the application to your liking through Settings.
To connect with a server automatically as the application starts enable Auto connect.
To launch NordVPN at bootup enable Start NordVPN on startup.
To get internet connectivity only when connected to NordVPN, enable Internet Kill Switch.
To make your PC invisible on LAN enable Invisibility on LAN.
Note: Once this feature is enabled you will not be able to access devices connected on your local area network like a printer.
To terminate application in case of unintended disconnection enable App Kill Switch.
To get Windows notifications every time you connect or disconnect from a server. Enable Notifications.
These steps will help you download and install NordVPN on Windows 10.How to download and install NordVPN on Mac?
3. This will open the install window, follow on-screen instructions to install NordVPN.
These simple steps will help you install NordVPN on your Mac machine.Using and setting NordVPN on Mac:
You’ll now see a window that will ask you to grant permission to install Helper. Enter the Mac password in this window to allow NordVPN to create a VPN tunnel.How to connect to a server using NordVPN on Mac?
Note: Quick Connect uses a complex formula and combines the server parameter to automatically connect you with a server recommended for you.
2. You’ll now be able to see a country list on the left and a map. Using the country list on the left sidebar you can navigate through servers and access servers.
3. To connect to a specific server, type in the name of the server in the Search… the field at the top left the corner of the app.How to choose between different servers and manage favorites?
Select them as per your requirements.
3. This will put all your favorite servers under My Favourites.Preferences:
Using these simple steps you can easily set up and run NordVPN on your Windows 10 and Mac machine.
If this leaves with you the questions like:Can I install NordVPN on my router?
Yes, you can install NordVPN on your router and trust us it is the safest bet. However, if you want to install NordVPN on your Apple TV, then that won’t be possible for now. Moreover, once you install NordVPN on your router remember you can connect up to 6 devices.How to Sign Up for NordVPN?
To Sign Up for NordVPN follow the steps below:
2. This will redirect you to the plan page. Select the one that suits you.
3. Now enter your email address.
4. Next, select the payment method. If you select Credit Card you will need to enter the card’s CVV and Postal Code.
You are now all set to login to your NordVPN account.
NordVPN allows you to access the Internet privately and securely. So what are you waiting for? Get your copy of NordVPN today and use it to secure your online footprints.Quick Reaction:
About the author
Windows 10 Insider Build 20232 brings more bugs than fixes
Microsoft released Windows 10 Insider Preview Build 20232 in the Dev Channel (Fast ring).
Although the new build comes to solve some problems, it also comes with a lot of known issues and no new features.
Are you also interested in the previous Windows 10 updates? Head over to our Windows 10 Updates section.
For more about the Windows 10 stories and guides, visit our Windows 10 Hub.
INSTALL BY CLICKING THE DOWNLOAD FILE
To fix various Windows 10 errors, we recommend Fortect:
This software will repair common computer errors, protect you from file loss, malware damage, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove virus damage now in 3 easy steps:
Download and Install Fortect on your PC
Launch the tool and Start scanning to find broken files that are causing the problems
Fortect has been downloaded by
readers this month.
INSTALL BY CLICKING THE DOWNLOAD FILE
Try Outbyte Driver Updater to resolve driver issues entirely:
This software will simplify the process by both searching and updating your drivers to prevent various malfunctions and enhance your PC stability. Check all your drivers now in 3 easy steps:
Download Outbyte Driver Updater.
Launch it on your PC to find all the problematic drivers.
OutByte Driver Updater has been downloaded by
readers this month.
It’s been only a week since the last Insider Preview Build and we welcome a new one, Windows 10 Insider Preview Build 20232 in the Dev Channel (Fast ring).
Although the new Windows 10 update comes to solve some problems, it also comes with a lot of known issues and no new features.What is new in Windows 10 Insider Preview Build 20232?
There are 4 fixes coming with the new Insider Preview Build 20232:
Until now, if you tried to reset your computer, the system was removing Notepad. Microsoft apparently solved that issue and they recommend that if you’re facing the situation to reinstall Notepad via Optional Features in Settings.
They also fixed an issue where the Continue button after the Windows needs space to continue dialog didn’t show up.
Apparently, sometimes, the Windows Update icon was not showing up in the taskbar notification area when an update was ready for a reboot. They also fixed that issue.
They also fixed a bug from IME. Now,
IMEs will show the correct typing status (ON or OFF) and the IME mode indicator from taskbar is working fine now.Windows 10 Insider Preview Build 20232 has plenty of known issues
Unfortunately, there are still a lot of known issues coming with Insider Preview Build 20232 but that is expected from a Dev Channel preview build.
Let’s see some of the more important ones:
Some systems to crash with a HYPERVISOR_ERROR bugcheck.
For some, the update to a new build is taking a lot of time.
Sometimes, Notepad doesn’t reopen files that were automatically saved during a PC restart. However, you can still recover your documents from %localappdata%Notepad.Don’t install Insider Build 20232 if you have an Xbox controller
Just after the release of the Windows 10 Insider Preview Build 20232, we’ve recorded cases of users who experienced this issue.
Apparently, a user got a BSoD referencing chúng tôi when he turned his controller on just after installing the new update.
Looks like the Xbox 1 wireless driver is borked with this update. I get a blue screen referencing chúng tôi whenever I turn my controller on. Oof.
So if you really want to use your Xbox controller, don’t install the latest Windows 10 Insider Preview Build 20232.What can I do to avoid the BSoD error after installing Insider Build 20232?
If you care more about the new update, then make sure you disconnect your Xbox controller from your computer and leave things like that until the new update.
Otherwise, you may be triggering the BSoD with the error code 0xc1900101.
You can check all the release notes from Windows Blog.
Was this page helpful?
Start a conversation
Update the detailed information about Windows 10 Setup Command Prompt Switches – Know More on the Katfastfood.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!