# Error Installing Nexus Service on Windows

**URL:** https://community.sonatype.com/t/error-installing-nexus-service-on-windows/15378
**Category:** Sonatype Nexus Repository
**Created:** [August 7, 2025, 7:13pm UTC](https://community.sonatype.com/t/error-installing-nexus-service-on-windows/15378 "2025-08-07T19:13:08Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![gary.herber](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@gary.herber](https://community.sonatype.com/u/gary.herber)
#### Post date: [August 7, 2025, 7:13pm UTC](https://community.sonatype.com/t/error-installing-nexus-service-on-windows/15378/1 "2025-08-07T19:13:09Z")

</div>

Running ‘install-nexus-service.bat’ to install and the install script presents this error 'Do you want to proceed with these values? [Y/n]: y  
[2025-08-07 14:44:07] [warn] [9392] Failed to grant service user ‘NT AUTHORITY\LocalService’ write permissions to log path ‘C:\WINDOWS\system32\LogFiles\Apache’ due to error ‘19: The media is write protected.’

While the Windows service is created it doesn’t run. Any guidance would be welcomed. Thanks.

---

_[View the full topic](https://community.sonatype.com/t/error-installing-nexus-service-on-windows/15378)._
