Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > Set user-environmentvars as restricted User

Reply
Thread Tools Display Modes

Set user-environmentvars as restricted User

 
 
Th0u
Guest
Posts: n/a

 
      11-18-2007
Hello,
on XP i could setup user-specific environment-variables while being logged
on as a restricted user via Shortcut WIN+Pause and then go to environment.
The applet shows in the upper part of the gui the environment for the current
user and in the lower part the system-environment. As restricted user i can
edit the user-env, but not the system-env which is as expected.

On Vista, i did not find a way to the same dialog as a restricted user. If i
press Win+Pause and select "Advanced systemproperties" (dunno if this is the
correct name in Vista-EN) i am prompted for admin-credentials. If i enter
them the gui for setting up environmentvars is opened, but it show in the
upper pane the environment for the admin and in the lower pane the system-env.

So atm i can only edit the user-env via registry.



 
Reply With Quote
 
 
 
 
Jimmy Brush
Guest
Posts: n/a

 
      11-18-2007
Hello,

This is a defect in Windows Vista.

As a workaround, you can use the setx command line tool, which you can run
from a non-elevated command prompt to set the user enviornment variables.

setx var value


--
- JB
Microsoft MVP Windows Shell/User


"Th0u" <> wrote in message
news:C1EDE3F6-88C5-4886-85C3-...
> Hello,
> on XP i could setup user-specific environment-variables while being logged
> on as a restricted user via Shortcut WIN+Pause and then go to environment.
> The applet shows in the upper part of the gui the environment for the
> current
> user and in the lower part the system-environment. As restricted user i
> can
> edit the user-env, but not the system-env which is as expected.
>
> On Vista, i did not find a way to the same dialog as a restricted user. If
> i
> press Win+Pause and select "Advanced systemproperties" (dunno if this is
> the
> correct name in Vista-EN) i am prompted for admin-credentials. If i enter
> them the gui for setting up environmentvars is opened, but it show in the
> upper pane the environment for the admin and in the lower pane the
> system-env.
>
> So atm i can only edit the user-env via registry.
>
>
>


 
Reply With Quote
 
Th0u
Guest
Posts: n/a

 
      11-18-2007
>
> This is a defect in Windows Vista.
>
> As a workaround, you can use the setx command line tool, which you can run
> from a non-elevated command prompt to set the user enviornment variables.
>
> setx var value

Hello Jimmy,

thanx for your information.
Setx is a good hint. :-)

Thanx.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control the Maximum allowed User Sessions in Fast User Switching lmlm Windows Vista General Discussion 1 03-19-2008 12:19 PM
Vista backup with restricted user rights Flintstone Windows Vista General Discussion 0 01-18-2008 10:31 AM
trouble installing - Restricted User mo Windows Vista Administration 1 10-08-2007 02:21 PM
Trouble Installing - Restricted User?? But I am the Admin.. mo Windows Vista Installation 1 10-08-2007 09:20 AM
User Profile Bad if this user is not first user logged onto Vista Tom Windows Vista Administration 1 05-14-2007 02:11 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59