A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

cached credentials for mapped drives and elevation



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 25th 07, 06:51 PM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Pete Delgado
external usenet poster
 
Posts: 26
Default cached credentials for mapped drives and elevation

I have two computers, one running Windows Vista Ultimate and the other
running Windows Vista Enterprise. The first machine is configured on our
network but is set up within a workgroup. The second machine is configured
on our network as a member of our domain. Both machines have UAC turned on.

When I map network drives to the machines everything works normally.
However, when I run a program that requires elevation via a manifest, the
network drive mappings "disappear" in the login session that is created for
the elevated process on the Vista Enterprise machine. This results in the
elevated process not being able to "see" the same environment as the user
login session when an elevated process is run on Vista Enterprise.

Is there a difference in the default group policy that would affect the
caching of network credentials in Vista Enterprise? I recall that Windows
XP Media Center had network credential cache turned off by default so I
wondered if what I am seeing is something similar.

TIA

-Pete


  #2 (permalink)  
Old July 26th 07, 12:10 AM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Kerry Brown
external usenet poster
 
Posts: 2,887
Default cached credentials for mapped drives and elevation

Is the account a member of the local administrators group on the Vista
Enterprise computer? If you have to enter a username and password the
elevated process runs in the context of the account that you authenticate
for the elevated process.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"Pete Delgado" wrote in message
...
I have two computers, one running Windows Vista Ultimate and the other
running Windows Vista Enterprise. The first machine is configured on our
network but is set up within a workgroup. The second machine is configured
on our network as a member of our domain. Both machines have UAC turned on.

When I map network drives to the machines everything works normally.
However, when I run a program that requires elevation via a manifest, the
network drive mappings "disappear" in the login session that is created
for the elevated process on the Vista Enterprise machine. This results in
the elevated process not being able to "see" the same environment as the
user login session when an elevated process is run on Vista Enterprise.

Is there a difference in the default group policy that would affect the
caching of network credentials in Vista Enterprise? I recall that Windows
XP Media Center had network credential cache turned off by default so I
wondered if what I am seeing is something similar.

TIA

-Pete


  #3 (permalink)  
Old July 26th 07, 04:37 PM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Pete Delgado
external usenet poster
 
Posts: 26
Default cached credentials for mapped drives and elevation


"Kerry Brown" *a*m wrote in message
...
Is the account a member of the local administrators group on the Vista
Enterprise computer? If you have to enter a username and password the
elevated process runs in the context of the account that you authenticate
for the elevated process.


Kerry,
I am testing using two accounts on both machines. One is a member of the
local administrators group and the second is a standard user with the
addition of the privilege "Impersonate user after authentication" on the
local machine. Neither account is able to "see" the shares within the
elevated process.

When I elevate using the account that belongs to the local administrators
group I get the normal over the shoulder (OTS) elevation prompt. When I
elevate using the standard user account, I am prompted with the dialog that
allows me to either enter the account password or select another account.

Please note that the manifest states that the "highestAvailable" credentials
are required. I do not specify "requireAdministrator".

-Pete




"Pete Delgado" wrote in message
...
I have two computers, one running Windows Vista Ultimate and the other
running Windows Vista Enterprise. The first machine is configured on our
network but is set up within a workgroup. The second machine is
configured on our network as a member of our domain. Both machines have
UAC turned on.

When I map network drives to the machines everything works normally.
However, when I run a program that requires elevation via a manifest, the
network drive mappings "disappear" in the login session that is created
for the elevated process on the Vista Enterprise machine. This results in
the elevated process not being able to "see" the same environment as the
user login session when an elevated process is run on Vista Enterprise.

Is there a difference in the default group policy that would affect the
caching of network credentials in Vista Enterprise? I recall that
Windows XP Media Center had network credential cache turned off by
default so I wondered if what I am seeing is something similar.

TIA

-Pete




  #4 (permalink)  
Old July 28th 07, 12:00 AM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Kerry Brown
external usenet poster
 
Posts: 2,887
Default cached credentials for mapped drives and elevation

I suspect the answer is in your first paragraph. One computer is joined to
the domain, one isn't.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"Pete Delgado" wrote in message
...

"Kerry Brown" *a*m wrote in message
...
Is the account a member of the local administrators group on the Vista
Enterprise computer? If you have to enter a username and password the
elevated process runs in the context of the account that you authenticate
for the elevated process.


Kerry,
I am testing using two accounts on both machines. One is a member of the
local administrators group and the second is a standard user with the
addition of the privilege "Impersonate user after authentication" on the
local machine. Neither account is able to "see" the shares within the
elevated process.

When I elevate using the account that belongs to the local administrators
group I get the normal over the shoulder (OTS) elevation prompt. When I
elevate using the standard user account, I am prompted with the dialog
that allows me to either enter the account password or select another
account.

Please note that the manifest states that the "highestAvailable"
credentials are required. I do not specify "requireAdministrator".

-Pete




"Pete Delgado" wrote in message
...
I have two computers, one running Windows Vista Ultimate and the other
running Windows Vista Enterprise. The first machine is configured on our
network but is set up within a workgroup. The second machine is
configured on our network as a member of our domain. Both machines have
UAC turned on.

When I map network drives to the machines everything works normally.
However, when I run a program that requires elevation via a manifest,
the network drive mappings "disappear" in the login session that is
created for the elevated process on the Vista Enterprise machine. This
results in the elevated process not being able to "see" the same
environment as the user login session when an elevated process is run on
Vista Enterprise.

Is there a difference in the default group policy that would affect the
caching of network credentials in Vista Enterprise? I recall that
Windows XP Media Center had network credential cache turned off by
default so I wondered if what I am seeing is something similar.

TIA

-Pete





  #5 (permalink)  
Old August 2nd 07, 02:43 PM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Pete Delgado
external usenet poster
 
Posts: 26
Default cached credentials for mapped drives and elevation


"Kerry Brown" *a*m wrote in message
...
I suspect the answer is in your first paragraph. One computer is joined to
the domain, one isn't.


I set up another test machine in a workgroup running Vista Enterprise. Same
behavior as the one connected to the domain.

-Pete


  #6 (permalink)  
Old August 3rd 07, 03:12 AM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Kerry Brown
external usenet poster
 
Posts: 2,887
Default cached credentials for mapped drives and elevation

I don't have a copy of Vista Enterprise to test with. I have heard that the
UAC defaults are different in Enterprise. I don't know if this is true or
just a rumour. Try comparing the settings for UAC. Gpedit.msc = Computer
Configuration = Windows Settings = Security Settings = Local Policies =
Security Options.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"Pete Delgado" wrote in message
...

"Kerry Brown" *a*m wrote in message
...
I suspect the answer is in your first paragraph. One computer is joined to
the domain, one isn't.


I set up another test machine in a workgroup running Vista Enterprise.
Same behavior as the one connected to the domain.

-Pete


  #7 (permalink)  
Old August 3rd 07, 03:45 PM posted to microsoft.public.windows.vista.administration_accounts_passwords,microsoft.public.windows.vista.networking_sharing,microsoft.public.windows.vista.security
Pete Delgado
external usenet poster
 
Posts: 26
Default cached credentials for mapped drives and elevation


"Kerry Brown" *a*m wrote in message
...
I don't have a copy of Vista Enterprise to test with. I have heard that the
UAC defaults are different in Enterprise. I don't know if this is true or
just a rumour. Try comparing the settings for UAC. Gpedit.msc = Computer
Configuration = Windows Settings = Security Settings = Local Policies =
Security Options.


Kerry,
I had already look at the local system policy to see if there were
differences. Unfortunately, I couldn't find any/ I am not reinstalling all
of the versions of the Vista OS using Virtual PC in order to see if I can
duplicate the behaviour on a clean OS.

-Pete


 




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

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



All times are GMT. The time now is 04:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.