Software & OS

System Properties Advanced Tab Explained (Windows 10 and 11)

System Properties Advanced is the fourth tab of the classic System Properties window, and you open it by pressing Win+R, typing sysdm.cpl and clicking Advanced. It holds the buttons for the paging file (under Performance), crash-dump behaviour (under Startup and Recovery) and Environment Variables.

sysdm.cpl

How to open System Properties Advanced

The quickest route on any current version of Windows is the run command above. Press Win+R, type sysdm.cpl, press Enter, and click the Advanced tab. Typing sysdm.cpl into Start search works the same way, and it is the method Microsoft's archived TechNet walkthrough for customizing virtual memory uses.

If you prefer menus, Microsoft's Win32 documentation describes the older route: open System in Control Panel, choose Advanced system settings, then use the buttons on the Advanced tab. In Windows 11 the same Advanced system settings link sits under Settings > System > About, in the related links. Newer Windows 11 releases also have a separate System > Advanced page in Settings, but it is a different screen with different options, so use sysdm.cpl when you want the tab described here.

What is on the Advanced tab

The tab is a set of buttons that each open a further dialog. This article covers the three that matter most when troubleshooting a PC, all of which are backed by Microsoft documentation:

SectionButtonWhat it controls
PerformanceSettingsOpens Performance Options, whose own Advanced tab holds the virtual memory (paging file) settings
Startup and RecoverySettingsWhat Windows does after a Stop error (blue screen), including the type of memory dump it writes
(bottom of the tab)Environment VariablesUser and system environment variables such as PATH

There is also a User Profiles button, which this article does not cover.

Performance settings and virtual memory

Microsoft states that the location and size of the page file is configured in System Properties: click Advanced, click Performance and then the Settings button. In the Performance Options window that opens, go to its Advanced tab, and under Virtual memory click Change.

The paging file (pagefile.sys) exists because physical memory is limited. When the memory used by all running processes exceeds the available RAM, Windows moves 4 KB pages out to the disk to free RAM for other uses. These paged-out pages are stored in Pagefile.sys files in the root of a partition, at most one per partition.

In the Virtual Memory dialog, the steps from Microsoft's archived Windows 10 walkthrough are:

  1. Clear Automatically manage paging file size for all drives.
  2. Select a drive and choose Custom size.
  3. Enter an Initial size (MB) and a Maximum size (MB).
  4. Click Set, then OK, and restart.

That walkthrough suggests an initial size equal to your RAM and a maximum of double your RAM, so 4 GB of RAM gives roughly 4,000 MB and 8,000 MB. Microsoft's pagefile article gives a different rule of thumb: 1.5 times the installed RAM is a good starting point when you have no other information, and a large pagefile does no harm if disk space is plentiful. Both are starting points, not requirements. The same article says the right size depends on installed RAM and the workload, so there is no single answer.

For most people the best choice is to leave automatic management on. Change it only if you have a specific reason, such as a crash-dump requirement (see below) or a drive that is nearly full. To see how much memory your PC is actually using before you touch anything, read System Memory Check on Windows: How Much RAM You Use and Have.

Startup and Recovery settings

The Settings button under Startup and Recovery controls what Windows does when it stops unexpectedly with a Stop error. Microsoft lists four types of memory dump Windows can generate:

  • Complete memory dump: records all the contents of system memory. It needs a paging file on a local volume large enough to hold all physical RAM plus 257 MB.
  • Kernel memory dump: records only kernel memory, which Microsoft describes as the most useful type for most purposes. It leaves out unallocated memory and memory used by user-mode programs.
  • Small memory dump (64 KB): the smallest useful record, with the Stop message, loaded drivers and the call stack of the thread that stopped. It needs a paging file of at least 2 MB on the boot volume, and the files go in %SystemRoot%\Minidump.
  • Active memory dump: a separate type with its own Microsoft documentation page.

The dialog also lets you choose None, and Microsoft's registry list includes an Automatic memory dump value. Behind the dialog, these settings live under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl. The value CrashDumpEnabled holds the type: 0x0 none, 0x1 complete, 0x2 kernel, 0x3 small, 0x7 automatic. Other values there include DumpFile (default %SystemRoot%\Memory.dmp), MinidumpDir, Overwrite and AutoReboot.

Microsoft's page notes that you must restart Windows for changes to take effect. The paging file and the dump type are linked: if you shrink the paging file below what your chosen dump type needs, Windows cannot write a full dump. Keep that in mind before setting a custom paging file size.

Environment Variables

The Environment Variables button opens a window with two lists. Microsoft's documentation defines the two kinds: user environment variables are set for each user, and system environment variables are set for everyone. A child process inherits the variables of its parent by default, which is why a program started from a terminal sees that terminal's variables.

Typical uses are adding a folder to PATH so a command-line tool runs from any directory, or setting a variable such as a project's home folder. Add a user variable if only your account needs it. Add a system variable, which needs administrator rights, if every account does.

New variables reach only programs that start afterwards. A terminal or editor that was already open keeps the copy it received at launch, so close and reopen it.

Setting a variable from the command line with setx

You can do the same job without the dialog. Microsoft calls setx the only command-line way to directly and permanently set system environment values:

setx MY_PROJECT_HOME "C:\work\project"
setx MY_PROJECT_HOME "C:\work\project" /m

The first line sets a user variable. The second, with /m, sets it in the system environment. Both write to the registry, and the variable is available in future command windows only, not in the one where you ran the command. The set command, in contrast, only changes the current console window.

Be careful with PATH. Microsoft's setx page warns of a limit of 1024 characters when assigning a value, and says the content is cropped beyond that, which can destroy data held by an existing variable. It also says running setx on an existing variable replaces variable references with their expanded values. For editing PATH, the Environment Variables dialog is the safer tool.

If a setting will not apply

  • The OK button does nothing, or options are greyed out. You are probably signed in as a standard user. Sign in with an administrator account, or approve the prompt when it appears.
  • A new variable is not found. Open a fresh terminal. If it is still missing, check that you added it to the right list: a user variable is invisible to other accounts.
  • A crash dump is not written. Check that the paging file is large enough for the chosen dump type and sits on the right volume, then restart.

Frequently asked questions

How do I open System Properties Advanced directly?
Press Win+R, type sysdm.cpl and press Enter. The System Properties window opens, and you click the Advanced tab. You can also type sysdm.cpl into Start search and press Enter.
Do I need administrator rights to change the Advanced tab?
For most of it, yes. Changing the paging file, the Startup and Recovery options and system-wide environment variables changes the whole computer, so Windows asks for an administrator account. User environment variables only affect your own account.
Do I have to restart after changing these settings?
It depends on the setting. Microsoft's documentation says Startup and Recovery changes need a restart, and the archived paging-file walkthrough ends with a reboot. New environment variables are picked up by programs started afterwards, so reopen the program or terminal.
Why does my new environment variable not show up in an open terminal?
Every process receives a copy of the environment when it starts. A terminal that was already open keeps the old copy. Close it and open a new one, and the variable appears. The same applies to setx, which only affects future command windows.

Sources