# Error on automatic certbot renew

**URL:** <https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951>\
**Category:** Help\
**Created:** [December 31, 2023, 11:58pm UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951 "2023-12-31T23:58:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirbles](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nirbles](https://community.letsencrypt.org/u/nirbles)\
**Post date:** [December 31, 2023, 11:58pm UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/1 "2023-12-31T23:58:45Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [crt.sh | example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:manasotardio.ddns.net

I ran this command:cerbot renew (automatic)

It produced this output:window came up asking what I want to use to open this

My web server is (include version):

The operating system my web server runs on is (include version):Windows 11

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you're using Certbot):2.80 beta

I received my certificate but when auto renew runs my computer is asking what I want to open it with instead of just running in background.  
Thank you

 ![20231228_090640](https://global.discourse-cdn.com/letsencrypt/original/3X/9/e/9eaf4da9de7daf4cbf674a0210771d302fe8a1f1.jpeg)

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [January 1, 2024, 1:13am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/2 "2024-01-01T01:13:00Z")

</div>

I am not sure what it is you're trying to do. Where is certbot running?

---

<div class="post-metadata">

**Author:** ![nirbles](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nirbles](https://community.letsencrypt.org/u/nirbles)\
**Post date:** [January 1, 2024, 1:25am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/3 "2024-01-01T01:25:14Z")

</div>

c:\program files\certbot\bin\

Its a scheduled task to auto renew the certificate but it gives me that window asking what to open it with  
Thank you

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [January 1, 2024, 1:28am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/4 "2024-01-01T01:28:59Z")

</div>

Is it running on your local pc? Are you doing that on purpose?

---

<div class="post-metadata">

**Author:** ![nirbles](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nirbles](https://community.letsencrypt.org/u/nirbles)\
**Post date:** [January 1, 2024, 1:30am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/5 "2024-01-01T01:30:31Z")

</div>

yes on local PC. It is supposed to renew every three months. It was all set up when I first got the certificates.

Thought it was all automatic but it doesnt seem how to run it  
Thanks

---

<div class="post-metadata">

**Author:** ![nirbles](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nirbles](https://community.letsencrypt.org/u/nirbles)\
**Post date:** [January 1, 2024, 1:33am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/6 "2024-01-01T01:33:22Z")

</div>

I think it doesn't want to open a command prompt to run "certbot renew"

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [January 1, 2024, 1:34am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/7 "2024-01-01T01:34:08Z")

</div>

Ok, this scheduled task is obviously broken.

Please note that certbot and Windows do not play nice together, and have a look here:

> [@Certbot Discontinuing Windows Beta Support in 2024](https://community.letsencrypt.org/t/certbot-discontinuing-windows-beta-support-in-2024/208101):
>
> F…

---

<div class="post-metadata">

**Author:** ![nirbles](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nirbles](https://community.letsencrypt.org/u/nirbles)\
**Post date:** [January 1, 2024, 1:48am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/8 "2024-01-01T01:48:50Z")

</div>

I determined that the task is trying to run the cmd under powershell. If I run manualy under command prompt it runs fine. Can't figure out how to switch the task to cmd propmpt instead of powershell

---

<div class="post-metadata">

**Author:** ![petercooperjr](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/petercooperjr/32/84698_2.png) [@petercooperjr](https://community.letsencrypt.org/u/petercooperjr)\
**Post date:** [January 1, 2024, 1:50am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/9 "2024-01-01T01:50:39Z")

</div>

You're probably going to find it easiest to uninstall certbot and use one of the clients more [intended for Windows integration](https://letsencrypt.org/docs/client-options/#clients-windows-/-iis). I think that win-acme, Certify the Web, and Posh-ACME are generally popular, though I don't personally have experience with any of them (though other people here do).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [January 31, 2024, 1:51am UTC](https://community.letsencrypt.org/t/error-on-automatic-certbot-renew/210951/10 "2024-01-31T01:51:29Z")

</div>

Closed on January 31, 2024, 1:51am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
