Psexec the user has not been granted the requested logon type at this computer

#1
Psexec the user has not been granted the requested logon type at this computer

docfxit


  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 242 posts
  • OFFLINE
  •  
  • Local time:09:27 PM

Posted 18 August 2016 - 03:36 PM

I'm getting an error trying to access 192.168.168.9 from 192.168.168.21. The error is "Logon failure: The user has not been granted the requested logon type at this computer."

I can access 192.168.168.9 from 192.168.168.7 without any errors.

I have done this:
On the remote computer, select
Administrative Tools>Local Security Settings>Local Policies>User Rights Assignment, right-click on Access this computer from the network>Properties>Add Users or Groups, add everyone

In Deny access to this computer from the network
All I have is Guest

It must have something wrong at the source PC 192.168.168.21

I have run Malwarebytes.

What else could be causing this?

Win7 Professional 32bit

Thank you,
Docfxit



BC AdBot (Login to Remove)

  • Psexec the user has not been granted the requested logon type at this computer
  • BleepingComputer.com
  • Register to remove ads


#2 Kilroy

Kilroy


  • Psexec the user has not been granted the requested logon type at this computer
  • BC Advisor
  • 4,071 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Launderdale, MN
  • Local time:11:27 PM

Posted 19 August 2016 - 06:32 AM

The account you are using to connect needs to be either an Administrator or member of the Remote Desktop group in order to connect remotely.



#3 docfxit

docfxit

  • Topic Starter

  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 242 posts
  • OFFLINE
  •  
  • Local time:09:27 PM

Posted 22 August 2016 - 01:01 PM

The account you are using to connect needs to be either an Administrator or member of the Remote Desktop group in order to connect remotely.

Thanks for the reply.  Both the local and the remote users are Administrator.

Docfxit



#4 Trikein

Trikein


  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 1,321 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Rhode Island, US
  • Local time:11:27 PM

Posted 22 August 2016 - 01:11 PM

You may have already answered this, but to clarify, are there any admin policy restrictions on the remote(192.168.168.9) computer? For example, is a user blocked from signing in with the admin account even if that account is set to be allowed access from LAN?



#5 Kilroy

Kilroy


  • Psexec the user has not been granted the requested logon type at this computer
  • BC Advisor
  • 4,071 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Launderdale, MN
  • Local time:11:27 PM

Posted 23 August 2016 - 09:43 AM

Is there a password on the account?  I've found that not having a password when you attempt remote access causes all kinds of odd issues.



#6 docfxit

docfxit

  • Topic Starter

  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 242 posts
  • OFFLINE
  •  
  • Local time:09:27 PM

Posted 23 August 2016 - 12:04 PM

You may have already answered this, but to clarify, are there any admin policy restrictions on the remote(192.168.168.9) computer? For example, is a user blocked from signing in with the admin account even if that account is set to be allowed access from LAN?

Not that I know of.  But I don't know how to block a user like that.  Do you know how I can check that in Win7?

Thanks,

Docfxit



#7 docfxit

docfxit

  • Topic Starter

  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 242 posts
  • OFFLINE
  •  
  • Local time:09:27 PM

Posted 23 August 2016 - 12:13 PM

Is there a password on the account?  I've found that not having a password when you attempt remote access causes all kinds of odd issues.

There is a password on all accounts.

The User signed on to 192.168.168.9 is the same user signed on to 192.168.168.7 which works.

The User signed on to 192.168.168.21 is different.  This computer does have the same user as 192.168.168.9 as an administrator with the same password.

Thanks for the suggestion.

Docfxit



#8 Kilroy

Kilroy


  • Psexec the user has not been granted the requested logon type at this computer
  • BC Advisor
  • 4,071 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Launderdale, MN
  • Local time:11:27 PM

Posted 24 August 2016 - 10:15 AM

I'd remove any deny access that you have configured.  Access is denied if not granted so, specifically denying access is not necessary.  Again, denying access is one of those things that causes more problems than it solves.



#9 docfxit

docfxit

  • Topic Starter

  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 242 posts
  • OFFLINE
  •  
  • Local time:09:27 PM

Posted 26 August 2016 - 05:11 PM

Thanks for the reply...

I had denying access for the user Guest only.  I have removed Guest and still have the same problem.

Thanks,

Docfxit



#10 MQassas

MQassas


  • Psexec the user has not been granted the requested logon type at this computer
  • Members
  • 1 posts
  • OFFLINE
  •  

    Posted 27 March 2018 - 12:47 PM


    #11 kiester

    kiester


    • Psexec the user has not been granted the requested logon type at this computer
    • Members
    • 8 posts
    • OFFLINE
    •  
    • Local time:11:27 PM

    Posted 07 May 2019 - 01:38 PM

    I know this is an old post, but I had the same issue come up today and there is nothing out there other than the Group Policy edit which doesn't seem to work.

    What worked for me was go into the Control Panel > Users > Manage your credentials > Windows Credentials. In here, delete the saved credentials for the location you are having issues connecting to. Add a Windows credential and put the creds in for a user that has permission to the shared folder(s).



    #12 shimself

    shimself


    • Psexec the user has not been granted the requested logon type at this computer
    • Members
    • 45 posts
    • OFFLINE
    •  
    • Local time:06:27 AM

    Posted 03 December 2019 - 02:01 PM

    I know this is an old post, but I had the same issue come up today and there is nothing out there other than the Group Policy edit which doesn't seem to work.

    What worked for me was go into the Control Panel > Users > Manage your credentials > Windows Credentials. In here, delete the saved credentials for the location you are having issues connecting to. Add a Windows credential and put the creds in for a user that has permission to the shared folder(s).

    I love you



    How do I fix logon failure the user has not granted the requested logon type at this computer?

    To resolve this issue, edit the Access this computer from the network local policy on the desktop to restore the "Users" access group or add one or more user and group values to provide the required access. Alternatively this can be configured using Group Policy.

    How do I run PsExec on a remote computer?

    PsExec allows you to run the command simultaneously on multiple remote computers. To do this, you can set the computer names separated by commas: psexec PC1,PC2 “ipconfig /all” or save them in a text file, and then specify a path to this file: psexec @c:\ps\computer_list.

    How do I enable PsExec?

    How to Set Up PsExec.
    Enter firewall. cpl in the Run dialog box. ... .
    Select Allow an app or feature through Windows Firewall from the left side of the window. ... .
    Make sure File and Printer Sharing has a checkmark in the Private box to its right. ... .
    You can now exit any open Windows Firewall settings..

    Does PsExec work on Windows 10?

    As you'll see through this Ultimate Guide, PsExec can launch interactive command prompts, run as local system on remote computers, run commands on multiple computers at once and more. It supports all versions of Windows since Windows XP. That means, that yes, PsExec on Windows 10 is a thing too.