windows-server

How to start Docker daemon (windows service) at startup without the need to log-in?

此生再无相见时 提交于 2019-12-04 09:38:45
问题 We have Docker for Windows installed on a Windows Server 2016 Datacenter box. We use this box as a build agent for our docker containers. When we try to connect to this box via the daemon to build a container, we get an error message indicating the daemon is not running (at end of post). However, if I login to this box using my AD Account, the daemon starts, runs, and then I can connect and do everything I need to do. Is there a way to make daemon start at boot without requiring the user to

Installing more cultures on Windows Server 2012

孤者浪人 提交于 2019-12-04 09:28:52
On a Windows 8.1 machine, I'm seeing many more available cultures than on a Windows Server 2012 machine: 791 vs 378. To give a specific example, the server machine is missing the 'en-HK' culture. Here is the test code I'm using to enumerate them: foreach (var ci in CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures).OrderBy(ci => ci.Name)) { Console.WriteLine("{0} ({1})", ci.Name, ci.EnglishName); } Question: how can I install the more complete culture list on Windows Server 2012 so that it matches what's available on Windows 8.1? Here's some Powershell I've used to add

Is there a git activity log?

和自甴很熟 提交于 2019-12-04 08:32:49
Something went really wrong here. Allow me to give the background. Today I try to push to our company default bare msysgit windows server and get a dreaded error message duplicated everywhere in SO about pushing to non-bare . I thought the message was weird, since my server was supposed to be bare. And yesterday it was working just fine. Then I noticed the core.bare is, somehow, set to false ! This was a repo inited with --bare and it never had a " .git " folder in it. And then I go check, and there it is, a .git folder, that to me appeared out of nowhere, to my dismay! I ask the only other

Error trying to create a scheduled task within Windows 2016 Core container

99封情书 提交于 2019-12-04 07:51:14
I am trying to build a container which would include a custom scheduled task. This is my dockerfile: FROM microsoft/windowsservercore RUN schtasks /create /tn hello /sc daily /st 00:00 /tr "echo hello" I get the following error: ERROR: The task XML contains a value which is incorrectly formatted or out of range. (43,4):Task: I get the same error also when attaching to a running default windows core container and running the command. Needless to say, the command works well on standard windows 2016 server. It seems like a bug in Windows containers, but I didn't find any known issue about it.

Native PHP 5.6 OpenSSL Composer.phar failed to enable crypto on Windows

守給你的承諾、 提交于 2019-12-04 05:51:38
问题 I have a problem with PHP 5.6 native on a Windows machine. I get this error when I try to run a composer update (php composer.phar update): [Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Failed to enable crypto failed to open stream: operation failed The openssl extension is loaded. I already downloaded

How to run application with Admin privileges using Manifest file in Visual Studio 2005?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 23:32:40
I need to create an application which needs to create files/folders in "C:\Program Files","Users[username]" and Sys32. Also the application needs to make some registry entry. This application needs to work on Vista and higher. Also, on Windows Server 2003 and higher. The above Operating Systems have the concept of User Account Control (UAC), where to access Program Files and writing in registry requires admin privileges. I looked into many forums and found that using Microsoft SDK we can check whether the current user have admin privileges or not . But the function "CheckTokenMembership" fails

Deploy Meteor on Windows

荒凉一梦 提交于 2019-12-03 09:27:00
问题 I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I'm just not able to use Google to find one such explanation. On many pages, even on some questions here on SO, I found people simply saying " build it and deploy it like any other node.js app " which is great, except I can't find any explanation on how to deploy a node.js webapp on to a Windows server either. Meteor is so awesome , that I

Where is MSBuild.exe installed in Windows when installed using BuildTools_Full.exe?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 05:53:51
I'm trying to set up a build server for .NET, but can't figure out where MSBuild.exe is installed. I'm trying to install MSBuild using the Microsoft Build Tools 2013: https://www.microsoft.com/en-us/download/details.aspx?id=40760 MaGnumX MSBuild in the previous versions of .NET Framework was installed with it but, they decided to install it with Visual Studio or with the package BuildTools_Full.exe. The path to MSBuild when installed with the .NET framework: C:\Windows\Microsoft.NET\Framework[64 or empty][framework_version] The path to MSBuild when installed with Visual Studio is: C:\Program

Is it possible to install Visual Studio in a Windows Container

删除回忆录丶 提交于 2019-12-03 02:10:06
问题 Is it possible to install any version of Visual Studio in a Windows Container on a Windows Server? The motivation is to use Windows Containers for building software in continuous integration systems, so that the build environment is standardized. 回答1: Visual Studio seems to not be supported officially on Core Server, but I agree it would be really nice to be able to do this. Let's try: FROM mcr.microsoft.com/windows/servercore:ltsc2019 SHELL ["powershell"] RUN Invoke-WebRequest "https://aka

Deploy Meteor on Windows

风流意气都作罢 提交于 2019-12-02 23:45:27
I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I'm just not able to use Google to find one such explanation. On many pages, even on some questions here on SO, I found people simply saying " build it and deploy it like any other node.js app " which is great, except I can't find any explanation on how to deploy a node.js webapp on to a Windows server either. Meteor is so awesome , that I feel if anyone would write up such a step by step on how to deploy a Meteor app on a Windows server, a