Restore AppSense Agent startup after a reboot
An AppSense Agent Service that fails to start after reboot usually points to a startup-order, dependency, permission, or damaged-installation problem rather than a sudden loss of configuration. One alert can cover several faults: Windows may time out the service before networking is ready, its logon account may lack folder access, a certificate may have expired, or endpoint security may have blocked the executable. Treat the alert as evidence, not proof that the AppSense server or database has failed.
AppSense agents commonly interact with endpoint modules, local configuration files, identity services, and back-end systems. During boot, Windows starts services according to configured dependencies and startup types, while group policies, VPN clients, disk encryption, and management tools compete for the same narrow start window. A service that starts cleanly when launched by hand can still fail during a cold boot because its environment is different.
Begin with a timeline rather than a reinstall. Record the endpoint model, Windows build, AppSense product and version, service name, startup type, and first error shown after restart. Compare it with a nearby machine that starts normally and note whether VPN, Wi-Fi, Windows Update, or desktop sync completes before the failure. Preserve relevant Event Viewer records and AppSense logs before restarting anything, because each attempt can overwrite useful detail.
A controlled process protects Australian enterprise fleets, which may combine centrally managed laptops with smaller branch systems in Sydney, Melbourne, Brisbane, and Perth. Keep changes limited to one pilot endpoint, communicate during local business hours, and allow extra observation time when daylight saving has shifted clocks between AEDT and AEST. The aim is to restore a dependable boot sequence with minimal disruption, not merely to make the service appear healthy in Services.msc for a few minutes.
Confirm the failure pattern
Open Services.msc and record the exact service display name, state, startup type, logon account, executable path, and any stop code. Use PowerShell or the Service Control Manager commands sc.exe qc "Service Name" and sc.exe queryex "Service Name" to capture the configured path and dependencies. Common clues include error 1053 for a start timeout, 1067 for unexpected termination, and 1069 for a disabled service, although the surrounding events determine the real cause.
Check the Windows Application and System event logs around the restart time. Look for disk, certificate, networking, service control, Code Integrity, and application errors rather than focusing only on the final message from AppSense. Record both local time and UTC because Sydney and Melbourne alternate between AEDT at UTC+11 and AEST at UTC+10, while Brisbane remains on AEST. A one-hour discrepancy can otherwise make scheduled tasks, certificates, and cross-system logs appear misaligned.
Classify the error before changing any configuration. For generic wording, a service error reference can help distinguish a timeout from an access or executable failure, but Windows documentation and version-specific AppSense guidance should remain authoritative. If manual startup succeeds, investigate the boot environment; if it fails in the same way, concentrate on the account, files, security policy, or installation.
Validate startup dependencies
Map the boot sequence before altering service settings. The agent may depend on Active Directory, DNS, the computer account, disk-encryption key unlock, a network profile, VPN connectivity, access to an AppSense server, or a direct SQL route where the architecture requires one. A network indicator showing “Connected” does not guarantee that name resolution, authentication, certificate validation, or application traffic is ready.
Use the dependency information from sc.exe qc, then verify each dependency in its normal startup order. Check automatic, delayed automatic, manual, and disabled settings against a healthy endpoint. Avoid changing the agent to delayed startup as a generic remedy; delayed start can hide an unresolved dependency and may alter deployment or policy timing. Likewise, review group-policy startup tasks and installers that run early in the boot sequence.
Confirm that the clock is synchronised, the required TLS certificates are valid, and DNS resolves the expected service names. Commands such as Resolve-DnsName and Test-NetConnection can establish whether a host or port is reachable without exposing credentials in a diagnostic note. Service recovery actions, failure restart delays, and timeout values should also be reviewed, since repeated automatic restarts may erase the original failure pattern.
Repair the service account and files
Inspect the service properties and confirm which account Windows uses under LocalSystem, a local virtual account, or a domain identity. Check whether the account is disabled, locked, missing from a group, or unable to authenticate after a password change. Do not replace a production service account with a local administrator merely to obtain a successful start; that can broaden access and conceal an Active Directory or trust problem.
Confirm that the account can read the executable and configuration, create or update service data, and write to log and temporary folders under Program Files, ProgramData, and the relevant AppSense or Ivanti installation paths. Review endpoint protection, AppLocker, and Code Integrity logs for a blocked DLL, driver, script, or service executable. Add an approved startup exception only when the publisher, hash, path, and scope have been verified, rather than weakening security across the device.
If permissions and policies are correct, use the matching installer to attempt a supported repair or reinstall. Confirm the exact product, hotfix, architecture, and Windows compatibility before applying a package, especially in a mixed or legacy Australian estate. Back up configuration, preserve logs, and record service settings first. Avoid renaming caches or deleting data directories without version-specific guidance, because doing so can remove useful evidence or trigger a full server-side reconfiguration.
Rehearse recovery on pilot devices
Test the proposed fix on one affected endpoint and one comparable healthy endpoint before applying it through endpoint management. Include the relevant hardware, Windows build, connection type, and AppSense version. A full shutdown, cold boot, and ordinary restart can produce different timing, so each should be tested. For structured discussions with the service desk or operations team, a scenario planning guide can help organise boot sequences, expected dependencies, and decision points.
First reproduce the failure while recording elapsed times. Then test the dependencies in their expected order and attempt a manual service start. If the agent starts only after networking and identity services settle, the original failure is probably boot-related. If it still exits immediately, examine the service account, local file access, endpoint controls, and executable signature. Reboot again only after the controlled change, then observe the service across more than one startup cycle.
Recognise that connection paths differ across Australian sites. A laptop using Sydney infrastructure from a Brisbane branch may start its VPN later than a Melbourne desktop, while a Perth satellite link may have different DNS or firewall latency. Do not force every location into an identical workaround until the timing evidence supports it. Adjust dependency handling for each connection profile while keeping the service account, agent version, and expected post-start state consistent.
Share evidence through the community
AppSense Exchange provides a practical place to search existing discussions and browse tools, configurations, and guidance organised by product and version. Search using the exact Windows error, service name, product build, and relevant log phrase. Before applying a downloaded configuration, confirm its intended version, publication date, and compatibility with the endpoint; a community fix for one release may be unsafe for another.
A useful post identifies the Windows build, AppSense version, service startup type, recent changes, startup order, and what happened during a manual start. Attach a short, sanitised timeline and the relevant excerpts rather than an entire support bundle. Remove credentials, personal information, customer names, IP addresses, server names, tenant identifiers, and certificate subjects. Review the community terms and follow the forum’s posting and download guidance.
Community advisors can help compare evidence with previous incidents, but recurring failures should also move into the formal support path. Include the diagnostic package, reproduction steps, pilot results, and any vendor case reference. Australian support windows may overlap differently when daylight saving changes, so state AEST or AEDT and include UTC where useful. A clear time zone prevents an otherwise sound investigation from stalling between local IT and an overseas support centre.
Build a repeatable recovery checklist
A repeatable response reduces variation between shifts, sites, and technicians while keeping risky changes under control. Use the following sequence during the next incident and retain the outcome as an internal or community resource:
- Capture the endpoint inventory, service configuration, exact error, event timestamps, startup type, and service logon account before changing anything.
- Validate DNS, Active Directory, certificates, network readiness, VPN access, encryption key availability, and required AppSense server connections.
- Correct permissions or installer problems using least privilege, then verify the agent executable and update package against the deployed product version.
- Test the change on a representative pilot through manual startup, restart, and cold boot before using endpoint management to deploy it broadly.
- Document the proven fix, monitoring signal, rollback action, and diagnostic evidence for future incidents and vendor escalation.
Create an account through the registration page, then search existing AppSense discussions and resources before opening a new case. Share a sanitised diagnostic bundle, compare findings with community advisors, and publish the verified solution for other administrators. A well-documented recovery protects the local fleet during its next restart and turns one isolated failure into reusable community knowledge.