Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 42,091 of 42,547    |
|    Paul to All    |
|    Re: DISKPART is now a administrator call    |
|    11 Nov 22 21:10:12    |
      XPost: alt.comp.os.windows-11       From: nospam@needed.invalid              On 11/11/2022 8:46 PM, T wrote:       > Hi All,       >       > Okay, under Windows 7, DISKPART could be run as a user.       > Under W11, it need to be under an Administrator.       > AAAAHHHHH!!!!       >       > Is there a way to call diskpart that will elevate       > it to administrator so I can call it from a user?       > And No UAC? And no Administrator password prompt?       >       > I am after "list Vol". Is there another way to       > get this information?       >       > Many thanks,       > -T              An alternate is               wmic volume > volume_list.txt        notepad volume_list.txt # Slide bottom scrollbar sideways to       review table              Seems to work unelevated.              On Windows XP, that kind of query would "kick off" some       activity on the machine. You pay a price for that sort of       query on an old OS. Like, once the subsystem got started,       it would never stop.               Paul              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca