Classic Shell http://classicshell.net/forum/ |
|
Clarify "Command Prompt (Admin)" action http://classicshell.net/forum/viewtopic.php?f=7&t=3234 |
Page 1 of 1 |
Author: | MarkStega [ Mon Oct 06, 2014 4:01 pm ] |
Post subject: | Clarify "Command Prompt (Admin)" action |
If I use the Win key-X to get a context menu and choose "Command prompt" I can see the same network shares that I see out of the GUI interface. However, if I choose "Command prompt (Admin)" I do not see the network shares. "WhoAmI" reports the same username in both cases. So what does "Command prompt (Admin)" really do? I apparently mistakenly assumed that simply ran cmd.exe with admin privs. |
Author: | Ivo [ Tue Oct 07, 2014 8:16 am ] |
Post subject: | Re: Clarify "Command Prompt (Admin)" action |
As far as I know, it indeed runs cmd.exe as admin. I don't know why you don't see your network shares (and what do you mean by "see"?). Try running an admin prompt differently, to see if this is a problem with Win+X menu. BTW, that menu is not part of Classic Shell. |
Author: | MarkStega [ Tue Oct 07, 2014 4:52 pm ] |
Post subject: | Re: Clarify "Command Prompt (Admin)" action |
By "see" I meant seeing it in the out put of a "net use" run at the command prompt. If I run cmd.exe as administrator I have the same issue of no visible shares. If I run cmd.exe or pick "Command prompt" from the Win-X menu I see the shares. I guess that this means running cmd.exe as administrator is somehow changing the user context in an unexpected fashion. It is odd that the WhoAmI command shows the same user in both cases. As the Win-X menu isn't part of classic shell I need to look elsewhere for answers. Thanks, -m- |
Author: | Gaurav [ Mon Apr 13, 2015 6:38 am ] |
Post subject: | Re: Clarify "Command Prompt (Admin)" action |
Beginning with Windows Vista, elevated (admin) programs do not have access to mapped network drives. Try doing this tweak: http://winaero.com/blog/enable-the-acce ... nistrator/ and then your admin-level command prompt might show shares when you do 'net use'. |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |