Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Installation of CRM 2013 gives me Check DomainUserValidator : Failure: The current user is not a domain user.

$
0
0

I would need to install CRM 2013 on multiple servers and so I have written a powershell script to automate the same using powershell sessions. Points to be noted before I mention my issue.

  • I am able to install the CRM using the below command on the servers by opening the command prompt.

SetupServer.exe /Q /config T:\CRMInstallationFolder\Config_Server1.xml /L T:\CRMInstallationFolder\CRMInstall.log

But, I get the errors when I invoke the above same in a powershell session to a server using the same credentials.

$Server="Server1.domain.com"
$x=Get-Credential -UserName domain\username -Message "Please enter the password for the user account..!"
$Session = New-PSSession -ComputerName $Server -Verbose -Credential $x -Name $Server
icm -Session $Session -ScriptBlock {$CRMInstallationFolder="T:\CRMInstallationFolder"}
icm -Session $Session -ScriptBlock {$CRMInstallationConfigFilePath="T:\CRMInstallationFolder\Config_Server1.xml"}
icm -Session $Session -ScriptBlock {set-location $CRMInstallationFolder}
icm -Session $Session -ScriptBlock {Start-Process -FilePath "SetupServer.exe" -ArgumentList "/Q /config $CRMInstallationConfigFilePath /L $CRMInstallationFolder\CRMInstall.log" -Wait -PassThru}

Please be noted that I logged in with the same account during manual installation and used the same account using powershell sessions. Everything except CRM Installation is working fine in the same sessions like prerequisite installations, SQL Backup and restore, etc...

The errors I do get in the log file are 

Error| Check PendingRebootValidator : Failure: Creating an instance of the COM component with CLSID
{C01B9BA0-BEA7-41BA-B604-D0A36F469133} from the IClassFactory failed due to the following error: 80070005 Access
is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Error| Check PrivReportingGroupValidator : Failure: The group is not valid.
An operations error occurred.

Error| Check DomainUserValidator : Failure: The current user is not a domain user.

Any clue? why this happens? Because I have installed and uninstalled multiple times on multiple servers locally and this happens only in sessions.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>