A server administrator is logged into a Windows Server with a standard user account. An attempt to run a command-line utility named reg_update.exe fails with an "Access is denied" error message. The utility requires local administrator privileges to function correctly. To adhere to the principle of least privilege, the administrator needs to execute only this utility with elevated permissions without starting a new login session. Which of the following commands should be used to accomplish this task from the current command prompt?
The correct command is runas /user:SERVER01\Administrator "reg_update.exe". The runas command allows a user to run specific tools and programs with different permissions than the user's current logon provides, which is exactly what is required in this scenario.
sudo reg_update.exe is incorrect because sudo is a command used in Linux/Unix environments to elevate privileges. While Microsoft is introducing a similar command, it is not the standard, built-in tool for this purpose on current Windows Server versions.
icacls C:\tools\reg_update.exe /grant Administrator:F is incorrect. The icacls command modifies file and folder permissions (ACLs); it does not execute a program with elevated privileges. The issue here is the permissions of the process when it runs, not access to the .exe file itself.
net use * \\SERVER01\C$ /user:Administrator is incorrect. The net use command connects to shared resources like network drives; it does not execute a program with elevated credentials.