programming4us
programming4us
DESKTOP

Windows 7 : Maintaining Your System Configuration (part 3) - Configuring User Profiles, Environment Variables, and Startup and Recovery

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
2/17/2011 9:08:14 AM

4. Configuring User Profiles, Environment Variables, and Startup and Recovery

You can use the Advanced tab in the System Properties dialog box to configure application performance, virtual memory usage, user profiles, environment variables, and startup and recovery.


4.1. User profiles

When you create a user account on a computer, your computer creates a user profile for that account the first time the user logs on. A user profile contains the global settings and configuration options that are unique to a particular user account. Whenever you make changes to your desktop or other settings that affect only you rather than everyone who logs on to your computer, the changes are saved in your user profile. This is also where your computer stores all your personal files. Any documents, music, or other files you’ve put into your personal folders are actually stored within your profile.

I could easily spend 50 pages extolling the details of profiles, but what you really need to know is this:

  • On a computer connected to a domain, your IT administrators will largely control the ways you can use your profile. If your IT administrators create a special type of profile, called a roaming profile, for your account, you can use the same profile on every computer you use, and this would ensure that you always have a consistent user environment. When you have a roaming profile, your profile is stored on a Windows server and a cached copy is stored on your computer.

  • At home or in an organization that does not use domains, you are in complete control of your profile. Your profile contains your desktop settings and user-specific configuration settings. Your profile contains all the files and folders listed when you click Start and then click your username on the Start menu. Because your account settings and your personal data are stored in your profile, any problems with your profile could prevent you from logging on and could result in catastrophic data loss.

You can view the profiles on your computer by following these steps:

  1. Click Start→Control Panel→System and Security→System.

  2. In the System console, click “Change settings” under “Computer name, domain, and workgroup settings.” Alternatively, click Advanced System Settings in the left pane.

  3. On the Advanced tab, click Settings under User Profiles.

  4. In the User Profiles dialog box, shown in Figure 8, you’ll see a list of profiles stored on your computer according to the associated account name, size, type, status, and date last modified.

Figure 8. Viewing user profiles


As you can see from the list of profiles, profiles can grow quite large. On this computer, my profile is 783 MB in size. On my primary computer, my profile is a whopping 5.2 GB in size. That’s a lot of data for the computer to drag around. In the profile list shown in Figure 20-8, you should also note that several names are listed as “Account Unknown.” These entries aren’t for corrupt profiles or necessarily for profiles that should be deleted. Rather, these entries are typically for profiles created when a computer was a member of a domain, and since the computer was removed from the domain, it no longer recognizes the related accounts to which the profiles belong.

In the User Profiles dialog box, you can:

Change the type of profile

On a domain, your IT administrators may use the Change Type option to change your profile from the default profile type—local profile—to a roaming profile or vice versa. Other settings you must configure in your user properties to ensure that you get the correct environment when you log on.

Create a copy of a profile

Use the Copy To option to create a copy of a profile and all its related data. As you cannot copy a profile that is active, you’ll likely only be able to create a copy of the default profile.

Delete a profile

Use the Delete option to delete a profile that is no longer needed. You cannot delete a profile that currently is logged on. If you delete a profile from an account that is still being used, the computer will create a new profile the next time the other person logs on.

Because so much of your important personal data is stored in your user profile, you might want to create a backup copy of your profile. As long as you aren’t logged on to an account using a profile, you can copy a profile to a folder by completing these steps:

  1. In Windows Explorer, create a new folder for storing the profile data.

  2. In the User Profiles dialog box, click the profile you want to copy and then click Copy To.

  3. In the Copy To dialog box, shown in Figure 9, click Browse, locate the folder you created for storing the profile data, and then click OK.

Figure 9. Creating a copy of the profile


  1. Under “Permitted to use,” click Change. Use the Select User or Group dialog box to specify the user or group who should be granted the Full Control permission for the profile data and then click OK. No other user or group will be granted access to the profile data.

  2. In the Copy To dialog box, click OK.

  3. In the Confirm Copy dialog box, click Yes to confirm that you want to delete the contents of the new folder you created and store the profile in this location.

  4. You’ll now have a complete backup copy of the profile.

To ensure that a corrupt profile can’t prevent you from logging on, you should create at least one additional administrator account on your computer. If you find that you can’t log on to your primary account due to a profile or other problem, you can log on to the backup administrator account to try to resolve the problem. When you are logged on to the backup administrator account, you can try to use System Restore,  to restore your computer to a previous point in time. Although the restore may cause you to lose your most recent setting changes, you won’t lose all the data in your user profile. If you find that you aren’t able to restore your computer with a working profile for your primary account, you can try to restore your computer from backup. Alternatively, you can do the following to restore logon:

  1. Log on to your computer with the backup administrator account.

  2. Create a copy of your profile in a working folder, or create copies of your profile folders in Windows Explorer.

  3. Delete your profile. When you delete your profile, all your personal data will be permanently lost if you haven’t backed it up or copied it.

  4. Log off the backup administrator account.

  5. Log on to your primary account. When you log on, Windows 7 will create a new profile for you. You can then copy your personal data back into your personal folders.

4.2. Environment variables

Your computer uses environment variables to track many different aspects of the computer configuration—from the location of your user profile, to the computer name, to the processor architecture. Environment variables are divided into two general classes: those that the operating system uses, called system environment variables; and those that are specially related to the currently logged on user, called user environment variables. If you access a command prompt and type set, you’ll see all the environment variables that are currently being used.

In the System Properties dialog box, you can view and configure environment variables by completing these steps:

  1. Click Start→Control Panel→System and Security→System.

  2. In the System console, click “Change settings” under “Computer name, domain, and workgroup settings.” Alternatively, click Advanced System Settings in the left pane.

  3. On the Advanced tab, click Environment Variables. This displays the Environment Variables dialog box shown in Figure 10.

  4. You can now configure environment variables using the following techniques:

    • To create an environment variable, click New under “User variables” or under “System variables,” whichever is appropriate. In the New Variable dialog box, type the variable name and value in the fields provided and then click OK.

    • To edit an existing environment variable, select the variable in the “User variables” or “System variables” listbox. Click Edit under “User variables” or under “System variables,” whichever is appropriate. In the Edit Variable dialog box, type a new value in the Variable Value field and then click OK.

    • To delete an environment variable, select it and click Delete.

Figure 10. Configuring your computer’s environment variables


When you create or edit system environment variables, the changes affect the entire system when you restart the computer. When you create or edit user environment variables, the changes take effect the next time you log on.

NOTE

Programs that you run from the Start menu or Run dialog will pick up the new environment variables when you quit and restart them. So if you are setting an environment variable for use in the Command Prompt, you need only close it and reopen it for the new environment variable to take effect.

4.3. Startup and recovery

Startup and recovery options control the way Windows 7 starts and handles failures. You can view and configure startup and recovery options by completing these steps:

  1. Click Start→Control Panel→System and Security→System.

  2. In the System console, click “Change settings” under “Computer name, domain, and workgroup settings.” Alternatively, click Advanced System Settings in the left pane.

  3. On the Advanced tab, click Settings under Startup and Recovery. This displays the Startup and Recovery dialog box shown in Figure 11.

Figure 11. Configuring startup and recovery options


  1. If your computer has multiple bootable operating systems, you can set the default operating system by selecting one of the operating systems on the “Default operating system” list. These options change the configuration settings that Windows Boot Manager uses.

  2. At startup of a computer with multiple bootable operating systems, Windows 7 displays the startup configuration menu for 30 seconds by default. To boot immediately to the default operating system, clear the “Time to display list of operating systems” checkbox. To display the available options for a specific amount of time, select the “Time to display list of operating systems” checkbox and then set the desired time delay in seconds.

  3. When the system is in a recovery mode and is booting, a list of recovery options might be displayed. To boot immediately using the default recovery option, clear the “Time to display recovery options when needed” checkbox. To display the available options for a specific amount of time, select the “Time to display recovery options when needed” checkbox and then set a time delay in seconds.

  4. System Failure options control what happens when the system encounters a fatal system error (also known as a STOP error). The available options for the System Failure area are used as follows:

    Write an event to the system log

    Logs the error in the system log, which allows you to review the error later using the Event Viewer.

    Automatically restart

    Check this option to have the system attempt to reboot when a fatal system error occurs.

    Write debugging information

    Choose the type of debugging information to write to a dump file if a fatal error occurs. You can then use the dump file to diagnose system failures.

    Dump file

    Sets the location for the dump file. The default dump locations are %SystemRoot%\Minidump for small memory dumps and %SystemRoot%\MEMORY.DMP for all other memory dumps.

    Overwrite any existing file

    Ensures that any existing dump files are overwritten if a new STOP error occurs.

  5. Click OK to save your settings.

Other  
  •  Windows Server 2008 : DHCP/WINS/Domain Controllers - Exploring DHCP Changes in Windows Server 2008 R2
  •  Windows Server 2008 : DHCP/WINS/Domain Controllers - Exploring the Dynamic Host Configuration Protocol (DHCP)
  •  Windows Server 2008 : DHCP/WINS/Domain Controllers - Understanding the Key Components of an Enterprise Network
  •  Windows Azure : Messaging with the queue - Working with basic queue operations
  •  Windows Azure : Messaging with the queue - Decoupling your system with messaging
  •  Windows 7 : Using Compression and Encryption (part 3) - Encrypting Files and Folders
  •  Windows 7 : Using Compression and Encryption (part 2) - Compressing Files and Folders
  •  Windows 7 : Using Compression and Encryption (part 1) - Compressing Drives
  •  Windows 7 : Maintaining and Recovering Volumes
  •  Windows Server 2008 : Domain Name System and IPv6 - Secure DNS with DNSSEC
  •  
    Top 10
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
    - Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
    - Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    programming4us programming4us
    programming4us
     
     
    programming4us