A RELIRE
FOR EXPERTS
If you already have administrator rights on your PC to install and run new software, you can proceed directly to the next step 02 - Android Studio tools - Windows - Android
FOR BEGINNERS
A terminal, also called a Command Prompt
on Windows, is a way of controlling a computer by entering text instead of using a mouse to click a button.
This mode of interaction is often faster and more convenient for executing tasks and changing settings. In this installation guide, simply copy the given commands, paste them into the command prompt, then press Enter. All the commands to be performed will be indicated and explained.
Greenspector Studio’s tools run within command prompt.
Launch
There are two ways to launch command prompt:
Option 1: In Start Menu, search for
cmd
and click onCommand Prompt
Option 2: Launch
Run
In Start Menu, search for and click on
Run
or use hotkeyWindows
+R
Type
cmd
and pressEnter
Since Windows 7, Windows has offered a new terminal: Windows Powershell
. However, this terminal introduces behaviors that differ from those presented in this documentation.
To ensure optimum installation and support of Greenspector Studio features, we recommend using the original Windows terminal.
Check admin rights
To run Greenspector Studio, user must have administrator rights to be able to install and run new softwares. To practice on the command prompt, we will use it to check this information.
Copy and paste, or type the following command in command prompt:
whoami
This command simply gives the computer and user names with format computer
/user
.
Copy only user name and add it to the next command:
net user "my_username"
my_username
should be replaced with the real one. If whoami
output is computer1/alex
, the command should be net user "alex"
.
Plenty of information about current user should appear.
Close to the end, find the line “Local group” and search for
*Administrator
on the right column.
If it appears, current user is admin of the computer and can continue this installation guide.
If not, it has to be added as administrator to be able to use Greenspector Studio.
A faster way
Command prompt is also able to combine different commands. The same results can be obtained with this single line:
for /f "tokens=2 delims=\" %i in ('whoami') do net user "%i" | findstr /C:"Admin"
Next step is 02 - Android Studio tools - Windows - Android