Avatar of Jasmin shahrzad
Jasmin shahrzad
 asked on

drop asking dialog box

In windows as administrator when i say fx. cmd and run as administrator, should i say yes to dialog box " Do you ....".
How to disable this step i mean it should open cmd as administrator after selecting( not ask for ...)
Windows 10Windows OS

Avatar of undefined
Last Comment
Jasmin shahrzad

8/22/2022 - Mon

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dimitris Maleas

You can configure the User Account Control settings in Windows 10 by pressing the Cortana button and entering ‘user account’ in the search box. Then, select Change User Account Control Settings to open the window in the snapshot directly below.
    A UAC dialog box might also open when you select to open UAC settings. Press the Yes button to confirm.
    Now drag the bar slider to Never notify.
    Press the OK button to apply the selected setting.
    Click Yes on the UAC window that opens.
Jasmin shahrzad

Thank you both. It was what i want. it's working now.
it's domain user (in freeipa) it take 30 sec. to open cmd or any other windows app like powershell,... .  
where i just without admin permission it's coming 1 sec.  
is it any way to remove this 30 sec. .

You right click on cmd.exe, select "run as administrator" and then not until after 30 seconds the UAC confirmation dialogue appears?
Can you confirm that to be what you are seeing?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Jasmin shahrzad

i right klick the cmd and select run as administrator. no dialog box coming (uac is working) then waiting 30 sec. to command promp

Is that account a local account? Try a local account, for a test. Try also with a different admin.
Jasmin shahrzad

local account is ok. domain account is just hang to 30 sec to 1 min to start cmd or powershell as administrator.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.

That would mean, the domain authentication has a problem.
Did you do as suggested and tried a different admin? Please make another domain user admin on that machine and try as him.
Jasmin shahrzad

oh. everything is ok after i add user as administrator and set notification is null. Then cmd and cmd as administartor is the same.'And it's coming when i click on it. problem is solved. thanks guy.