# Got uncertain error when install activegate on windows PC

**URL:** <https://community.dynatrace.com/t/got-uncertain-error-when-install-activegate-on-windows-pc/42251>\
**Category:** Synthetic Monitoring\
**Tags:** private-synthetic-locations\
**Created:** [October 24, 2023, 8:42am UTC](https://community.dynatrace.com/t/got-uncertain-error-when-install-activegate-on-windows-pc/42251 "2023-10-24T08:42:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quirina](https://avatars.discourse-cdn.com/v4/letter/q/8797f3/32.png) [@Quirina](https://community.dynatrace.com/u/Quirina)\
**Post date:** [October 24, 2023, 8:42am UTC](https://community.dynatrace.com/t/got-uncertain-error-when-install-activegate-on-windows-pc/42251/1 "2023-10-24T08:42:45Z")

</div>

Hi Team,

I’m facing one issue and don’t find solution. Our license will be expired at the end of this month and we’ll have a new talent as swell. My PC installed activegate last month. I have to reinstall activegate due to our new talent. But I’m always facing this issue this afternoon:

 ![Quirina_0-1698136792195.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/466a482e88e37488323fa9aadd467819577cb233.png)

Actually, I unistalled the activegateway and reboot my PC, But still was facing this error for serval times.

I checked the error log as below:

2023-10-24 16:32:21 [Info] Initializing application  
2023-10-24 16:32:21 [Info] Pid: 4968  
2023-10-24 16:32:21 [Info] Command line: C:\Users\QA.Test\Dynatrace-ActiveGate-Windows-x86-1.275.145.exe ENABLE\_SYNTHETIC=\*\*\* ADDITIONAL\_CONFIGURATION=\*\*\*  
2023-10-24 16:32:21 [Info] Quiet: false  
2023-10-24 16:32:21 [Info] Show version: false  
2023-10-24 16:32:21 [Info] Unpack only: false  
2023-10-24 16:32:21 [Info] Unpack directory: “C:\Users\QA.Test”  
2023-10-24 16:32:21 [Info] Arguments:  
2023-10-24 16:32:21 [Info] Properties: ENABLE\_SYNTHETIC=\*\*\* ADDITIONAL\_CONFIGURATION=\*\*\*  
2023-10-24 16:32:21 [Info] Analyzing executable…  
2023-10-24 16:32:21 [Info] Log directory: %ProgramData%\dynatrace\gateway\log  
2023-10-24 16:32:21 [Info] Log file name pattern: dynatrace\_ag\_install\_\<timestamp\>.log  
2023-10-24 16:32:21 [Info] File info:  
2023-10-24 16:32:21 [Info] name: install.bat  
2023-10-24 16:32:21 [Info] size: 365  
2023-10-24 16:32:21 [Info] compressed: false  
2023-10-24 16:32:21 [Info] offset: 3536231  
2023-10-24 16:32:21 [Info] File info:  
2023-10-24 16:32:21 [Info] name: Dynatrace-ActiveGate-Windows-x86-1.275.145.20230929-204648.msi  
2023-10-24 16:32:21 [Info] size: 174458880  
2023-10-24 16:32:21 [Info] compressed: false  
2023-10-24 16:32:21 [Info] offset: 3536872  
2023-10-24 16:32:21 [Error] Stream error occurred while reading 20 bytes at 177995752  
2023-10-24 16:32:21 [Info] Exit code: 1  
2023-10-24 16:32:23 [Info] Extractor finished  
2023-10-24 16:32:23 [Info] Exiting application

But I don’t know how to resolve it. Could anyone help to check it, please?

---

<div class="post-metadata">

**Author:** ![marina\_pollehn](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marina_pollehn/32/39120_2.png) [@marina\_pollehn](https://community.dynatrace.com/u/marina_pollehn)\
**Post date:** [October 30, 2023, 8:56am UTC](https://community.dynatrace.com/t/got-uncertain-error-when-install-activegate-on-windows-pc/42251/2 "2023-10-30T08:56:58Z")

</div>

I am not super familiar with this specific error, but did you also delete the log files from the old ActiveGate installation? They are not deleted automatically. Once you removed them you also need to restart the host.

These are the directories you need to check out:

As you are using Windows, you would have to look in this directory:&nbsp;C:\Program Files\dynatrace\gateway

I am unsure if this is the solution to your specific error but worth a try.

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [October 30, 2023, 9:41am UTC](https://community.dynatrace.com/t/got-uncertain-error-when-install-activegate-on-windows-pc/42251/3 "2023-10-30T09:41:44Z")

</div>

Exactly as [@marina\_pollehn](https://community.dynatrace.com/user/2456)&nbsp; wrote:  
You need to check the remnants of the previous installation. Here you have all the paths: [ActiveGate directories — Dynatrace Docs](https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-activegate/configuration/where-can-i-find-activegate-files#default-directories-windows)

In addition, it is necessary to reboot after removing all old files.  
Let us know if it worked - if not, we will think further:)

R.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [October 30, 2023, 11:55am UTC](https://community.dynatrace.com/t/got-uncertain-error-when-install-activegate-on-windows-pc/42251/4 "2023-10-30T11:55:34Z")

</div>

I would also check if there are any applications on your machine that might be modifying or altering the installation file. We find sometimes that antivirus and other tools delete or remove some of the content after download so when we try to run the installation file it is not complete.
