Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Real Users never know what they want, but they always know when your program doesn't deliver it.


devel / alt.msdos.batch / Re: DISKPART is now a administrator call????

SubjectAuthor
* DISKPART is now a administrator call????T
+* Re: DISKPART is now a administrator call????Paul
|`- Re: DISKPART is now a administrator call????T
+* Re: DISKPART is now a administrator call????Ralph Fox
|+* Re: DISKPART is now a administrator call????T
||`* Re: DISKPART is now a administrator call????Paul
|| `* Re: DISKPART is now a administrator call????T
||  `* Re: DISKPART is now a administrator call????Paul
||   `- Re: DISKPART is now a administrator call????T
|`* Re: DISKPART is now a administrator call????Zaidy036
| `* Re: DISKPART is now a administrator call????T
|  `* Re: DISKPART is now a administrator call????Zaidy036
|   `* Re: DISKPART is now a administrator call????T
|    `* Re: DISKPART is now a administrator call????Zaidy036
|     `* Re: DISKPART is now a administrator call????T
|      `* Re: DISKPART is now a administrator call????Zaidy036
|       `- Re: DISKPART is now a administrator call????T
`* Re: DISKPART is now a administrator call????Robert Roland
 `* Re: DISKPART is now a administrator call????T
  `* Re: DISKPART is now a administrator call????Andy Burns
   `* Re: DISKPART is now a administrator call????Andy Burns
    `* Re: DISKPART is now a administrator call????T
     `- Re: DISKPART is now a administrator call????Andy Burns

1
DISKPART is now a administrator call????

<tkmtsq$106bc$2@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=274&group=alt.msdos.batch#274

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: DISKPART is now a administrator call????
Date: Fri, 11 Nov 2022 17:46:01 -0800
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tkmtsq$106bc$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Nov 2022 01:46:02 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e4a96b0f517a3fa6d2eb2db7ff66bb97";
logging-data="1055084"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18G3XabXPQesqnv0et0j8Spc1PktHhIZT8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:Bkm/8JABkp5KQL7rvZYh+kIlzqY=
Content-Language: en-US
 by: T - Sat, 12 Nov 2022 01:46 UTC

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

Re: DISKPART is now a administrator call????

<tkmva5$10a2l$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=275&group=alt.msdos.batch#275

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Fri, 11 Nov 2022 21:10:12 -0500
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tkmva5$10a2l$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 12 Nov 2022 02:10:13 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="cc7c6eb5cf415ccce08d4aa84e261312";
logging-data="1058901"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eQzSGEKIFTwpdFSNjxWI8N4Pi2nmGgoY="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:/9/4z8hXKVwZLQ05RvFzEPdEg+g=
Content-Language: en-US
In-Reply-To: <tkmtsq$106bc$2@dont-email.me>
 by: Paul - Sat, 12 Nov 2022 02:10 UTC

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

Re: DISKPART is now a administrator call????

<tkn0cb$10cn6$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=276&group=alt.msdos.batch#276

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Fri, 11 Nov 2022 18:28:27 -0800
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <tkn0cb$10cn6$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me> <tkmva5$10a2l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Sat, 12 Nov 2022 02:28:27 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e4a96b0f517a3fa6d2eb2db7ff66bb97";
logging-data="1061606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OXNJI84elaCiiEDVfupJ5PnTSjRd++VY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:sb1etuG2xh6vvo0dSm0RTfgQ6r0=
In-Reply-To: <tkmva5$10a2l$1@dont-email.me>
Content-Language: en-US
 by: T - Sat, 12 Nov 2022 02:28 UTC

On 11/11/22 18:10, Paul wrote:
>  wmic volume
wmic volume | grep -i C:
TRUE 4096 TRUE 999561359360
C:\ FALSE

\\?\Volume{827c1456-5668-47b1-885a-e4befd7d4e91}\ C:
3 NTFS
717516595200 TRUE
255 C:\
TRUE

642282277 TRUE
TRUE FALSE
Not finding mirrored or status okay

Re: DISKPART is now a administrator call????

<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=277&group=alt.msdos.batch#277

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
From: -rf-...@-.invalid (Ralph Fox)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Message-ID: <os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com>
References: <tkmtsq$106bc$2@dont-email.me>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Face: 5gSW~"1=jGDo(BXfTrgL2BnC3tUB_\d0u@mP~wA1fvK`z8I[>1jXVVZ!N6ittQ.K<5!i3l> ==jcyAk.[B>kLg8TY{+8%edZ(le:ncPt%s8Pr?]QXNXO]0RC#V_zt|%>=bt>rZ2iCI^-yl7Be(]Ep> OfyI!3Bf|e
Lines: 20
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 12 Nov 2022 15:40:23 +1300
X-Received-Bytes: 1337
 by: Ralph Fox - Sat, 12 Nov 2022 02:40 UTC

On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:

> Okay, under Windows 7, DISKPART could be run as a user.

Not here.
Under Windows 7, when I try to run DISKPART I get a UAC prompt.
screen-shot: <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>

> Under W11, it need to be under an Administrator.

Same as under Windows 7 for me.

--
Kind regards
Ralph Fox

🪟️𝟟🛂️ ≍ 🪟️𝟙𝟙🛂️

Re: DISKPART is now a administrator call????

<tkn4to$13j81$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=278&group=alt.msdos.batch#278

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Fri, 11 Nov 2022 19:46:00 -0800
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tkn4to$13j81$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Nov 2022 03:46:01 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e4a96b0f517a3fa6d2eb2db7ff66bb97";
logging-data="1166593"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/k8A+U4RgJYbl2BTdM2gu8b1WtWX668Xw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:J2rvi4BU0lDQHJrJ52FXr7hxJ1g=
Content-Language: en-US
In-Reply-To: <os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com>
 by: T - Sat, 12 Nov 2022 03:46 UTC

On 11/11/22 18:40, Ralph Fox wrote:
> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>
>> Okay, under Windows 7, DISKPART could be run as a user.
>
> Not here.
> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
> screen-shot: <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>
>
>> Under W11, it need to be under an Administrator.
>
> Same as under Windows 7 for me.

Me too. I did not realize my cmd shells all
opened as administrators in W7

Any way around needing to be administrator? A
different command to get me the same thing?

Re: DISKPART is now a administrator call????

<tkn6ja$13nsv$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=279&group=alt.msdos.batch#279

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Fri, 11 Nov 2022 23:14:33 -0500
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <tkn6ja$13nsv$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkn4to$13j81$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 12 Nov 2022 04:14:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="cc7c6eb5cf415ccce08d4aa84e261312";
logging-data="1171359"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wYJU7KpT3XTvrIj6IQOdZBT9EYk83C/8="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:YEbALkdmZ0Tk/QsJyT78q3fyrbc=
Content-Language: en-US
In-Reply-To: <tkn4to$13j81$1@dont-email.me>
 by: Paul - Sat, 12 Nov 2022 04:14 UTC

On 11/11/2022 10:46 PM, T wrote:
> On 11/11/22 18:40, Ralph Fox wrote:
>> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>>
>>> Okay, under Windows 7, DISKPART could be run as a user.
>>
>> Not here.
>> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
>>      screen-shot:  <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>>
>>
>>> Under W11, it need to be under an Administrator.
>>
>> Same as under Windows 7 for me.
>
> Me too.  I did not realize my cmd shells all
> opened as administrators in W7
>
> Any way around needing to be administrator?  A
> different command to get me the same thing?

If an elevated subsystem collects the data and
presents it to an unelevated user, that is one
way to do it (wmic).

If a probing method is "active" and the software
used reaches down to the physical layer (reads
raw sectors), well of course that needs administrator.

msinfo32.exe gives some info, but this may not
be entirely satisfactory.

Paul

Re: DISKPART is now a administrator call????

<tknbeh$142ol$3@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=280&group=alt.msdos.batch#280

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Fri, 11 Nov 2022 21:37:20 -0800
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <tknbeh$142ol$3@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkn4to$13j81$1@dont-email.me>
<tkn6ja$13nsv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Sat, 12 Nov 2022 05:37:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e4a96b0f517a3fa6d2eb2db7ff66bb97";
logging-data="1182485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18d8/4vpq3JJAfn5Bqug+mhJ7s+TZhggD4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:HQyrddEoIi/jwcchoUtjxreuQtc=
Content-Language: en-US
In-Reply-To: <tkn6ja$13nsv$1@dont-email.me>
 by: T - Sat, 12 Nov 2022 05:37 UTC

On 11/11/22 20:14, Paul wrote:
> On 11/11/2022 10:46 PM, T wrote:
>> On 11/11/22 18:40, Ralph Fox wrote:
>>> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>>>
>>>> Okay, under Windows 7, DISKPART could be run as a user.
>>>
>>> Not here.
>>> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
>>>      screen-shot:
>>> <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>>>
>>>
>>>> Under W11, it need to be under an Administrator.
>>>
>>> Same as under Windows 7 for me.
>>
>> Me too.  I did not realize my cmd shells all
>> opened as administrators in W7
>>
>> Any way around needing to be administrator?  A
>> different command to get me the same thing?
>
> If an elevated subsystem collects the data and
> presents it to an unelevated user, that is one
> way to do it (wmic).
>
> If a probing method is "active" and the software
> used reaches down to the physical layer (reads
> raw sectors), well of course that needs administrator.
>
> msinfo32.exe gives some info, but this may not
> be entirely satisfactory.
>
>    Paul
>

Oh it is getting ugly. I can run my program
as Administrator, but look what happens
when I throw and `exit` or a `die` as
Administrator (user works fine):
Cowardly Exiting. Bummer Dude ...
Cannot resolve caller protect(Lock:U: Block:D); none of these signatures
matches:
(Lock:D: &code, *%_)
in method setup at C:\Program
Files\Rakudo\share\perl6\core\sources\A37F26876B58371B70EDD889AD69F064C90AC2C6
line 296
in method setup at C:\Program
Files\Rakudo\share\perl6\core\sources\A37F26876B58371B70EDD889AD69F064C90AC2C6
line 366
in sub raku-nativecall at C:\Program
Files\Rakudo\share\perl6\core\sources\A153F63283BF744FD66BF7212910E5F389384F6E
(NativeCall::Dispatcher) line 46
in sub MessageBox at Windows.RaidCheck.pl6 line 129
in sub GetRaidStatus at Windows.RaidCheck.pl6 line 115
in block <unit> at Windows.RaidCheck.pl6 line 142

Mumble, Mumble ....

Re: DISKPART is now a administrator call????

<tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=285&group=alt.msdos.batch#285

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: fak...@ddress.no (Robert Roland)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sat, 12 Nov 2022 12:42:36 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com>
References: <tkmtsq$106bc$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="4dba0b9ae17a86918105d26d041241ed";
logging-data="1232709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+f8Pd7MruaYzE+zZ3HlbQu"
Cancel-Lock: sha1:A/7U6FKc1BPMvSy7bwk7O4OpqNQ=
X-Newsreader: Forte Agent 4.2/32.1117
 by: Robert Roland - Sat, 12 Nov 2022 11:42 UTC

On Fri, 11 Nov 2022 17:46:01 -0800, T <T@invalid.invalid> wrote:

>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?

If there was a way, the whole point of permissions and UAC would be
negated. Any malware would be able to use that method to gain admin
rights.

>I am after "list Vol". Is there another way to
>get this information?

Take a look at PowerShell's Get-Volume. The output is not perfectly
identical, but it might still cover your needs. You can call
PowerShell cmdlets from a CMD command line (or batch file) like this:

powershell -nologo -executionpolicy bypass -command "get-volume"
--
RoRo

Re: DISKPART is now a administrator call????

<tko20v$15du2$4@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=286&group=alt.msdos.batch#286

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sat, 12 Nov 2022 04:02:38 -0800
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <tko20v$15du2$4@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Nov 2022 12:02:39 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e4a96b0f517a3fa6d2eb2db7ff66bb97";
logging-data="1226690"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Z8Wcl4L5A9x87djtepiyS9fHQC6pTqhU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:k/c8BToeH6ggRrMKONd3AE3NA7s=
In-Reply-To: <tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com>
Content-Language: en-US
 by: T - Sat, 12 Nov 2022 12:02 UTC

On 11/12/22 03:42, Robert Roland wrote:
> On Fri, 11 Nov 2022 17:46:01 -0800, T <T@invalid.invalid> wrote:
>
>> 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?
>
> If there was a way, the whole point of permissions and UAC would be
> negated. Any malware would be able to use that method to gain admin
> rights.
>
>> I am after "list Vol". Is there another way to
>> get this information?
>
> Take a look at PowerShell's Get-Volume. The output is not perfectly
> identical, but it might still cover your needs. You can call
> PowerShell cmdlets from a CMD command line (or batch file) like this:
>
> powershell -nologo -executionpolicy bypass -command "get-volume"

Half way there. I get healthy, but it
does not tell me mirrored

DISKPART>
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- ---------
--------
Volume 0 C NTFS Mirror 930 GB Healthy Boot
Volume 1 FAT32 Partition 100 MB Healthy
System
Volume 2 NTFS Partition 495 MB Healthy
Hidden
Volume 3 G DVD-ROM 0 B No Media
Volume 4 D LOCALBK NTFS Partition 3725 GB Healthy

DISKPART>
Leaving DiskPart...

Re: DISKPART is now a administrator call????

<tkohu1$16tno$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=288&group=alt.msdos.batch#288

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Zaidy...@air.isp.spam (Zaidy036)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sat, 12 Nov 2022 11:34:09 -0500
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tkohu1$16tno$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com>
Reply-To: Zaidy036@air.isp.spam
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Nov 2022 16:34:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f66f97da77c8a5ae2534c433af4f03db";
logging-data="1275640"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qTl6XX9hnDuqxQ5Dz0ZJdedtMUIN17FM="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Cancel-Lock: sha1:jrLHgejrEtY72LeEZWDhnLycCb8=
Content-Language: en-US
In-Reply-To: <os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com>
 by: Zaidy036 - Sat, 12 Nov 2022 16:34 UTC

On 11/11/2022 9:40 PM, Ralph Fox wrote:
> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>
>> Okay, under Windows 7, DISKPART could be run as a user.
>
> Not here.
> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
> screen-shot: <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>
>
>> Under W11, it need to be under an Administrator.
>
> Same as under Windows 7 for me.
>
>
>
would this help?
https://www.nirsoft.net/articles/run-as-different-user.html

Re: DISKPART is now a administrator call????

<tkonjg$17d2k$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=289&group=alt.msdos.batch#289

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sat, 12 Nov 2022 10:10:55 -0800
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <tkonjg$17d2k$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Sat, 12 Nov 2022 18:10:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e4a96b0f517a3fa6d2eb2db7ff66bb97";
logging-data="1291348"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oayYqSKukrxAvsVBTQk4s17DV1cO3JHk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:wfg2o3D47mwPcyEhWlfP/xnuxaQ=
Content-Language: en-US
In-Reply-To: <tkohu1$16tno$1@dont-email.me>
 by: T - Sat, 12 Nov 2022 18:10 UTC

On 11/12/22 08:34, Zaidy036 wrote:
> On 11/11/2022 9:40 PM, Ralph Fox wrote:
>> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>>
>>> Okay, under Windows 7, DISKPART could be run as a user.
>>
>> Not here.
>> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
>>      screen-shot:
>> <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>>
>>
>>> Under W11, it need to be under an Administrator.
>>
>> Same as under Windows 7 for me.
>>
>>
>>
> would this help?
> https://www.nirsoft.net/articles/run-as-different-user.html
Not in this instance. But I love the tool, so
I am downloading it! Nirsoft does some
sweet stuff!

Re: DISKPART is now a administrator call????

<tkpjvi$19jr5$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=291&group=alt.msdos.batch#291

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sat, 12 Nov 2022 21:15:13 -0500
Organization: A noiseless patient Spider
Lines: 85
Message-ID: <tkpjvi$19jr5$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkn4to$13j81$1@dont-email.me>
<tkn6ja$13nsv$1@dont-email.me> <tknbeh$142ol$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 13 Nov 2022 02:15:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="94f0e50ea273e7c8cb007c06af63d736";
logging-data="1363813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+nosMKwERqCiUtu4NWPPfxRI2KKC+1ass="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:zxNJ2yPWcGXeWKbl04GdMwEWZAA=
Content-Language: en-US
In-Reply-To: <tknbeh$142ol$3@dont-email.me>
X-Mozilla-News-Host: news://nntp.aioe.org
 by: Paul - Sun, 13 Nov 2022 02:15 UTC

On 11/12/2022 12:37 AM, T wrote:
> On 11/11/22 20:14, Paul wrote:
>> On 11/11/2022 10:46 PM, T wrote:
>>> On 11/11/22 18:40, Ralph Fox wrote:
>>>> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>>>>
>>>>> Okay, under Windows 7, DISKPART could be run as a user.
>>>>
>>>> Not here.
>>>> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
>>>>      screen-shot: <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>>>>
>>>>
>>>>> Under W11, it need to be under an Administrator.
>>>>
>>>> Same as under Windows 7 for me.
>>>
>>> Me too.  I did not realize my cmd shells all
>>> opened as administrators in W7
>>>
>>> Any way around needing to be administrator?  A
>>> different command to get me the same thing?
>>
>> If an elevated subsystem collects the data and
>> presents it to an unelevated user, that is one
>> way to do it (wmic).
>>
>> If a probing method is "active" and the software
>> used reaches down to the physical layer (reads
>> raw sectors), well of course that needs administrator.
>>
>> msinfo32.exe gives some info, but this may not
>> be entirely satisfactory.
>>
>>     Paul
>>
>
>
> Oh it is getting ugly.  I can run my program
> as Administrator, but look what happens
> when I throw and `exit` or a `die` as
> Administrator (user works fine):
>
> Cowardly Exiting.  Bummer Dude ...
> Cannot resolve caller protect(Lock:U: Block:D); none of these signatures matches:
>     (Lock:D: &code, *%_)
>   in method setup at C:\Program Files\Rakudo\share\perl6\core\sources\A37F26876B58371B70EDD889AD69F064C90AC2C6 line 296
>   in method setup at C:\Program Files\Rakudo\share\perl6\core\sources\A37F26876B58371B70EDD889AD69F064C90AC2C6 line 366
>   in sub raku-nativecall at C:\Program Files\Rakudo\share\perl6\core\sources\A153F63283BF744FD66BF7212910E5F389384F6E (NativeCall::Dispatcher) line 46
>   in sub MessageBox at Windows.RaidCheck.pl6 line 129
>   in sub GetRaidStatus at Windows.RaidCheck.pl6 line 115
>   in block <unit> at Windows.RaidCheck.pl6 line 142
>
>
> Mumble, Mumble  ....

What I notice here, is Diskpart is the only utility that
has a decent Status field.

This is collected from Windows 11 VM, with a Dynamic Disk RAID 1 mirror.
I removed the second container from the RAID pair, and this is the output.
(The reason I used Dynamic Disk, is there is no fake RAID hardware in VBOX.)

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 Mirror 31 GB Failed <=== My 32GB RAID1 E: , one drive unplugged
Volume 1 D CD-ROM 0 B No Media
Volume 2 C NTFS Partition 63 GB Healthy Boot \
Volume 3 FAT32 Partition 100 MB Healthy System \___ GPT boot drive Win11
Volume 4 NTFS Partition 673 MB Healthy Hidden /

Whereas some of the WMIC output was, um, "not useful".

And I gotta say, that Rufus preparation tool is great.
Converted a W11 ISO to a fake USB stick in Virtualbox.
I didn't boot from the fake USB stick, but just
ran Setup.exe off it and did an Upgrade Install.
And "no tpm?", not a whisper. It all just installed.
The Upgrade Advisor thought it was OK. So there was
no need to go near VirtualBox 7 for this, the 6.1.40
did the job.

Paul

Re: DISKPART is now a administrator call????

<jtd1r9FfnubU1@mid.individual.net>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=292&group=alt.msdos.batch#292

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 20:19:53 +0000
Lines: 13
Message-ID: <jtd1r9FfnubU1@mid.individual.net>
References: <tkmtsq$106bc$2@dont-email.me>
<tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com> <tko20v$15du2$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net fifI95QBG4NjGboRDr5Raw4kydyfZsQQkVyMdPXPma/zh2og1D
Cancel-Lock: sha1:95mQr/khXlU+DgdYcfOPrSyvJsE=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-GB
In-Reply-To: <tko20v$15du2$4@dont-email.me>
 by: Andy Burns - Sun, 13 Nov 2022 20:19 UTC

T wrote:

> Robert Roland wrote:
>
>> Take a look at PowerShell's Get-Volume.
>
> Half way there.  I get healthy, but it
> does not tell me mirrored

What if you look at all properties with

get-volume | format-list -property *

Re: DISKPART is now a administrator call????

<jtd2qtFftb2U1@mid.individual.net>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=293&group=alt.msdos.batch#293

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 20:36:45 +0000
Lines: 19
Message-ID: <jtd2qtFftb2U1@mid.individual.net>
References: <tkmtsq$106bc$2@dont-email.me>
<tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com> <tko20v$15du2$4@dont-email.me>
<jtd1r9FfnubU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net SBT8Esa3+e1Zm8hdilz0ug8WMps2McVS/Tt1T+nsA4eKorV4qO
Cancel-Lock: sha1:KsCgdDi/OGQzJLKTafaKQjq7UGA=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-GB
In-Reply-To: <jtd1r9FfnubU1@mid.individual.net>
 by: Andy Burns - Sun, 13 Nov 2022 20:36 UTC

Andy Burns wrote:

> T wrote:
>
>> Robert Roland wrote:
>>
>>> Take a look at PowerShell's Get-Volume.
>>
>> Half way there.  I get healthy, but it
>> does not tell me mirrored
>
> What if you look at all properties with
>
>     get-volume | format-list -property *

or get-resiliency

Re: DISKPART is now a administrator call????

<tkrorr$1hnfc$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=294&group=alt.msdos.batch#294

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Zaidy...@air.isp.spam (Zaidy036)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 16:50:51 -0500
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tkrorr$1hnfc$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
<tkonjg$17d2k$1@dont-email.me>
Reply-To: Zaidy036@air.isp.spam
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 13 Nov 2022 21:50:52 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="043ec3757eee58e7ef3d6cd0af0e4063";
logging-data="1629676"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+liIhQ8EhsMID7R7ohQn2C/NMaGAK/Kc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Cancel-Lock: sha1:6qN5Bbs6rbQfrIhjFBvsAeK2wZo=
In-Reply-To: <tkonjg$17d2k$1@dont-email.me>
Content-Language: en-US
 by: Zaidy036 - Sun, 13 Nov 2022 21:50 UTC

On 11/12/2022 1:10 PM, T wrote:
> On 11/12/22 08:34, Zaidy036 wrote:
>> On 11/11/2022 9:40 PM, Ralph Fox wrote:
>>> On Fri, 11 Nov 2022 17:46:01 -0800, T wrote:
>>>
>>>> Okay, under Windows 7, DISKPART could be run as a user.
>>>
>>> Not here.
>>> Under Windows 7, when I try to run DISKPART I get a UAC prompt.
>>>      screen-shot:
>>> <http://img4.imagetitan.com/img.php?image=25_tkmtsq_diskpart-on-windows-7-pops-a-uac-prompt.png>
>>>
>>>
>>>
>>>> Under W11, it need to be under an Administrator.
>>>
>>> Same as under Windows 7 for me.
>>>
>>>
>>>
>> would this help?
>> https://www.nirsoft.net/articles/run-as-different-user.html
>
> Not in this instance.  But I love the tool, so
> I am downloading it!  Nirsoft does some
> sweet stuff!

Then a batch to do the job and run it thru Task Sched as High Priority

Re: DISKPART is now a administrator call????

<tkrp8v$1hons$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=295&group=alt.msdos.batch#295

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 13:57:50 -0800
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <tkrp8v$1hons$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkn4to$13j81$1@dont-email.me>
<tkn6ja$13nsv$1@dont-email.me> <tknbeh$142ol$3@dont-email.me>
<tkpjvi$19jr5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Sun, 13 Nov 2022 21:57:51 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e90cc680ea5c0c2ba4d7b1904f72506d";
logging-data="1630972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oyAN0fm4XhpOmaypgnGnexZZfq3eyY5M="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:NZHUK/szQcHe/1P/N2M3NLM91Zw=
Content-Language: en-US
In-Reply-To: <tkpjvi$19jr5$1@dont-email.me>
 by: T - Sun, 13 Nov 2022 21:57 UTC

On 11/12/22 18:15, Paul wrote:
> On 11/12/2022 12:37 AM, T wrote:
>> Mumble, Mumble  ....
>
> What I notice here, is Diskpart is the only utility that
> has a decent Status field.
I am on the hunt toa find what api call
diskpart is making to the system to retrieve
this information.

Re: DISKPART is now a administrator call????

<tkrpdn$1hons$2@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=296&group=alt.msdos.batch#296

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 14:00:23 -0800
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <tkrpdn$1hons$2@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
<tkonjg$17d2k$1@dont-email.me> <tkrorr$1hnfc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Sun, 13 Nov 2022 22:00:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e90cc680ea5c0c2ba4d7b1904f72506d";
logging-data="1630972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sRzbJUvuLWWhWOieeeE+rqO4Z7EKS01g="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:EXdw1OP+huD6j+0FTUJembNg9qU=
In-Reply-To: <tkrorr$1hnfc$1@dont-email.me>
Content-Language: en-US
 by: T - Sun, 13 Nov 2022 22:00 UTC

On 11/13/22 13:50, Zaidy036 wrote:
>
> Then a batch to do the job and run it thru Task Sched as High Priority

I am on the hunt for what api call diskpart is
making to retrieve such information.

Re: DISKPART is now a administrator call????

<tkrtnj$1i4e9$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=297&group=alt.msdos.batch#297

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Zaidy...@air.isp.spam (Zaidy036)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 18:13:55 -0500
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tkrtnj$1i4e9$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
<tkonjg$17d2k$1@dont-email.me> <tkrorr$1hnfc$1@dont-email.me>
<tkrpdn$1hons$2@dont-email.me>
Reply-To: Zaidy036@air.isp.spam
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 13 Nov 2022 23:13:55 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9ce56b71a28b8b25fd3bc6518d4d070b";
logging-data="1642953"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1YjlJR9/BK/ArBmi/XgknMR40HdV4yC4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Cancel-Lock: sha1:fAOwyAeNo3ZhWY4boOde7s5H1EU=
Content-Language: en-US
In-Reply-To: <tkrpdn$1hons$2@dont-email.me>
 by: Zaidy036 - Sun, 13 Nov 2022 23:13 UTC

On 11/13/2022 5:00 PM, T wrote:
> On 11/13/22 13:50, Zaidy036 wrote:
>>
>> Then a batch to do the job and run it thru Task Sched as High Priority
>
>
> I am on the hunt for what api call diskpart is
> making to retrieve such information.

look at
<https://www.digitalcitizen.life/command-prompt-advanced-disk-management-commands/>

Re: DISKPART is now a administrator call????

<tks89k$1j1g9$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=298&group=alt.msdos.batch#298

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 18:14:12 -0800
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <tks89k$1j1g9$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com> <tko20v$15du2$4@dont-email.me>
<jtd1r9FfnubU1@mid.individual.net> <jtd2qtFftb2U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Mon, 14 Nov 2022 02:14:12 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="aaaac788e780a948057c47023bc28090";
logging-data="1672713"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NfZuvm8AydpNKSOsqJZKAMgK+vlJ7qGY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:/QkJT/L51w2KKWsuFAu0VIlx80M=
Content-Language: en-US
In-Reply-To: <jtd2qtFftb2U1@mid.individual.net>
 by: T - Mon, 14 Nov 2022 02:14 UTC

On 11/13/22 12:36, Andy Burns wrote:
> Andy Burns wrote:
>
>> T wrote:
>>
>>> Robert Roland wrote:
>>>
>>>> Take a look at PowerShell's Get-Volume.
>>>
>>> Half way there.  I get healthy, but it
>>> does not tell me mirrored
>>
>> What if you look at all properties with
>>
>>      get-volume | format-list -property *
>
> or get-resiliency
>
>
>

Does not tell me who is mirrored

Re: DISKPART is now a administrator call????

<tks8cr$1j1g9$2@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=299&group=alt.msdos.batch#299

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 18:15:55 -0800
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <tks8cr$1j1g9$2@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
<tkonjg$17d2k$1@dont-email.me> <tkrorr$1hnfc$1@dont-email.me>
<tkrpdn$1hons$2@dont-email.me> <tkrtnj$1i4e9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Mon, 14 Nov 2022 02:15:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="aaaac788e780a948057c47023bc28090";
logging-data="1672713"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/41Y42zDQl0WqR1A3dWPQkCNi7b86a+Do="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:wfzttY2yxbqKp6maAYMqai0e5Tc=
In-Reply-To: <tkrtnj$1i4e9$1@dont-email.me>
Content-Language: en-US
 by: T - Mon, 14 Nov 2022 02:15 UTC

On 11/13/22 15:13, Zaidy036 wrote:
> On 11/13/2022 5:00 PM, T wrote:
>> On 11/13/22 13:50, Zaidy036 wrote:
>>>
>>> Then a batch to do the job and run it thru Task Sched as High Priority
>>
>>
>> I am on the hunt for what api call diskpart is
>> making to retrieve such information.
>
> look at
> <https://www.digitalcitizen.life/command-prompt-advanced-disk-management-commands/>

Does not tell me how to see if a partition is mirrored

Re: DISKPART is now a administrator call????

<tksali$1m1ck$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=300&group=alt.msdos.batch#300

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Zaidy...@air.isp.spam (Zaidy036)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 21:54:41 -0500
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <tksali$1m1ck$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
<tkonjg$17d2k$1@dont-email.me> <tkrorr$1hnfc$1@dont-email.me>
<tkrpdn$1hons$2@dont-email.me> <tkrtnj$1i4e9$1@dont-email.me>
<tks8cr$1j1g9$2@dont-email.me>
Reply-To: Zaidy036@air.isp.spam
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 14 Nov 2022 02:54:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9ce56b71a28b8b25fd3bc6518d4d070b";
logging-data="1770900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18imQRn1uh4cPr9PgjDORIDP6IVocyWK8I="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Cancel-Lock: sha1:bt+tK/drvbPiGlbE93Xn+OMiGjQ=
In-Reply-To: <tks8cr$1j1g9$2@dont-email.me>
Content-Language: en-US
 by: Zaidy036 - Mon, 14 Nov 2022 02:54 UTC

On 11/13/2022 9:15 PM, T wrote:
> On 11/13/22 15:13, Zaidy036 wrote:
>> On 11/13/2022 5:00 PM, T wrote:
>>> On 11/13/22 13:50, Zaidy036 wrote:
>>>>
>>>> Then a batch to do the job and run it thru Task Sched as High Priority
>>>
>>>
>>> I am on the hunt for what api call diskpart is
>>> making to retrieve such information.
>>
>> look at
>> <https://www.digitalcitizen.life/command-prompt-advanced-disk-management-commands/>
>>
>
>
> Does not tell me how to see if a partition is mirrored
How complex do you want to get? I envision a batch:
1. Open Diskpart.msc
2. Take a screen pic (jpg) of area with info wanted
3. Extract text from jpg and save to file
4. Extract info from file.

Re: DISKPART is now a administrator call????

<tksej5$1mbjs$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=301&group=alt.msdos.batch#301

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T...@invalid.invalid (T)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Sun, 13 Nov 2022 20:01:41 -0800
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <tksej5$1mbjs$1@dont-email.me>
References: <tkmtsq$106bc$2@dont-email.me>
<os0umhpn3s8qu656rpj1vo7pl0ath26b1n@4ax.com> <tkohu1$16tno$1@dont-email.me>
<tkonjg$17d2k$1@dont-email.me> <tkrorr$1hnfc$1@dont-email.me>
<tkrpdn$1hons$2@dont-email.me> <tkrtnj$1i4e9$1@dont-email.me>
<tks8cr$1j1g9$2@dont-email.me> <tksali$1m1ck$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Mon, 14 Nov 2022 04:01:41 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="aaaac788e780a948057c47023bc28090";
logging-data="1781372"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ww4OPPwhbQ0uF8Iay0pe0UFIsVh7aTfE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:awx2ShshwQAIvIfKc1j8ieIIG/w=
In-Reply-To: <tksali$1m1ck$1@dont-email.me>
Content-Language: en-US
 by: T - Mon, 14 Nov 2022 04:01 UTC

On 11/13/22 18:54, Zaidy036 wrote:
> On 11/13/2022 9:15 PM, T wrote:
>> On 11/13/22 15:13, Zaidy036 wrote:
>>> On 11/13/2022 5:00 PM, T wrote:
>>>> On 11/13/22 13:50, Zaidy036 wrote:
>>>>>
>>>>> Then a batch to do the job and run it thru Task Sched as High Priority
>>>>
>>>>
>>>> I am on the hunt for what api call diskpart is
>>>> making to retrieve such information.
>>>
>>> look at
>>> <https://www.digitalcitizen.life/command-prompt-advanced-disk-management-commands/>
>>
>>
>> Does not tell me how to see if a partition is mirrored
> How complex do you want to get? I envision a batch:
> 1. Open Diskpart.msc
> 2. Take a screen pic (jpg) of area with info wanted
> 3. Extract text from jpg and save to file
> 4. Extract info from file.

I think you misunderstand. I am writing a program
to run in the background unattended. I can
not get pop ups to show if I am running as an
administrator because I am running in "session 0".
I have the program written, but it has to run as
administrator to get access to diskpart. Meaning
the popus don't work.
I am trying to get away from session 0.

Re: DISKPART is now a administrator call????

<jte7cfFl5e6U1@mid.individual.net>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=302&group=alt.msdos.batch#302

 copy link   Newsgroups: alt.comp.os.windows-11 alt.msdos.batch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-11,alt.msdos.batch
Subject: Re: DISKPART is now a administrator call????
Date: Mon, 14 Nov 2022 07:00:29 +0000
Lines: 25
Message-ID: <jte7cfFl5e6U1@mid.individual.net>
References: <tkmtsq$106bc$2@dont-email.me>
<tf0vmh967ie1smsq5sbase58i13dch3sdb@4ax.com> <tko20v$15du2$4@dont-email.me>
<jtd1r9FfnubU1@mid.individual.net> <jtd2qtFftb2U1@mid.individual.net>
<tks89k$1j1g9$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net kCxmo5h+0MyVtgWlFVCr1ghLsMMeko7MZ3VIVeNtpDhr8L4dzP
Cancel-Lock: sha1:mo3LCAz+HmUWLzinI9Wr6trrumA=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-GB
In-Reply-To: <tks89k$1j1g9$1@dont-email.me>
 by: Andy Burns - Mon, 14 Nov 2022 07:00 UTC

T wrote:

> Andy Burns wrote:
>
>> or get-resiliency
>
> Does not tell me who is mirrored

probably will if you tell it which volume you're interested in?

PS C:\Users\Andy> Get-ResiliencySetting -?

NAME
Get-ResiliencySetting

SYNTAX
Get-ResiliencySetting [-Name <string[]>] [-StoragePool
<CimInstance#MSFT_StoragePool>] [-CimSession
<CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [<CommonParameters>]

Get-ResiliencySetting [-UniqueId <string[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <int>] [-AsJob]
[<CommonParameters>]

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor