본문 바로가기

카테고리 없음

Command Prompt Not Working Windows 10

Command Prompt Not Working Windows 10

Scenario 1 (primary PC)-elevated command window (run as admin)-user account is connected to a MS account-account is in local admin group-windows 10 build 1607 (anniversary update)scenario 2 (secondary PC)-elevated command window (run as admin)-local user (account is NOT connected to a MS account)-account is in local admin group-windows 10 build 1607 (anniversary update)I receive an 'access denied: error 5' when trying to run the 'net user' command for scenario 1 (account1). I am simply trying the 'net user' command without any extra parameters, but I still receive the error.it is the same behavior for other user accounts on the same device. I tried enabling the local admin account (account2) through computer management. I even created another local admin user (account3) that is not connected to a MS account to test that approach as well.

My main issue is that I suddenly cannot run my Java programs from my Windows 10 cmd prompt. I've already set all of the necessary paths for the JDK in my Environment Variables, so I'm fairly sure it's not that problem. Every time I try to run a.java file, Windows will pop up the window asking from which program I'd like to run the program. How to Fix Windows 10 Product Key Activation Not Working. By Andre Da Costa. Press Windows key + X. Click Command Prompt (Admin) At the command prompt, type the following commands. RECOMMENDED: Click here to fix Windows errors and improve PC performance. In Windows 10, there are a bunch of ways to open Command Prompt as.

I cant get the command to work on the machine in scenario 1 at all.scenario 2 is pretty much an identical machine and the command works fine (account 4 local non MS account). Both units were upgrades to the 1607 build. I'm really at a loss here.does anyone know a way to fix the underlying issue on the machine in scenario 1? I tried the 'sfc /scannow' command. No errors were found.I am trying to configure logon hours for the administrator account on the machine in scenario 1, but I cant even get the base command to work. I really don't know what else this could be if its not a corrupted system file or something like that. Pmac2009 wrote:@rod-it both are non-domain machines.

I doubt its a GPO. I don't even have any local ones configured. I also tried DISM, that didn't work unfortunately. It didn't detect any errors, and I even ran the restore command which completed successfully. No joy with that approach. A reboot wouldn't be necessary after that, would it?i'm not sure where mapped drives came into the conversation lol. I am trying to configure logon hours for 'account1' with the 'net user' command.thanks for the help so far!Sorry about that, I probably did confuse the thread with the mapped drive, confused 'net user' with 'net use'.

Feedback

The plot thickens.to recap my issue:this began with me trying to use the 'net user' command to set logon hours for an administrator account.i then discovered that other syntax for the 'Net' command are returning this same error. A list of commands that return 'access denied system error 5' after these text strings are executed in an elevated command window:net (which would normally display the list of its syntax options)net ACCOUNTSnet COMPUTERnet CONFIGnet CONTINUEnet FILEnet GROUPnet HELPnet HELPMSGnet LOCALGROUPnet PAUSEnet SESSIONnet SHAREnet STARTnet STATISTICSnet STOPnet TIMEnet USERthe only two commands i can get to show any output other than access denied are: 'net USE' and 'net VIEW' the others don't even let me execute the base commands at all.i am currently running update 1607 of windows 10 pro.

Windows 10 Cmd Not Working

I had not noticed this issue until now. I don't recall ever needing to run the 'net' command on this box since i clean installed windows 10 a year ago.i have tried using 'sfc /scannow' and DISM to repair windows. Both detected no errors and DISM had no effect when iran a restore anyway. I have also tried running these commands on the local admin profile and a brand new user profile i made an administrator.

Working

I get the same results. Lastly i have done a clean boot in safemode with the same outcome.i am also testing this on another machine that followed the same update path through the major windows 10 builds. Because of this i have a pretty good comparison to see if behavior does not match a proper working system. Both units:-are running the same os: win 10 pro x64-had windows 10 clean installed on them within a month of each other using the same install media (these were not upgrades from 7 or 8)-are not joined to a domain-should not have had any group policy's enabledthe problem device is my primary unit.

The working unit i use as a file/plex media server. The only app on my troubled unit i am outwardly suspicious of causing something like this is Java.please note i want to avoid 'windows family' parental controls approach to specifying logon times because they presently require a MS account to function. I believe the next feature update for 10 allows this to function for local accounts as well. Unfortunately it isn't here yet.

Command Prompt Not Working Windows 10