---
title: "refresh windows variables without reboot"
author: "shellfish"
date: "2013-04-10T09:34:11Z"
tags: []
categories: ["操作系统"]
slug: "refresh-windows-variables-without-reboot"
draft: false
lastmod: "2013-04-10T09:34:11Z"
id: 1844869
url: "https://shellfish.iteye.com/blog/1844869"
---

In Windows2003  
    1, In a command prompt type: runas /user:yourusername@yourdomain cmd  
    2, It will open up a new cmd prompt and type: taskkill /f /im explorer.exe  
    3, Then type: c:\\WINDOWS\\explorer.exe  
     
refers:  

http://serverfault.com/questions/8855/how-do-you-add-a-windows-environment-variable-without-rebooting  
    http://stackoverflow.com/questions/171588/is-there-a-command-to-refresh-environment-variables-from-the-command-prompt-in-w