# Installation on Windows server

**URL:** https://discuss.elastic.co/t/installation-on-windows-server/97010
**Category:** Beats
**Tags:** metricbeat
**Created:** [August 14, 2017, 6:17pm UTC](https://discuss.elastic.co/t/installation-on-windows-server/97010 "2017-08-14T18:17:13Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Karthikeyan\_Krishnam](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@Karthikeyan\_Krishnam](https://discuss.elastic.co/u/Karthikeyan_Krishnam)
#### Post date: [August 23, 2017, 7:42pm UTC](https://discuss.elastic.co/t/installation-on-windows-server/97010/3 "2017-08-23T19:42:14Z")

</div>

Tried to install after setting the execution policy, still facing the same issues. Executed the PS as admin and then executed the below commands:

PS D:\Metricbeat\> Set-ExecutionPolicy RemoteSigned

Execution Policy Change  
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose  
you to the security risks described in the about\_Execution\_Policies help topic at  
[http://go.microsoft.com/fwlink/?LinkID=135170](http://go.microsoft.com/fwlink/?LinkID=135170). Do you want to change the execution policy?  
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y  
PS D:\Metricbeat\> PowerShell.exe -ExecutionPolicy RemoteSigned -File .\install-service-metricbeat.ps1  
File D:\Metricbeat\install-service-metricbeat.ps1 cannot be loaded. The file  
D:\Metricbeat\install-service-metricbeat.ps1 is not digitally signed. You cannot run this script on the current  
system. For more information about running scripts and setting execution policy, see about\_Execution\_Policies at  
[http://go.microsoft.com/fwlink/?LinkID=135170](http://go.microsoft.com/fwlink/?LinkID=135170).  
+ CategoryInfo : SecurityError: (🙂 [], ParentContainsErrorRecordException  
+ FullyQualifiedErrorId : UnauthorizedAccess

---

_[View the full topic](https://discuss.elastic.co/t/installation-on-windows-server/97010)._
