Some Settings Are Managed by An Administrator in Settings

Page 2 of 2 FirstFirst 12

  1. Posts : 4,526
    Windows 11 Pro 64-bit
       #11

    @Steve C This batch script will reset Local Group Policy settings to system default settings. Not sure this will resolve the problem.

    Code:
    :: This batch script created by FreeBooter
    
    :: This batch script will reset Local Group Policy settings to system default settings 
    
    @Echo Off
    
    Cls
    
    REM  --> Check for permissions
    Reg query "HKU\S-1-5-19\Environment" 
    REM --> If error flag set, we do not have admin.
    if %errorlevel% NEQ 0 (
    ECHO                 **************************************
    ECHO                  Running Admin shell... Please wait...
    ECHO                 **************************************
    
        goto UACPrompt
    ) else ( goto gotAdmin )
    
    :UACPrompt
        echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
        set params = "%*:"=""
        echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
    
        "%temp%\getadmin.vbs"
        del "%temp%\getadmin.vbs"
        exit /B
    
    
    :gotAdmin
    
    
    
    
    Cls
    
    Rd /S /Q  %SystemRoot%\System32\GroupPolicyUsers
    
    Rd /S /Q  %SystemRoot%\System32\GroupPolicy
    
    gpupdate /force 
    
    
    Exit
    
     Cls & Mode CON  LINES=5 COLS=48 & Color 0C & Title - WARNING -
     Echo.
     Echo. 
     Echo  YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE 
     Pause >Nul & Exit
      My Computer


  2. Posts : 24,654
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #12

    Steve C said:
    I only see the message in an admin account
    Now that is odd. If I set those privacy settings from an admin account all my user accounts see that message, but never in my admin accounts.

    That I presume was Microsoft's intention, to make these messages more 'user friendly'.
      My Computers


  3. Posts : 7,089
    Windows 10 Pro 64 bit
    Thread Starter
       #13

    Bree said:
    Now that is odd. If I set those privacy settings from an admin account all my user accounts see that message, but never in my admin accounts.

    That I presume was Microsoft's intention, to make these messages more 'user friendly'.
    Sorry - I meant to say I only see the message in a local account!
      My Computers


  4. Posts : 7,089
    Windows 10 Pro 64 bit
    Thread Starter
       #14

    FreeBooter said:
    @Steve C This batch script will reset Local Group Policy settings to system default settings. Not sure this will resolve the problem.

    Code:
    :: This batch script created by FreeBooter
    
    :: This batch script will reset Local Group Policy settings to system default settings 
    
    @Echo Off
    
    Cls
    
    REM  --> Check for permissions
    Reg query "HKU\S-1-5-19\Environment" 
    REM --> If error flag set, we do not have admin.
    if %errorlevel% NEQ 0 (
    ECHO                 **************************************
    ECHO                  Running Admin shell... Please wait...
    ECHO                 **************************************
    
        goto UACPrompt
    ) else ( goto gotAdmin )
    
    :UACPrompt
        echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
        set params = "%*:"=""
        echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
    
        "%temp%\getadmin.vbs"
        del "%temp%\getadmin.vbs"
        exit /B
    
    
    :gotAdmin
    
    
    
    
    Cls
    
    Rd /S /Q  %SystemRoot%\System32\GroupPolicyUsers
    
    Rd /S /Q  %SystemRoot%\System32\GroupPolicy
    
    gpupdate /force 
    
    
    Exit
    
     Cls & Mode CON  LINES=5 COLS=48 & Color 0C & Title - WARNING -
     Echo.
     Echo. 
     Echo  YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE 
     Pause >Nul & Exit
    I did reset Group Policy by those commands and it made no difference. I think the message is by design,
      My Computers


  5. Posts : 4,526
    Windows 11 Pro 64-bit
       #15

    Steve C said:
    I did reset Group Policy by those commands and it made no difference. I think the message is by design,
    I use to have that message its no longer displays not what i did.
      My Computer


  6. Posts : 24,654
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #16

    Steve C said:
    Sorry - I meant to say I only see the message in a local account!
    Sorry I didn't make that clearer. All my accounts I described earlier, standard or admin, are local accounts. I see the message in a local standard account, but not in a local admin account.
      My Computers


 

  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 09:09.
Find Us




Windows 10 Forums