Fixes for common issues
Only use these fixes in the described scenarios!
These are not intended to be applied blindly as they may do more harm if applied unnecessarily.
BranchCache issues
Error message
There is not enough space on the disk
(may also occur localized, depending on Windows OS language) in download phase, chocolatey exit code404
:Open an elevated PowerShell
Run
Clear-BCCache -Force
Error message
The supplied object has not been initialized
(may also occur localized, depending on Windows OS language) in download phase, chocolatey exit code404
:Open an elevated PowerShell
Run
Reset-BC -Force
Error message
Error - hashes do not match. Actual value was '123abcd'
:Open an elevated PowerShell
Run
Reset-BC -Force
We strongly recommend deploying the Reset or Clear BranchCache Remediation Script with a daily schedule. It can be found in the Remediation Scripts section of the RealmJoin Portal.
By using this method the above mentioned BranchCache issues will proactively be detected and automatically remediated (if possible).
Missing / wrong Package arguments
Check the
chocolatey.log
file for the value(s) ofpackageParameters
in the sectionRJAppDeployToolkit: Resulting Variables
These are the actual value(s) used for the installation and passed by the RealmJoin backend.
If they are not the value(s) you would expect, check the package assingment in the RealmJoin portal for group / user override values.
Broken chocolatey config
Delete contents of folder
C:\ProgramData\chocolatey\config
Delete System Variable
Use GUI: Run
sysdm.cpl
-> TabAdvanced
->Environment Variables...
Use (admin) cmd:
REG delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V ChocolateyInstall
Reboot
RealmJoin tray will reinstall chocolatey, let the system settle for 5-10 minutes.
If you experience missing items in the RealmJoin tray menu, reboot again.
General Setup issues
As these are very individual, this is just a collection of general troubleshooting steps to help narrow down the issue.
Check for log file(s) in
C:\WINDOWS\Logs\RealmJoin\Packages\<package-id>\
.Try to analyze the log file(s) and find the issue.
If no log file is present, or not helpful, try manually running the setup in GUI mode, to see possible error messages.
IMPORTANT: RealmJoin system packages are always installed using the built-in
NT AUTHORITY\SYSTEM
account, so it is best to use a tool likepsexec
to run the installation from that account.Most of the time running the installation using a standard local admin account will provide the same error so running from
NT AUTHORITY\SYSTEM
may not be necessary.
Package not available to install / not showing in RealmJoin tray menu
Check if package is correctly assigned to user or user is member of assigned group
Check if package is not assigned hidden (use Debug Mode to see hidden assigned packages)
Check if user is primary user of the client, alternatively check if package is configured to be available to secondary users
Last updated