# Bootstrap issues

**URL:** <https://discourse.chef.io/t/bootstrap-issues/17180>\
**Category:** Chef Infra (archive)\
**Created:** [May 28, 2020, 3:45pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180 "2020-05-28T15:45:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunt](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hunt](https://discourse.chef.io/u/hunt)\
**Post date:** [May 28, 2020, 3:45pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/1 "2020-05-28T15:45:57Z")

</div>

**I receive the following error when trying to bootstrap:**

_WARNING: 'knife bootstrap windows' specified, but the knife-windows plugin is not installed. Please install 'knife-windows' if you are attempting to bootstrap a Windows node via WinRM._

**When I install knife-windows:**

C:\Users[USERNAME]\_github\chef\> chef gem install knife-windows

+---------------------------------------------+

```
        Chef License Acceptance

```

Before you can continue, 3 product licenses

must be accepted. View the license at

> **[End User License Agreement | Chef](https://www.chef.io/end-user-license-agreement)**
>
> Read our End User License Agreement (Personal, Non-Commercial, Experimental).

Licenses that need accepting:

- Chef Workstation

- Chef Infra Client

- Chef InSpec

Do you accept the 3 product licenses (yes/no)?

> yes

Persisting 3 product licenses...

✔ 3 product licenses persisted.

+---------------------------------------------+

Fetching knife-windows-3.0.17.gem

WARNING: You don't have c:\users[USERNAME]\appdata\local\chefdk\gem\ruby\2.6.0\bin in your PATH,

```
      gem executables will not run.

```

Successfully installed knife-windows-3.0.17

Parsing documentation for knife-windows-3.0.17

Installing ri documentation for knife-windows-3.0.17

Done installing documentation for knife-windows after 3 seconds

1 gem installed

**Notice that it says:**

WARNING: You don't have c:\users[USERNAME]\appdata\local\chefdk\gem\ruby\2.6.0\bin in your PATH,

```
      gem executables will not run.

```

**When I go to look for this location it does not exist:**

---

<div class="post-metadata">

**Author:** ![tas50](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tas50/32/941_2.png) [@tas50](https://discourse.chef.io/u/tas50)\
**Post date:** [May 28, 2020, 3:50pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/2 "2020-05-28T15:50:04Z")

</div>

@hunt

You shouldn't need to install knife-windows into modern versions of ChefDK or Workstation. You should probably try installing Chef Workstation first and bootstrapping from that since it includes everything you need out the box.

-Tim

---

<div class="post-metadata">

**Author:** ![hunt](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hunt](https://discourse.chef.io/u/hunt)\
**Post date:** [May 28, 2020, 3:52pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/4 "2020-05-28T15:52:58Z")

</div>

Another question is do you have to use the PowerShell tool when you have Chef Workstation installed? Can you still use CMD?

---

<div class="post-metadata">

**Author:** ![hunt](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hunt](https://discourse.chef.io/u/hunt)\
**Post date:** [May 28, 2020, 3:53pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/5 "2020-05-28T15:53:22Z")

</div>

1. Its funny you say that cause thats what we have installed is CHEF workstation:

> C:\Users[USERNAME]\_github\chef\>chef -v
> 
> Chef Workstation version: 0.13.35
> 
> Chef Infra Client version: 15.6.10
> 
> Chef InSpec version: 4.18.39
> 
> Chef CLI version: 2.0.0
> 
> Test Kitchen version: 2.3.4
> 
> Cookstyle version: 5.16.11

---

<div class="post-metadata">

**Author:** ![tas50](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tas50/32/941_2.png) [@tas50](https://discourse.chef.io/u/tas50)\
**Post date:** [May 28, 2020, 3:56pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/6 "2020-05-28T15:56:15Z")

</div>

It looks like you might have some gremlins in that install. It's also an older release. Try uninstalling Workstation first, then remove the install directory entirely as well as c:\users[USERNAME]\appdata\local\chefdk. After that 🤞 you should be good to go.

-Tim

---

<div class="post-metadata">

**Author:** ![hunt](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hunt](https://discourse.chef.io/u/hunt)\
**Post date:** [May 28, 2020, 3:58pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/7 "2020-05-28T15:58:53Z")

</div>

I will try this.

---

<div class="post-metadata">

**Author:** ![hunt](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hunt](https://discourse.chef.io/u/hunt)\
**Post date:** [May 28, 2020, 7:51pm UTC](https://discourse.chef.io/t/bootstrap-issues/17180/8 "2020-05-28T19:51:29Z")

</div>

Has the syntax for bootstrapping changed for CHEF workstation?
