The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @RU_Letteren: Ondanks dat gebarentaal al in veel landen als officiële taal erkend wordt, is dit in Nederland nog niet het geval. Verschi… 49 minutes ago
    • RT @SwiftOnSecurity: If case-sensitive file systems are so good, why isn’t DNS case-sensitive? Hmm. 1 hour ago
    • RT @Walrathis: Veel food voor thought dit weekend👍🏻 1 hour ago
    • RT @ProperlyZuri: One of my favorite things at Reason is our continued coverage of “Florida’s Worst Cop.” Sgt. German Bosque—arrested 3 tim… 4 hours ago
    • RT @mljmljmlj: 1/ One of the most important libraries in the world is being called a pirate site & being sued for bankruptcy. I'm shocked… 4 hours ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,929 other followers

Archive for October 14th, 2013

Windows Vista/7/8 and up: setting the user environment variables as regular user (non-administrator)

Posted by jpluimers on 2013/10/14

As a non-administrator, as of Windows Vista, you are not allowed to change the environment variables the regular way.

Various people have quoted the official Microsoft way of changing the environment variables as a regular user on Windows Vista and up (including Windows 7, Windows 8 and Windows Server 2008 and up).

It means going through the account settings doing half a dozen steps or so.

Quickest way however is to put this in a batch file to set/edit those environment variables like PATH:

"C:\Windows\System32\rundll32.exe" sysdm.cpl,EditEnvironmentVariables

Whereas for the full sysdm.cpl you need Administrator privileges, you don’t for this specific rundll32 call.

The cool thing is that Windows will automatically merge the user and system environment PATH in this format:



via: How can I set user environmental variables such as PATH from a non-administrator account on Windows 7 – Super User.

Posted in Power User, Windows, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Vista | Leave a Comment »

%d bloggers like this: