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