How To Run A Command At Startup As Admin

Sep 15, 2014

My son's pc will not hibernate on it's own. I used CMD in administrator mode and ran:

powercfg -requests

I found that a usb audio device was currently in use. I can disable it with:

powercfg -REQUESTSOVERRIDE DRIVER "USB Audio Device" SYSTEM

This works, and the pc can now enter hibernation. But when it resumes, the usb driver is running again. Is there a way to run...

powercfg -REQUESTSOVERRIDE DRIVER "USB Audio Device" SYSTEM

Using admin privileges at startup? I want it to be automated.

View 6 Replies


ADVERTISEMENT

Command Prompt Needs To Run Anything As Admin

May 15, 2014

I seem to be having a problem when command prompt needs to run anything as an admin.

This happens whenever it feels it needs to do so, like when setting a program to run as admin myself, or running an installer, like the setup for firefox (I'm in chrome right now, but I happen to prefer firefox)

Basically, whenever it needs to run anything, it'll open up to the user account controls window in this picture:

Upon clicking yes, it opens the command prompt you see in the left of the image for a split second, then closes. (it took many attempts to get a clear shot using printscreen, and I did edit it to have the UAC prompt in the same image to save space)

I'm guessing a manual regedit of some kind, as running any program is obviously blocked by the problem itself. (I cannot install any fixing programs, and anything that needs to run as admin to work is out as well).

View 9 Replies View Related

Cannot Run Command Prompt As Admin

Oct 27, 2013

I need to execute the command prompt as admin. When I try to do it the command prompt window doesn't open and there are no errors. If I run the command prompt without admin privs it works, but I then can't do what I need to do in the admin window.

Note: I am running Windows 8.1.

View 9 Replies View Related

How To Elevate Command If User Is Not Admin

Mar 25, 2014

I am trying to elevate a command given (in this case just another cmd.exe) if the user is not admin. However i get the error:

Code:

C:Usersmetul_000>runas /user:administrator cmd.exe
Enter the password for administrator:
Attempting to start cmd.exe as user "WINDOWS8administrator" ...
RUNAS ERROR: Unable to run - cmd.exe
1326: The user name or password is incorrect.
C:Usersmetul_000>

This is a personal pc, and I know i put in the password correctly as i have done it a few times slowly typing in my admin password to confirm that it is input correctly. So why am i getting this error? Initially my overall goal is to get this python script to say you are admin ...

Code:
import ctypes
import subprocess
import sys
import os

[Code] ......

if you are admin its done, but if you are not admin then it reruns itself with the so called run as command to get admin rights. However currently it just pulls up the run as usage messages. The full command this script attempts to run then is:

Code:
C:Usersmetul_000>runas /user:administrator "python3 test2.py"
Enter the password for administrator:
Attempting to start python3 test2.py as user "WINDOWS8administrator" ...
RUNAS ERROR: Unable to run - python3 test2.py
1326: The user name or password is incorrect.
C:Usersmetul_000>

View 8 Replies View Related

Command Prompt (Admin) - Console Box Vanishes Within A Second

May 15, 2014

Everytime I try to use the above command, the console box vanishes within a second.

I have also tried to install chrome, the console opens and closes within a second, hence not able to read any messages.

I have full administrator right. No viruses

View 9 Replies View Related

How To Remove Command Prompt Message At Startup

Jul 5, 2014

Whenever i start up my computer i get a command prompt pop up that says C; windowssystem32cmd.exe operation completed successfully, how do i get rid of this.

View 1 Replies View Related

Command Line To Activate Focus On Application On Startup?

May 17, 2014

i have a variety of apps in the startup folder which is set to launch on startup. eventually, i'd like windows to focus on Chrome (specifically on the address bar) so that i can start using it right away.

i remember there's a command which could be added to the shortcut properties but can't recall.

View 9 Replies View Related

Hardware Drivers :: Command Prompt Message On Startup (Windows 8 64-bit)?

Sep 15, 2014

I accidentally installed an adware called Rocket tab however I uninstalled it but after restarting my computer, I am prompted with the following error message. Now, every time I start up my computer this message pops up .

View 4 Replies View Related

Windows 8 Startup Screen Crash For Only 1 Admin Account

Jul 10, 2014

I've had my windows 8 desktop for over 2 years now and I tried to log in to the administrator account.

But when I entered the correct password into it. The Startup screen opens but only shows 2 apps (Windows Store and Photos) and continuously blinks. I would post a screen shot,but it blinks too fast preventing the command. It continuously flashes from the incomplete Startup screen to a black blank screen back to the Startup screen.

I dont have the dump files from the SF diagnostic tool as this problem prevents me from clicking or entering any of the apps.

I know for sure that this is only an isolated problem with the administrator account as when I log into other admin and standard user accounts and the guest account, everything still works perfectly fine.

I scanned for viruses and found nothing with Norton 360 full system scan.

Im not sure when this started to occur as I haven't used the account for over a year.

I just want to know if I would be able to fix this problem or should I just delete this admin account and then create another admin account?

View 2 Replies View Related

How To Open Elevated Command Prompt

Jan 24, 2013

How do I open an elevated command prompt?

View 2 Replies View Related

Search Command Prompt In Windows 8?

Jan 4, 2014

What's the "Search" command prompt in Windows 8 pls?

View 6 Replies View Related

Network / Sharing :: Max Value For -w In Ping Command?

Nov 15, 2013

Trivia question: max value for -w in ping command? I don't mean the max wait a ping can experience. I just mean the maximum value after -w on the command line that will not give an error. If they use a 32 bit integer then it's pretty big. But if it's only 16 bit maybe we're limited to 64k?

ping 127.0.0.1 -n 2 -w 50000 > nul
--------------------------^^^^

For the purpose of this trivia let's limit it to Windows 8 command line .. not Linux or OS/2 or whatever.

View 6 Replies View Related

How To Add A Keyboard Shortcut For Command Prompt

Mar 18, 2013

I would like to add a keyboard shortcut for Command Prompt (CMD), for example if I to have it as [Win+C] or something similar.

View 9 Replies View Related

Windows 8 Command Prompt Settings

Jul 29, 2013

I often format my laptop and uses virtual machine as well. So I had a batch (.bat) file to change all windows setting through registry. This batch file also changes command prompt screen size, buffer size and quick edit mode. However this does not work on Windows 8 command prompt setting.

Registry use to change the setting are:
- HKCUConsole\%SystemRoot%_System32_cmd.exe
- HKCUConsole\%SystemRoot%_SysWOW64_cmd.exe

Just wondering is there any way to change the setting in Windows 8 using batch file?

View 4 Replies View Related

Explorer Command Prompt Greyed Out?

Jul 28, 2013

Windows 8 Pro, 64 bit. In Explorer (file manager) under File, open command prompt, and open Windows PowerShell are greyed out. This is a new situation. How can I restore them?

I didn't realize I had to have a drive or folder selected to activate the prompt.

View 1 Replies View Related

Add User Command To The W8.1 Start Button?

Oct 24, 2013

Is there any way to add a command to the Windows 8.1 start button (right mouse click throws up a menu).

That could be quite useful for launching something like a user tool bar from the start button.

View 4 Replies View Related

Windows 8 - Looking For Key Command To See The Opened Applications?

Jul 27, 2014

In windows 7 there was a key command to see all the oppened applications in your computer that command was so useful and i dont know that command in windows 8

View 9 Replies View Related

Random Command Prompts Showing Up?

Jun 26, 2014

im getting random command prompts showing up then disappearing, and sometimes disabling my desktop and not allowing me to browse through folders saying paths dont exist, was able to sign out and back in to my account and was able to quickly open chrome to download hijackthis, and to post it to here. my problem is, i dont understand what it all means.

I have an hp laptop with windows 8, everything should be updated, and my spybot shows no problems.

Logfile of Trend Micro HijackThis v2.0.5

Scan saved at 1:30:40 PM, on 6/26/2014

Platform: Unknown Windows (WinNT 6.02.1008)

MSIE: Internet Explorer v11.0 (11.00.9600.17126)

Boot mode: Normal

Running processes:

C:Program Files (x86)Norton Internet SecurityEngine21.3.0.12NIS.exe

C:Program Files (x86)Spybot - Search & DestroySpybotSD.exe

C:Program Files (x86)CyberLinkYouCamYCMMirage.exe

C:Program Files (x86)CyberLinkPower2Go8CLMLSvc_P2G8.exe

[code]....

View 2 Replies View Related

Maintenance :: SFC / Scannow Command Broken?

Jun 15, 2013

bcdedit /set increaseuserva 2500.

Tried this command because of Fallen Samurai Shogun 2 not working onmy windows 8 x64 enterprise. Says command not recognised.

So I tried. SFC /Scannow

Said the windows resource protection could not start the repair service.

So I checked services: Windows module installer. It was set to manual already. It was not running though. I pressed Run. And tried again SFC/scannow.

View 7 Replies View Related

Execution Of DOS Command Each Time User Logs Off

May 24, 2013

In all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off?

View 9 Replies View Related

Maintenance :: DISM Analyze Command Not Recognized?

Apr 10, 2014

DISM Analyze command not recognized?

View 3 Replies View Related

How To Get Ribbon Command Section Turned Back On

Sep 21, 2013

I'm on Windows 8. Compressed Folder Tools is all grayed out. I was able to zip and decompress files recently.

I tried adding the context menu extract commands, per one of the tutorials here, but I get the right click heading without any choices. how to get this ribbon command section turned back on?

View 7 Replies View Related

How To Unlock Hard Drive From Command Prompt

Sep 26, 2013

How can I unlock my hard drive from my command prompt? If I can do it using it. Because I try the auto repair, refresh my pc leaving everything intact, but when I did that it told me that my driver is lock. How do I unlock it using the advance options that the Windows 8 cd brings?. It said something about boot bcd.

View 1 Replies View Related

Security :: Windows Command Processor Black Box Pop Up

Mar 4, 2014

Every time I switch on my laptop I get a windows command processor black box pop up with writing in it i cant read what the writing says because it disappears quickly some one says its a virus or spyware. when i run a virus scan no problems are found and when i run a malware scan it says no problems. How can I get rid of it?

View 2 Replies View Related

How To Exit Safe Mode With Command Prompt

Sep 15, 2014

I had to enter Windows 8 in safe mode with command prompt to do something. After I did that, I pressed alt+F4 to exit the command prompt, so now I have a complete black screen with a cursor that I can move. I want to exit the safe mode now, to reboot again in normal mode. However, there is nothing to click on, alt+F4 doesn't work, ctrl+alt+del doesn't work, etc. There are some things that do work (for example win+P to connect a second screen, but I don't need that...). When I press the power button, it just goes to sleep. So I just want to get out of this situation. How to bring up command prompt again or shut it down completely ...

View 5 Replies View Related

MS-DOS Batch File - Choice Command For Windows 8

Jan 3, 2014

I was browsing around and attempting to build a program with MS-DOS. I can't get the choice command to work in Windows 8, and I have browsed the internet searching for the problem and a solution. It seems that Microsoft has removed Choice from Windows 8 supported commands. Is there any way possible I can make this work? I also own a Windows XP desktop and I can make the codes on it, but I can't get them to run on Windows 8?

View 1 Replies View Related

Execution Of DOS Command Each Time User Logs Off?

May 24, 2013

In all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off?

View 3 Replies View Related

Windows 8.1 - Can't Close Command Prompt Window

Oct 18, 2013

with Alt+F4 in win8.1.

View 9 Replies View Related

Login Screen Of Last User And Running A Command

Jun 2, 2013

In Windows 8, it is possible to run a command whenever the login screen of the last user is displayed in a local computer? This command should always be run with elevated rights and just before this screen appears.

View 2 Replies View Related

CTRL+Z (Undo) History / Log Command - How To Revert

Sep 15, 2014

So, after decades of using Windows I've just discovered the single most destructive command... The CTRL+Z... Yup, that's right.

So here's the problem. I always leave my computer on 24/7, and today I was in a application trying to undo something, but I didn't notice the application was out of focus and I was in fact "undoing" several actions I've made in the last days... Absolute disaster - I accidentally deleted Gigabytes of information and I've no way of getting them back... The worst part is, I don't even know for certain what I've deleted, as I don't exactly recall what I did in the last few days.

My question is, is there a history/log of the undo actions? I've already checked Event Viewer and there is nothing there.

View 4 Replies View Related

Voice Recognition Command To Access Or Open Toolbar?

Mar 4, 2013

Voice Recognition command to access or open a toolbar? I've tried "click + toolbar name" "open + toolbar name" "press + toolbar name"

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved