Group Policy service

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 19
    Windows 10
    Thread Starter
       #11

    Command Prompt (Admin) doesn't work !
      My Computer


  2. Posts : 5,478
    2004
       #12

    When you run programs or run some other job in windows you can run them either under your own profile (Peter) or under some other.

    If you open a cmd prompt (short for Command Prompt) as you it will start in C:\Users\Peter and will let you do things you are allowed to do.

    If you open a Command Prompt (Admin) it will open in C:\Windows\System32 and will let you do things you are not allowed to do as Peter. Af course the user Peter will not be able to see them as he is not authorized.

    Now, you could make the assumption it would be better to run everything as Admin (and lots of users coming from XP think that) but they miss the point. The reason that you are not automatically allowed to do anything you want (without right clicking or agreeing to a UAC prompt) is to reduce the risk of Malware also doing whatever it wants.

    pmfturner said:
    Command Prompt (Admin) doesn't work !
    What do you mean? You can't see it or you click on it and it does nothing?
      My Computer


  3. Posts : 19
    Windows 10
    Thread Starter
       #13

    Run SFC /SCANNOW


    Command Prompt (Admin) does nothing.
      My Computer


  4. Posts : 1,264
    Windows 10 (19045.3154)
       #14

    lx07 said:
    When you run programs or run some other job in windows you can run them either under your own profile (Peter) or under some other.

    If you open a cmd prompt (short for Command Prompt) as you it will start in C:\Users\Peter and will let you do things you are allowed to do.

    If you open a Command Prompt (Admin) it will open in C:\Windows\System32 and will let you do things you are not allowed to do as Peter. Af course the user Peter will not be able to see them as he is not authorized.

    Now, you could make the assumption it would be better to run everything as Admin (and lots of users coming from XP think that) but they miss the point. The reason that you are not automatically allowed to do anything you want (without right clicking or agreeing to a UAC prompt) is to reduce the risk of Malware also doing whatever it wants.

    What do you mean? You can't see it or you click on it and it does nothing?
    Thank you :)
      My Computers


  5. Posts : 5,478
    2004
       #15

    pmfturner said:
    Command Prompt (Admin) does nothing.
    Well lets go back to post 6 and do that as whatever user you can.

    Open a command prompt and enter net user and then net user peter (or whatever your user id name is).

    Post the results.

    You may have a problem if you don't have an administrator user on your PC but lets not get ahead of ourselves yet ...
      My Computer


  6. Posts : 19
    Windows 10
    Thread Starter
       #16

    Run SFC /SCANNOW


    Results are :-

    C:\Users\Peter>net user peter
    User name Peter
    Full Name Peter Turner
    Comment
    User's comment
    Country/region code 000 (System Default)
    Account active Yes
    Account expires Never

    Password last set 05/11/2015 17:27:55
    Password expires Never
    Password changeable 05/11/2015 17:27:55
    Password required Yes
    User may change password Yes

    Workstations allowed All
    Logon script
    User profile
    Home directory
    Last logon Never

    Logon hours allowed All

    Local Group Memberships *Administrators
    Global Group memberships *None
    The command completed successfully.
    Attached Thumbnails Attached Thumbnails Group Policy service-untitled.png   Group Policy service-untitled.jpg  
    Group Policy service Attached Files
      My Computer


  7. Posts : 5,478
    2004
       #17

    Your profile looks fine. I'm still with what @brummyfan said in the second post - you want to run sfc and dism.

    Your Local Group Memberships shown in the picture above says *Administrators

    Can you search for cmd and right click to run as administrator? Or does it fail somehow if you do? You should be able to as Peter is part of the Administrators group.

    Like this...

    Group Policy service-cmd.png
      My Computer


  8. Posts : 19
    Windows 10
    Thread Starter
       #18

    Run SFC /SCANNOW


    Right Clicking on the Command Prompt brings this up :-

    Microsoft Windows [Version 10.0.10586]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\Users\Peter>

    Then keying in SFC /scannow now gives :-

    C:\Users\Peter>sfc /scannow

    You must be an administrator running a console session in order to
    use the sfc utility.
      My Computer


  9. Posts : 5,478
    2004
       #19

    Yes but, do you have "Run as administrator" when you right click? Like in the picture above?

    Sorry to repeat myself but that is the issue - you aren't running the command prompt as Administrator - hence the problem.

    EDIT: There are another half a dozen ways other ways to open an Administrator cmd prompt described here Elevated Command Prompt - Open in Windows 10 - Windows 10 Forums

    If it works the window will say Administrator: Command Prompt at the top like this

    Group Policy service-admin.png
    Last edited by lx07; 09 Feb 2016 at 08:47. Reason: Other ways
      My Computer


  10. Posts : 19
    Windows 10
    Thread Starter
       #20

    Run SFC /SCANNOW


    Ok, have tried the 7 suggested methods of opening an elevated command prompt, as below, and variously :-

    Either nothing happens when clicking on "Run as an administrator".

    Task Manager will not open.

    Right clicking on cmd.exe at C:\windows\system32\cmd.exe gives me the 'blue circle of doom' for 5 minutes, then comes up with 2 messages :
    - The service cannot accept control messages at this time, and
    - This file does not have a program associated with it for performing this action. Please install a program, or, if one is already installed, create an association in the Default Programs control panel.

    I'm sure I'm being stupid !
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:18.
Find Us




Windows 10 Forums