Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.com Volume in drive C has no label.
Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.com Volume
Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.
Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

Chef-client 11.2.8
Chef-server 11.* (latest v11 - how do I get this?)

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.com Volume in drive C has no label.
Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.com Volume
Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.
Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

Sorry,

Chef-client 11.12.8

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:32 PM
To: chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Chef-client 11.2.8
Chef-server 11.* (latest v11 - how do I get this?)

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.com Volume in drive C has no label.
Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.com Volume
Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.
Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.com Volume in drive C has no label.
Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.com Volume
Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.
Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

There are two interesting things here:

  1.   We haven’t validated running on the non-gui version in CI – I
    

can’t think of a reason it wouldn’t work. Are you doing this via a stock
image with a cloud provider – if so, which one? This would help us in doing
an exact repro.

  1.   You have a strange “notepad++” line in the error output – are you
    

using a custom bootstrap template? Is notepad++ installed on the system in
some way? This shouldn’t cause a problem, but I’d like to understand what
might be unique about the remote system.

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core
(non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug,
and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run
on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com Chris.Fouts@Sensus.com]

Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core
(non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows
Server 2012 R2 Standard. It runs a Windows command prompt when one logs
into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name,
password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x
domain\Administrator -P Password -p 1234

Mynode.domain.com Volume in drive C has no label.

Mynode.domain.com Volume Volume Serial Number is EE8C-90E1

Mynode.domain.com Volume Directory of C:\Users\Administrator

Mynode.domain.com Volume

Mynode.domain.com Volume 03/03/2014 04:52 PM .

Mynode.domain.com Volume 03/03/2014 04:52 PM …

Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts

Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop

Mynode.domain.com Volume 09/18/2014 04:05 PM Documents

Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads

Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites

Mynode.domain.com Volume 09/18/2014 04:05 PM Links

Mynode.domain.com Volume 09/18/2014 04:05 PM Music

Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures

Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games

Mynode.domain.com Volume 09/18/2014 04:05 PM Searches

Mynode.domain.com Volume 09/18/2014 04:05 PM Videos

Mynode.domain.com Volume 0 File(s) 0 bytes

Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes
free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N
"london-db1" -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.

Mynode.domain.com Response received.

Remote node responded after 0.0 minutes.

Bootstrapping Chef on london-db1.davis.sensus.lab

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
1"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
2"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
3"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
4"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
5"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
6"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
7"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
8"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
9"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
10"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
11"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
12"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
13"

Mynode.domain.com “Rendering
"C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk
14"

Mynode.domain.com \notepad++";"c:\Users\Administrator\Desktop\Change was
unexpected at this time.

ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

Thanks for the response.

  1.  I figured that you have not validated bootstrap on a Windows non-gui CI version. I’m doing this on a VM we have in our vCenter, loaded with a stock Windows Server 2012 R2 Core OS with all the Windows updates.
    
  2.  I’m using a stock bootstrap (I don’t know enough about Chef to use a custom bootstrap ☺ ). Notepad++ is installed yes, again, this is a stock OS. Incidentally, I issued notepad++ on the command line and a notepad++ window popped up.
    

What does the "c:\Users\Administrator\Desktop\Change was unexpected at this time.” Error?

Chris

From: Adam Edwards [mailto:adamed@getchef.com]
Sent: Wednesday, December 03, 2014 1:55 PM
To: chef@lists.opscode.com
Subject: [chef] RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

There are two interesting things here:

  1.   We haven’t validated running on the non-gui version in CI – I can’t think of a reason it wouldn’t work. Are you doing this via a stock image with a cloud provider – if so, which one? This would help us in doing an exact repro.
    
  2.   You have a strange “notepad++” line in the error output – are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldn’t cause a problem, but I’d like to understand what might be unique about the remote system.
    

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.commailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.comhttp://Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.comhttp://Mynode.domain.com Volume in drive C has no label.
Mynode.domain.comhttp://Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.comhttp://Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.comhttp://Mynode.domain.com Volume
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.comhttp://Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.comhttp://Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.comhttp://Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.comhttp://Mynode.domain.com.
Mynode.domain.comhttp://Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.comhttp://Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.comhttp://Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.comhttp://Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

The notepad++ call in the log makes me wonder if a file extension association isn’t mapped correctly. The notepad++ install can change some file associations.

I was just able to bootstrap a stock Server 2012 Server Core and a Server 2012 R2 Server Core image successfully.

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.com

On December 3, 2014 at 1:27:16 PM, Fouts, Chris (chris.fouts@sensus.com) wrote:

Thanks for the response.

  1.  I figured that you have not validated bootstrap on a Windows non-gui CI version. I’m doing this on a VM we have in our vCenter, loaded with a stock Windows Server 2012 R2 Core OS with all the Windows updates.
    
  2.  I’m using a stock bootstrap (I don’t know enough about Chef to use a custom bootstrap J ). Notepad++ is installed yes, again, this is a stock OS. Incidentally, I issued notepad++ on the command line and a notepad++ window popped up.
    

What does the "c:\Users\Administrator\Desktop\Change was unexpected at this time.” Error?

Chris

From: Adam Edwards [mailto:adamed@getchef.com]
Sent: Wednesday, December 03, 2014 1:55 PM
To: chef@lists.opscode.com
Subject: [chef] RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

There are two interesting things here:

  1.   We haven’t validated running on the non-gui version in CI – I can’t think of a reason it wouldn’t work. Are you doing this via a stock image with a cloud provider – if so, which one? This would help us in doing an exact repro.
    
  2.   You have a strange “notepad++” line in the error output – are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldn’t cause a problem, but I’d like to understand what might be unique about the remote system.
    

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234

Mynode.domain.com Volume in drive C has no label.

Mynode.domain.com Volume Volume Serial Number is EE8C-90E1

Mynode.domain.com Volume Directory of C:\Users\Administrator

Mynode.domain.com Volume

Mynode.domain.com Volume 03/03/2014 04:52 PM .

Mynode.domain.com Volume 03/03/2014 04:52 PM …

Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts

Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop

Mynode.domain.com Volume 09/18/2014 04:05 PM Documents

Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads

Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites

Mynode.domain.com Volume 09/18/2014 04:05 PM Links

Mynode.domain.com Volume 09/18/2014 04:05 PM Music

Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures

Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games

Mynode.domain.com Volume 09/18/2014 04:05 PM Searches

Mynode.domain.com Volume 09/18/2014 04:05 PM Videos

Mynode.domain.com Volume 0 File(s) 0 bytes

Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.

Mynode.domain.com Response received.

Remote node responded after 0.0 minutes.

Bootstrapping Chef on london-db1.davis.sensus.lab

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14”

Mynode.domain.com \notepad++";"c:\Users\Administrator\Desktop\Change was unexpected at this time.

ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

Interesting. I ran notepad++ and I do NOT have any file extensions associated with notepad++

Chris

From: Steven Murawski [mailto:steven.murawski@gmail.com]
Sent: Wednesday, December 03, 2014 2:40 PM
To: adamed@getchef.com; chef@lists.opscode.com; Fouts, Chris
Subject: Re: [chef] RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

The notepad++ call in the log makes me wonder if a file extension association isn’t mapped correctly. The notepad++ install can change some file associations.

I was just able to bootstrap a stock Server 2012 Server Core and a Server 2012 R2 Server Core image successfully.

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.comhttp://stevenmurawski.com/

On December 3, 2014 at 1:27:16 PM, Fouts, Chris (chris.fouts@sensus.commailto:chris.fouts@sensus.com) wrote:
Thanks for the response.

  1.  I figured that you have not validated bootstrap on a Windows non-gui CI version. I’m doing this on a VM we have in our vCenter, loaded with a stock Windows Server 2012 R2 Core OS with all the Windows updates.
    
  2.  I’m using a stock bootstrap (I don’t know enough about Chef to use a custom bootstrap ☺ ). Notepad++ is installed yes, again, this is a stock OS. Incidentally, I issued notepad++ on the command line and a notepad++ window popped up.
    

What does the "c:\Users\Administrator\Desktop\Change was unexpected at this time.” Error?

Chris

From: Adam Edwards [mailto:adamed@getchef.com]
Sent: Wednesday, December 03, 2014 1:55 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

There are two interesting things here:

  1.   We haven’t validated running on the non-gui version in CI – I can’t think of a reason it wouldn’t work. Are you doing this via a stock image with a cloud provider – if so, which one? This would help us in doing an exact repro.
    
  2.   You have a strange “notepad++” line in the error output – are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldn’t cause a problem, but I’d like to understand what might be unique about the remote system.
    

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.commailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.comhttp://Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.comhttp://Mynode.domain.com Volume in drive C has no label.
Mynode.domain.comhttp://Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.comhttp://Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.comhttp://Mynode.domain.com Volume
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.comhttp://Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.comhttp://Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.comhttp://Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.comhttp://Mynode.domain.com.
Mynode.domain.comhttp://Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.comhttp://Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.comhttp://Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.comhttp://Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

No file extensions associated with notepad++ on your server image? Then it is very odd that it is being called…

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.com

On December 3, 2014 at 1:53:11 PM, Fouts, Chris (chris.fouts@sensus.com) wrote:

Interesting. I ran notepad++ and I do NOT have any file extensions associated with notepad++

Chris

From: Steven Murawski [mailto:steven.murawski@gmail.com]
Sent: Wednesday, December 03, 2014 2:40 PM
To: adamed@getchef.com; chef@lists.opscode.com; Fouts, Chris
Subject: Re: [chef] RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

The notepad++ call in the log makes me wonder if a file extension association isn’t mapped correctly. The notepad++ install can change some file associations.

I was just able to bootstrap a stock Server 2012 Server Core and a Server 2012 R2 Server Core image successfully.

Steve

Steven Murawski

Community Manager @ Chef

Microsoft MVP - PowerShell
http://stevenmurawski.com

On December 3, 2014 at 1:27:16 PM, Fouts, Chris (chris.fouts@sensus.com) wrote:

Thanks for the response.

  1. I figured that you have not validated bootstrap on a Windows non-gui CI version. I’m doing this on a VM we have in our vCenter, loaded with a stock Windows Server 2012 R2 Core OS with all the Windows updates.
    
  2. I’m using a stock bootstrap (I don’t know enough about Chef to use a custom bootstrap J). Notepad++ is installed yes, again, this is a stock OS. Incidentally, I issued notepad++ on the command line and a notepad++ window popped up.
    

What does the "c:\Users\Administrator\Desktop\Change was unexpected at this time.” Error?

Chris

From: Adam Edwards [mailto:adamed@getchef.com]
Sent: Wednesday, December 03, 2014 1:55 PM
To: chef@lists.opscode.com
Subject: [chef] RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

There are two interesting things here:

  1.  We haven’t validated running on the non-gui version in CI – I can’t think of a reason it wouldn’t work. Are you doing this via a stock image with a cloud provider – if so, which one? This would help us in doing an exact repro.
    
  2.  You have a strange “notepad++” line in the error output – are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldn’t cause a problem, but I’d like to understand what might be unique about the remote system.
    

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234

Mynode.domain.com Volume in drive C has no label.

Mynode.domain.com Volume Volume Serial Number is EE8C-90E1

Mynode.domain.com Volume Directory of C:\Users\Administrator

Mynode.domain.com Volume

Mynode.domain.com Volume 03/03/2014 04:52 PM .

Mynode.domain.com Volume 03/03/2014 04:52 PM …

Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts

Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop

Mynode.domain.com Volume 09/18/2014 04:05 PM Documents

Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads

Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites

Mynode.domain.com Volume 09/18/2014 04:05 PM Links

Mynode.domain.com Volume 09/18/2014 04:05 PM Music

Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures

Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games

Mynode.domain.com Volume 09/18/2014 04:05 PM Searches

Mynode.domain.com Volume 09/18/2014 04:05 PM Videos

Mynode.domain.com Volume 0 File(s) 0 bytes

Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.com.

Mynode.domain.com Response received.

Remote node responded after 0.0 minutes.

Bootstrapping Chef on london-db1.davis.sensus.lab

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13”

Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14”

Mynode.domain.com \notepad++";"c:\Users\Administrator\Desktop\Change was unexpected at this time.

ERROR: Failed to execute command on Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

As far as I can tell, I don’t have any file associations. If I go to (type notepad++ on command line) -> Settings -> Preferences -> File associations, I don’t see anything in the “Registered exts:” box if I click through ALL the “Supported exts:” choices.

Chris

From: Steven Murawski [mailto:steven.murawski@gmail.com]
Sent: Wednesday, December 03, 2014 2:55 PM
To: Fouts, Chris; adamed@getchef.com; chef@lists.opscode.com
Subject: RE: [chef] RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

No file extensions associated with notepad++ on your server image? Then it is very odd that it is being called…

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.comhttp://stevenmurawski.com/

On December 3, 2014 at 1:53:11 PM, Fouts, Chris (chris.fouts@sensus.commailto:chris.fouts@sensus.com) wrote:
Interesting. I ran notepad++ and I do NOT have any file extensions associated with notepad++

Chris

From: Steven Murawski [mailto:steven.murawski@gmail.com]
Sent: Wednesday, December 03, 2014 2:40 PM
To: adamed@getchef.commailto:adamed@getchef.com; chef@lists.opscode.commailto:chef@lists.opscode.com; Fouts, Chris
Subject: Re: [chef] RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

The notepad++ call in the log makes me wonder if a file extension association isn’t mapped correctly. The notepad++ install can change some file associations.

I was just able to bootstrap a stock Server 2012 Server Core and a Server 2012 R2 Server Core image successfully.

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.comhttp://stevenmurawski.com/

On December 3, 2014 at 1:27:16 PM, Fouts, Chris (chris.fouts@sensus.commailto:chris.fouts@sensus.com) wrote:
Thanks for the response.

  1. I figured that you have not validated bootstrap on a Windows non-gui CI version. I’m doing this on a VM we have in our vCenter, loaded with a stock Windows Server 2012 R2 Core OS with all the Windows updates.
    
  2. I’m using a stock bootstrap (I don’t know enough about Chef to use a custom bootstrap ☺). Notepad++ is installed yes, again, this is a stock OS. Incidentally, I issued notepad++ on the command line and a notepad++ window popped up.
    

What does the "c:\Users\Administrator\Desktop\Change was unexpected at this time.” Error?

Chris

From: Adam Edwards [mailto:adamed@getchef.com]
Sent: Wednesday, December 03, 2014 1:55 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

There are two interesting things here:

  1.  We haven’t validated running on the non-gui version in CI – I can’t think of a reason it wouldn’t work. Are you doing this via a stock image with a cloud provider – if so, which one? This would help us in doing an exact repro.
    
  2.  You have a strange “notepad++” line in the error output – are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldn’t cause a problem, but I’d like to understand what might be unique about the remote system.
    

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.commailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.comhttp://Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.comhttp://Mynode.domain.com Volume in drive C has no label.
Mynode.domain.comhttp://Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.comhttp://Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.comhttp://Mynode.domain.com Volume
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.comhttp://Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.comhttp://Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.comhttp://Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.comhttp://Mynode.domain.com.
Mynode.domain.comhttp://Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.comhttp://Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.comhttp://Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.comhttp://Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

I uninstalled notepad++ from my server and I still get the same error. Strange.

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 03, 2014 3:04 PM
To: Steven Murawski; adamed@getchef.com; chef@lists.opscode.com
Subject: [chef] RE: RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

As far as I can tell, I don’t have any file associations. If I go to (type notepad++ on command line) -> Settings -> Preferences -> File associations, I don’t see anything in the “Registered exts:” box if I click through ALL the “Supported exts:” choices.

Chris

From: Steven Murawski [mailto:steven.murawski@gmail.com]
Sent: Wednesday, December 03, 2014 2:55 PM
To: Fouts, Chris; adamed@getchef.commailto:adamed@getchef.com; chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: RE: [chef] RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

No file extensions associated with notepad++ on your server image? Then it is very odd that it is being called…

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.comhttp://stevenmurawski.com/

On December 3, 2014 at 1:53:11 PM, Fouts, Chris (chris.fouts@sensus.commailto:chris.fouts@sensus.com) wrote:
Interesting. I ran notepad++ and I do NOT have any file extensions associated with notepad++

Chris

From: Steven Murawski [mailto:steven.murawski@gmail.com]
Sent: Wednesday, December 03, 2014 2:40 PM
To: adamed@getchef.commailto:adamed@getchef.com; chef@lists.opscode.commailto:chef@lists.opscode.com; Fouts, Chris
Subject: Re: [chef] RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

The notepad++ call in the log makes me wonder if a file extension association isn’t mapped correctly. The notepad++ install can change some file associations.

I was just able to bootstrap a stock Server 2012 Server Core and a Server 2012 R2 Server Core image successfully.

Steve

Steven Murawski
Community Manager @ Chef
Microsoft MVP - PowerShell
http://stevenmurawski.comhttp://stevenmurawski.com/

On December 3, 2014 at 1:27:16 PM, Fouts, Chris (chris.fouts@sensus.commailto:chris.fouts@sensus.com) wrote:
Thanks for the response.

  1. I figured that you have not validated bootstrap on a Windows non-gui CI version. I’m doing this on a VM we have in our vCenter, loaded with a stock Windows Server 2012 R2 Core OS with all the Windows updates.
    
  2. I’m using a stock bootstrap (I don’t know enough about Chef to use a custom bootstrap ☺). Notepad++ is installed yes, again, this is a stock OS. Incidentally, I issued notepad++ on the command line and a notepad++ window popped up.
    

What does the "c:\Users\Administrator\Desktop\Change was unexpected at this time.” Error?

Chris

From: Adam Edwards [mailto:adamed@getchef.com]
Sent: Wednesday, December 03, 2014 1:55 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

There are two interesting things here:

  1.  We haven’t validated running on the non-gui version in CI – I can’t think of a reason it wouldn’t work. Are you doing this via a stock image with a cloud provider – if so, which one? This would help us in doing an exact repro.
    
  2.  You have a strange “notepad++” line in the error output – are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldn’t cause a problem, but I’d like to understand what might be unique about the remote system.
    

Thanks.

-Adam

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.commailto:Chris.Fouts@Sensus.com]
Sent: Wednesday, December 3, 2014 10:50 AM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?

