Windows 7: How To Set Environment Variable without Admin Access

Ok, so you working on Computer where you dont have Admin access. Also you want to set some Environment Variables (PATH, CLASSPATH etc). In Windows XP, you can set environment variables for your user although you dont have admin access. But in Windows 7 if you try to do so, it asks for administrator password. Damn.. So how to set Environment Variables in a Windows 7 machine for non-administrative users?

Well, follow below simple steps and you can easily do this.

Step 1. Open Start Menu, type string Accounts in Search programs and files textbox.

You should see User Accounts in Start Menu as seen in above screenshot. Select User Accounts.

Step 2. This should open User Account panel where you can tweak user level settings. See below screenshot.

Notice a link on left sidebar: Change my environment variables. Voila!! You got it.

Click this link “Change my environment variables”. It should open standard Environment Variable dialog box where you can set user level Env variables although you don’t have administrator access on Windows 7.

Hope this is useful.

View Comments

Share
Published by
Viral Patel
Tags: tips & tricks windows windows xp

Recent Posts

  • Java

Java URL Encoder/Decoder Example

Java URL Encoder/Decoder Example - In this tutorial we will see how to URL encode/decode…

4 years ago
  • General

How to Show Multiple Examples in OpenAPI Spec

Show Multiple Examples in OpenAPI - OpenAPI (aka Swagger) Specifications has become a defecto standard…

4 years ago
  • General

How to Run Local WordPress using Docker

Local WordPress using Docker - Running a local WordPress development environment is crucial for testing…

4 years ago
  • Java

Create and Validate JWT Token in Java using JJWT

1. JWT Token Overview JSON Web Token (JWT) is an open standard defines a compact…

4 years ago
  • Spring Boot

Spring Boot GraphQL Subscription Realtime API

GraphQL Subscription provides a great way of building real-time API. In this tutorial we will…

4 years ago
  • Spring Boot

Spring Boot DynamoDB Integration Test using Testcontainers

1. Overview Spring Boot Webflux DynamoDB Integration tests - In this tutorial we will see…

4 years ago