Author Topic: Remote Install Issue  (Read 7888 times)

0 Members and 1 Guest are viewing this topic.

Offline Bassmaster

  • Jr. Member
  • **
  • Posts: 84
Remote Install Issue
« on: May 29, 2015, 10:16:35 PM »
I keep getting this error a remote client install of Avast error 1385 (Logon failure: the user has not been granted the requested logon type at this computer)

File\print sharing is enabled, PC is on the domain, Network discovery is on, I can ping the PC from the deployment server and the account used to deploy Avast has admin right to the PC.  What is missing here?

REDACTED

  • Guest
Re: Remote Install Issue
« Reply #1 on: June 11, 2015, 08:45:08 PM »
Yup. I have the same issue and have been pounding my head into the desk. I've tried EVERYTHING.

UAC disabled, firewall disabled (I have rules already made correctly for firewall but was testing with it off), using proper username for domain (domain\username) with domain admin rights (I can run net use \\computer\C$ without issue). This is my log.

Code: [Select]
06/11/15 11:27:56:   rinstInstall begin
06/11/15 11:27:56:   Init 50 60 C:\Windows\TEMP\aswA97E.tmp C:\Program Files\AVAST Software\Enterprise Administration\InstPkgs NULL  0
06/11/15 11:27:56:   Store
06/11/15 11:27:56:   Domains: *,
06/11/15 11:27:56:   Init Domain\domain-TEST
06/11/15 11:27:56:   domain-TEST: GetAccount
06/11/15 11:27:56:   domain-TEST: Queueing
06/11/15 11:27:56:   StartThread
06/11/15 11:27:56:   Loop
06/11/15 11:27:56:   SpawnThreads
06/11/15 11:27:56:   domain-TEST: StartSetup
06/11/15 11:27:56:   domain-TEST: Connecting
06/11/15 11:27:56:   domain-TEST: OpenSCManager error 5 (Access is denied)
06/11/15 11:27:56:   domain-TEST: OpenSCMImpersonated
06/11/15 11:27:56:   domain-TEST: LogonUser Admin domain error 1385 (Logon failure: the user has not been granted the requested logon type at this computer)
06/11/15 11:27:56:   domain-TEST: LogonUser admin domainerror 1385 (Logon failure: the user has not been granted the requested logon type at this computer)
06/11/15 11:27:56:   domain-TEST: RemoveOnError
06/11/15 11:27:56:   domain-TEST: CloseConnection
06/11/15 11:27:56:   domain-TEST: Finished with error
06/11/15 11:27:56:   TerminateAll
06/11/15 11:27:56:   rinstInstall end 0

Runs without issue if I manually install but I don't want to be forced to manually install.

Offline Avosec-UK

  • Avosec Technical Support
  • Avast Reseller
  • Sr. Member
  • *
  • Posts: 296
    • Avosec
Re: Remote Install Issue
« Reply #2 on: June 12, 2015, 12:58:35 PM »
Try to login with the account you use for deployment on the client machine first, then redeploy.


REDACTED

  • Guest
Re: Remote Install Issue
« Reply #3 on: June 12, 2015, 05:31:32 PM »
Try to login with the account you use for deployment on the client machine first, then redeploy.

I have and verified that the account has admin rights.

Offline Avosec-UK

  • Avosec Technical Support
  • Avast Reseller
  • Sr. Member
  • *
  • Posts: 296
    • Avosec
Re: Remote Install Issue
« Reply #4 on: June 15, 2015, 12:09:53 PM »
Make sure to provide the Domain Credentials in the Deployment job like that:

Domain: DOMAIN
Username: DOMAIN\AdminUsername
Password: TheAdminPwd

REDACTED

  • Guest
Re: Remote Install Issue
« Reply #5 on: June 15, 2015, 05:08:59 PM »
Make sure to provide the Domain Credentials in the Deployment job like that:

Domain: DOMAIN
Username: DOMAIN\AdminUsername
Password: TheAdminPwd

That is how I have it.

One thing that I am wondering if it may be causing the permission issue is that we have avast EAS running on a windows 2012 server on a 2003 forest level.

REDACTED

  • Guest
Re: Remote Install Issue
« Reply #6 on: June 19, 2015, 01:29:26 AM »
This is really frustrating. I checked the windows event log from the test client and the security log shows the avast server successfully logging in with full permissions and then immediately logging off.

So, next I try the local admin account. No domain.

The EAC log shows me an error of bad username/password for the local admin install but I check the security event logs of the remote client and get a successful login event listing the local admin account I gave for the remote install!!

Is this a bug I am dealing with?!

Offline Avosec-UK

  • Avosec Technical Support
  • Avast Reseller
  • Sr. Member
  • *
  • Posts: 296
    • Avosec
Re: Remote Install Issue
« Reply #7 on: June 19, 2015, 06:01:48 PM »
This is really frustrating. I checked the windows event log from the test client and the security log shows the avast server successfully logging in with full permissions and then immediately logging off.

So, next I try the local admin account. No domain.

The EAC log shows me an error of bad username/password for the local admin install but I check the security event logs of the remote client and get a successful login event listing the local admin account I gave for the remote install!!

Is this a bug I am dealing with?!

The deployment log simply tells you what your client machine returns when the Management Console tries to logon and create the Remote Installation Service on the client computer with the specified credentials.

You can try to launch a remote command with PSEXEC.

REDACTED

  • Guest
Re: Remote Install Issue
« Reply #8 on: June 19, 2015, 10:47:16 PM »
Thanks Avosec-UK for your input.

I have solved my issue. Turns out it was the default domain group policy which contained some security policies that affected the remote install.

Offline Avosec-UK

  • Avosec Technical Support
  • Avast Reseller
  • Sr. Member
  • *
  • Posts: 296
    • Avosec
Re: Remote Install Issue
« Reply #9 on: June 22, 2015, 11:02:41 AM »
You are welcome.

If you want, you can contribute to the Forum by letting us know what was the GPO setting that blocked it.

REDACTED

  • Guest
Re: Remote Install Issue
« Reply #10 on: July 01, 2015, 08:49:19 PM »
It was the default domain policy that contained the permitted accounts that can run as a service. I had to add the account used to deploy the AV to the permitted accounts.