The Advanced Tab: Environment Variables
System and user environment variables are configured by means of the Environment Variables dialog box, as shown in Figure 3. One way to access this dialog box is by completing the following steps:
-
In Control Panel, tap or click System And Security, and then tap or click System.
-
In the System console, tap or click Advanced System Settings in the left pane. -
On the Advanced tab in the System Properties dialog box, tap or click Environment Variables.
Note
If you type SystemPropertiesAdvanced
in the Apps Search box and then press Enter, you open the System
Properties dialog box to the Advanced tab and can then click Environment
Variables.
Creating an Environment Variable
When you create or modify system environment variables, the changes
take effect when you restart the computer. When you create or modify
user environment variables, the changes take effect the next time the
user logs on to the system.
You can create an environment variable by completing the following steps:
-
Open the Environment Variables dialog box, as discussed previously. -
Tap or click New under User Variables or under System Variables,
whichever is appropriate. This opens the New User Variable dialog box or
the New System Variable dialog box, respectively. -
In the Variable Name text box, type the variable name. In the Variable Value text box, type the variable value. Tap or click OK.
Note
MORE INFO User profiles contain
global user settings and configuration information. They are created
the first time that a user logs on to a local computer or domain and are
different for local and domain accounts. A user’s profile maintains the
desktop environment so that it is the same each time the user logs on.
You can access Group Policy and use a preference item to create an
environment variable on computers throughout a domain by completing the
following steps:
-
Open a Group Policy Object for editing in the Group Policy Management
Editor. To configure preferences for computers, expand Computer
Configuration\Preferences\Windows Settings, and then select Environment.
To configure preferences for users, expand User
Configuration\Preferences\Windows Settings, and then select Environment. -
Press and hold or right-click the Environment node, point to New, and
then select Environment Variable. This opens the New Environment
Properties dialog box. -
From the Action list, select Create. Next, select User Variable to
create a user variable or System Variable to create a system variable. -
In the Name text box, type the variable name. In the Value text box, type the variable value. -
Use the options on the Common tab to control how the preference is
applied. In most cases, you’ll want to create the new variable only
once. If so, select Apply Once And Do Not Reapply. -
Tap or click OK. The next time policy is refreshed, the preference
item will be applied as appropriate for the Group Policy object in which
you defined the preference item.
Editing an Environment Variable
You can edit an environment variable by completing the following steps:
-
Open the Environment Variables dialog box, as discussed previously. -
Select the variable in the User Variables or System Variables list box. -
Tap or click Edit under User Variables or under System Variables,
whichever is appropriate. The Edit User Variable dialog box or the Edit
System Variable dialog box opens. -
Type a new value in the Variable Value text box, and then tap or click OK.
You can access Group Policy and use a preference item to update an
environment variable on computers throughout a domain by completing the
following steps:
-
Open a Group Policy Object for editing in the Group Policy Management
Editor. To edit preferences for computers, expand Computer
Configuration\Preferences\Windows Settings, and then select Environment.
To edit preferences for users, expand User
Configuration\Preferences\Windows Settings, and then select Environment. -
Press and hold or right-click the Environment node, point to New, and
then select Environment Variable. This opens the New Environment
Properties dialog box. -
From the Action list, select Update to update the variable, or select
Replace to delete and then re-create the variable. Next, select User
Variable to create a user variable or System Variable to create a system
variable. -
In the Name text box, type the name of the variable to update. In the Value text box, type the variable value. -
Use the options on the Common tab to control how the preference is
applied. In most cases, you’ll want to create the new variable only
once. If so, select Apply Once And Do Not Reapply. -
Tap or click OK. The next time policy is refreshed, the preference
item will be applied as appropriate for the Group Policy Object in which
you defined the preference item.
Deleting an Environment Variable
When you are working with the Environment
Variables dialog box, you can delete an environment variable by
selecting it and tapping or clicking Delete. To delete an environment
variable on computers throughout a domain using Group Policy, complete
the following steps:
-
Open a Group Policy Object for editing in the Group Policy Management
Editor. To configure preferences for computers, expand Computer
Configuration\Preferences\Windows Settings, and then select Environment.
To configure preferences for users, expand User
Configuration\Preferences\Windows Settings, and then select Environment. -
Do one of the following:
-
If a preference item already exists for the variable, double-tap or
double-click the variable name to open the related Properties dialog
box. Select Delete in the Action list. On the Common tab, set the
appropriate options, such as Apply Once And Do Not Reapply, and then tap
or click OK. -
If a preference item doesn’t already exist for a variable that you
want to remove from computers, you need to create a preference item
using the techniques discussed previously. Be sure to select Delete in
the Action list and select the appropriate options on the Common tab.
The Advanced Tab: Startup and Recovery Options
System startup and recovery properties are configured by means of the Startup And Recovery dialog box, shown in Figure 4. One way to access this dialog box is by completing the following steps:
-
In Control Panel, tap or click System And Security, and then tap or click System. -
In the System console, tap or click Change Settings, or tap or click Advanced System Settings in the left pane. -
To display the Startup
And Recovery dialog box, tap or click the Advanced tab in the System
Properties dialog box, and then tap or click Settings in the Startup And Recovery panel.
Note
If you type SystemPropertiesAdvanced
in the Apps Search box and then press Enter, you will open the System
Properties dialog box to the Advanced tab and can then click Settings in
the Startup And Recovery panel.
|