Questions tagged [windows-server-2022]
91 questions
8
votes
5 answers
Setting TimeZone for a Windows Container
I am trying to set the timezone of a WindowsContainer which is based on the windows nano server 2019 Build 1809.
One of the simplest way of doing it for linux containers is to set the TimeZone environment variable as shown below:
docker run -e…

Soumen Mukherjee
- 2,953
- 3
- 22
- 34
3
votes
1 answer
Linux Docker Container on Windows Server 2022
I want to run a Linux Docker-Container on Windows Server-2022 without to login to windows and starting Docker Desktop.
I managed to create a Windows-Service for dockerd. But there I can not create Linux-Containers. Errormessage:
docker: image…

CaptainInler
- 157
- 1
- 9
3
votes
1 answer
How to install docker on teamcity build agent
On my windows server 2022, I recently installed Teamcity Professional 2022.10 (build 116751) using the windows installer, and once I got it up and running I an agent through 'Install Agent' in the GUI, again using the windows installer.
I then…

Runey
- 179
- 1
- 10
3
votes
3 answers
How to install Visual Studio 2022 Build Tools on Windows Server Core 2022
I am attempting to install Visual Studio 2022 Build tools on a fully updated Windows Server 2022 Core installation as a virtual machine on ESXi. Whenever I start the setup, I see the GUI appear while it's extracting files and then it crashes…

RNDThoughts
- 892
- 3
- 13
- 30
2
votes
0 answers
In Windows 11 and server 2022, the child dialog in my MFC application does not display the maximize and Restore buttons properly
If we see above in the image, we would not be able to see the Maximize and Restore button, but I would tell that Maximize button is hidden behind the icon and there is a restore button on the left. Below is the image after moving this minimized…

ted lennen
- 79
- 3
2
votes
2 answers
Windows Server 2022 Core: how to change default keyboard layout for all users (also login screen)
I have a Server with Windows Server 2022 Core Standard and I set the language and time to US but the keyboard layout to German during installation.
However the keyboard layout is US by default for all users also on the login screen.
Does anyone know…

Sebastiano Liccione
- 21
- 3
2
votes
0 answers
Change the container OS for docker in Windows Server 2022
We have an install of Windows Server 2022 and want to utilise the built in Docker that comes with it. Is there a way to change the container OS when performing a docker build so that it uses Linux containers.
This is possible in Docker Desktop…

dave munro
- 21
- 1
1
vote
0 answers
Windows Server 2022: Can't add AzureAD user to Remotedesktopuser group
I want to setup RDP authentication using Yubikeys.
According to the guide (https://swjm.blog/the-complete-guide-to-rdp-with-yubikeys-fido2-cba-1bfc50f39b43) this should be fairly easy.
But I fail when trying to run the command
LocalGroupMember…

LarsK1
- 13
- 4
1
vote
0 answers
Running Docker Desktop on AWS EC2 Virtual Machine (Windows server 2022)
Im trying to set up docker desktop on my EC2 virtual machine running windows server 2022. But the program just crashes a few seconds after it starts. Im guessing virtualization is not enabled. Any suggestions to what could be the problem?
I tried to…

Schultanen
- 11
- 1
1
vote
2 answers
Batch command to update Uptime Kuma via git
I am running a Windows 2022 Standard server with IIS10 for my websites. I have UptimeKuma running without issue and I'm trying to get a script working that automatically updates it every week.
Here is my batch file:
rem echo off
echo.
cd /d…

ErocM
- 4,505
- 24
- 94
- 161
1
vote
1 answer
Running UserData with Powershell >= 7.0 on Windows Server 2022 on EC2
UserData by default will run with Powershell V5.1 on the Windows Server 2022 AMI on an AWS EC2 instance that spins up. However, I want to use some cmdlets that are only supported in Powershell version 7 and greater.
How am I best able to run a…

Michael
- 31
- 4
1
vote
1 answer
How to configure https for Grafana on Windows Server 2022?
Pretext:
This is my first solution posted on stack overflow, and I hope it is adequatly formed.
I did not know of whether posting the solution as an answer to a self-raised question, or to make an article on it. Making it an article seemed to be the…

TMHM
- 41
- 5
1
vote
1 answer
Powershell creating OU's
$DEPsOUs = @("A","B","C","D")
$createOUs = @('Users', 'Tester')
ForEach ($DEPOU In $DEPsOUs) {
$DEPOUDN = Get-ADOrganizationalUnit -Filter "Name -like '$DEPOU'" | select DistinguishedName | Format-Table -HideTableHeaders | Out-String
#write-host…

Niels van Dijk
- 11
- 1
1
vote
1 answer
Unable to resolve 500.30 error in simple web application
Error
I just created a new Razor Pages website. It's simple and only has a couple of page. But the site is failing with the following message.
Event Viewer
I see the event viewer is reporting errors.
Application '/LM/W3SVC/7/ROOT' with physical…

Jonathan Wood
- 65,341
- 71
- 269
- 466
1
vote
1 answer
null on System.Web.HttpContext.Current.Session on OnActionExecuting asp.net mvc5
On local it accessible but after deploy it not work:
System.Web.HttpContext.Current.Session["EflowSession"] return null

SaleemDeveloper
- 33
- 2
- 6