The step that fails mentions “notepad++” but of course notepad++ cannot run on a non-GUI OS?

Chris

From: Fouts, Chris [mailto:Chris.Fouts@Sensus.com]
Sent: Tuesday, December 02, 2014 2:18 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

Note that Windows Server 2012 R2 Core is the “non-GUI” version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, that’s it.

I’m able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.

[root@chef-ws ~]# knife winrm “Mynode.domain.comhttp://Mynode.domain.com” “dir” -m -x domain\Administrator -P Password -p 1234
Mynode.domain.comhttp://Mynode.domain.com Volume in drive C has no label.
Mynode.domain.comhttp://Mynode.domain.com Volume Volume Serial Number is EE8C-90E1
Mynode.domain.comhttp://Mynode.domain.com Volume Directory of C:\Users\Administrator
Mynode.domain.comhttp://Mynode.domain.com Volume
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM .
Mynode.domain.comhttp://Mynode.domain.com Volume 03/03/2014 04:52 PM …
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Contacts
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Desktop
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Documents
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Downloads
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Favorites
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Links
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Music
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Pictures
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Saved Games
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Searches
Mynode.domain.comhttp://Mynode.domain.com Volume 09/18/2014 04:05 PM Videos
Mynode.domain.comhttp://Mynode.domain.com Volume 0 File(s) 0 bytes
Mynode.domain.comhttp://Mynode.domain.com Volume 13 Dir(s) 51,591,532,544 bytes free

I get this during bootstrap.

root@chef-ws ~]# knife bootstrap windows winrm “Mynode.domain.comhttp://Mynode.domain.com” -N “london-db1” -x domain\Administrator -P Password -p 1234

Waiting for remote response before bootstrap. Mynode.domain.comhttp://Mynode.domain.com.
Mynode.domain.comhttp://Mynode.domain.com Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on london-db1.davis.sensus.lab
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 1"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 2"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 3"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 4"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 5"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 6"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 7"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 8"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 9"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 10"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 11"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 12"
Mynode.domain.comhttp://Mynode.domain.com "Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 13"
Mynode.domain.comhttp://Mynode.domain.com “Rendering “C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat” chunk 14"
Mynode.domain.comhttp://Mynode.domain.com \notepad++”;"c:\Users\Administrator\Desktop\Change was unexpected at this time.
ERROR: Failed to execute command on Mynode.domain.comhttp://Mynode.domain.com return code 1

Where can I get a more verbose message that I can share?

Chris

On Wed, Dec 3, 2014 at 3:29 PM, Fouts, Chris Chris.Fouts@sensus.com wrote:

I uninstalled notepad++ from my server and I still get the same error.
Strange.

Is there some reference to notepad++ or the old path to notepad++ in
the system path?

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

That was a good suggestion, but removing notepad++ from the PATH environment didn't help.

Chris

-----Original Message-----
From: Julian C. Dunn [mailto:jdunn@aquezada.com]
Sent: Wednesday, December 03, 2014 6:43 PM
To: chef@lists.opscode.com
Subject: [chef] Re: RE: RE: RE: RE: RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

On Wed, Dec 3, 2014 at 3:29 PM, Fouts, Chris Chris.Fouts@sensus.com wrote:

I uninstalled notepad++ from my server and I still get the same error.
Strange.

Is there some reference to notepad++ or the old path to notepad++ in the system path?

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]