All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

Windows Admin Center RemoteException: The specified module 'CimCmdlets' was not loaded because no valid module file was found in any module directory

I'm setting up Windows Admin Center and have successfully added a few servers. However, I'm encountering an issue when connecting to a server, and the error message I'm receiving is: "...
kevin's user avatar
  • 1
0 votes
0 answers
134 views

Test-SRTopology Fails to Create CIM Session to Local Host

We are trying to setup Storage Replication between two brand new Server 2019 VMs. I have followed all the steps in Microsoft's guide (https://learn.microsoft.com/en-us/windows-server/storage/storage-...
Caynadian's user avatar
  • 444
0 votes
1 answer
2k views

Windows Server 2019 Cannot Install .NET 3.5

crosspost Microsoft IT Pro Tech Community crosspost r/sysadmin Windows Server 2019 Cannot Install .NET 3.5 I am running Windows Server 2019 (Version 1809, Build 17763.4499) and I cannot install .NET ...
Paul Boyer's user avatar
0 votes
1 answer
231 views

Event 1202 when trying to run a scheduled task GPO under NT Authority\System

I'm trying to get a barcode font installed on machines for a enterprise application. The GPO is being served from a Windows Server 2019 Standard version 1809 OS build 17763.4252 server. The GPO in ...
Liam Chaney's user avatar
-1 votes
1 answer
81 views

AD lockout email alert script working intermittently

So we've been using this PS script for a while and was working fine until we migrated the domain controllers. The new domain controllers are running core Microsoft Windows Server 2019 Datacenter. We ...
imaxt's user avatar
  • 1
-2 votes
1 answer
316 views

Unusual Error on Exchange Server 2019 Enterprise

I've got my own personal Microsoft Exchange Server 2019 Enterprise at home and I recently upgraded all the VMware Guests to Server 2022, Rebuild all my domain controllers from scratch from 2012 R2 ...
Daniel's user avatar
  • 3
1 vote
1 answer
1k views

Storage Spaces with Azure Disk: how can we extend virtual disks?

We have on Azure several Windows Server 2019 virtual machines whose data disks are configured with Storage Spaces. How can we extend a virtual disk configured for simple redundancy (NumberOfDataCopies ...
aledeniz's user avatar
  • 213
0 votes
1 answer
998 views

I cannot get an otherwise functional Powershell script to run on a schedule

Environment: Server 2019 Domain Controller. I have a simple script that combs through my AD users and disables anyone who hasn't logged in within the past 35 days (org policy). Looks like this: Get-...
The ITea Guy's user avatar
1 vote
1 answer
252 views

Powershell script credentials prompt appears before read-host executes

I'm calling a script inside another script: ... ... powershell C:/temp/script2.ps1" ... ... That joins a VM to a domain after downloading some things. However, when the script runs, the prompt ...
rumplesmyboy's user avatar
0 votes
2 answers
337 views

How can I set the ACL of a CA programmatically?

When launching the CA console (certsrv.msc), I can right-click on my CA, select Properties and then I can modify the ACL of my CA in the Security tab. When I modify it, the changes are applied to the ...
stackprotector's user avatar
1 vote
2 answers
2k views

Adding a machine to a domain fails with internal error

I've enabled winrm, disabled firewall, enable remoting, GPOs for winrm, enabled SMBv1 and completed updates first as troubleshooting but I still get the error. I can ping the DC as well. The error I ...
rumplesmyboy's user avatar
1 vote
0 answers
314 views

Registry Key disappearing on reboot after added to read application and services logs via WMI

I have a Windows Server 2019 VM and am trying to collect some specific Windows Event Logs using Get-WmiObject In order to read an Event Logs channel in Applications and Services, I created a registry ...
AbeW's user avatar
  • 11
2 votes
1 answer
422 views

SSH using public key losing Authentication on windows server

I want to SSH from my laptop (A) to Windows Server (B) and run commands against SQL Server (C) from powershell. All three in one windows domain. I'm running built-in openssh server and client for ...
Mak Sim's user avatar
  • 131
0 votes
0 answers
478 views

How to get PhysicalLocation disk on Windows 2022 like on Windows 2019 via powershell

On Windows Server 2019 i usage Get-PhysicalDisk | foreach {$_.PhysicalLocation} its return SCSI0. This is exactly what I need. But on Windows Server 2022 its return PCI Slot 160 : Bus 3 : Device 0 : ...
Maksim Sholomov's user avatar
0 votes
1 answer
443 views

Windows Server 2019: Install the Certificate for an Issuing CA (signed by offline Root CA) using PowerShell

I'm working on automating the deployment of a multi-tier PKI system based on ADCS (I have a general product IT solution that we then deploy on projects mostly in a cookie cutter fashion). I have the ...
Helstrom's user avatar
0 votes
0 answers
47 views

Local Admin Password Solution showing 1 password from non-admin PowerShell

We run the following command to check and make sure systems have their LAPS setup correctly. We are supposed to do this from an elevated PowerShell prompt and it works fine. When we run it as a non-...
Thorin's user avatar
  • 209
1 vote
1 answer
1k views

How should i debug a Microsoft CIM that fails because MSFT_NetRoute be "not found"?

In general, how should one debug a failure related to CmdletizationQuery_NotFound messages, and why would the MSFT_NetRoute based queries register such an error? Details Specifically, my Kubernetes ...
jayunit100's user avatar
0 votes
2 answers
2k views

Server 2019 custom PowerShell script is getting queued (Code 325)

I'm a newbie to Windows Server so I'm not sure if I'm doing something wrong, or if the server is at fault here. I come from a Linux background and I wanted to make something similar to a cronjob. In ...
Alb's user avatar
  • 3
1 vote
1 answer
603 views

Windows server - can't install any roles and features - some noise about powershell not having remote access or something

I'm running a Windows Server 2019 VPS and I seem to have a problem. Whenever I try to install anything using the "Add roles and features" wizard, It fails. This is what it says: The WS-...
Northern's user avatar
0 votes
1 answer
1k views

How to use gMSA account with Task Scheduler and Powershell to manage DHCP filters

I am struggling to keep DHCP filters in sync between multiple DHCP servers, each of them is running on a domain controller. I wrote a simple script to get filters from master DHCP server and push them ...
wilk's user avatar
  • 1
2 votes
0 answers
399 views

Powershell session from CentOS 7 to Windows Server 2019

I want to open a Powershell session from CentOS 7 to a Windows Server 2019 using a domain account but I can't get it working. What I've done so far: Enabled WinRM on Windows (verified connection from ...
Michael's user avatar
  • 345
1 vote
0 answers
170 views

Unable to change description for the `RemoteDesktop-UserMode-In-TCP` firewall rule via powershell

I'm trying to change RDP port for my Windows Server 2019 Core. I've edited the registry successfully and was able to update the port in firewall rules so that everything works: PS C:\Windows\system32&...
yeputons's user avatar
  • 111
0 votes
1 answer
2k views

Find user’s session in RDS

Let’s say I have a Remote Desktop Services environment with two connection brokers and four Remote Desktop Session Hosts. I want to know which of the four session hosts that user jdoe is logged on to. ...
Carl Winbäck's user avatar
3 votes
2 answers
2k views

Ansible Windows Update - Fails Unless Interactive Login Performed

Long time/first time...Using official AWS Windows 2019 AMI ("ami-0229f7666f517b31e" on "us-east-1"), we spin up a new instance and perform the a few basic tasks (Using "...
Lee Wiscovitch's user avatar
0 votes
1 answer
671 views

Why do some services not show up in my "Services" app in windows server 2019?

In the image below, i have several services running, including some ovs services. I found however that when i try to list these services (i was going to try to find their dependencies through the UI),...
jayunit100's user avatar
0 votes
1 answer
2k views

Windows Server 2019 Get-Partition and 'IFS' partition type

What is the 'IFS' partition type which sometimes reported by Get-Partition? Specifically how is it related to MBR and GPT? I haven't been able to find much documentation either through Google or ...
Yolo Perdiem's user avatar
1 vote
1 answer
603 views

How should I initialize a new local account for a Windows service?

I'm using Terraform with Google Cloud to create Windows Server Core 2019 hosts for use with Jenkins. I want to install some software like Git, OpenJDK, and others using Scoop, and start the Jenkins ...
Jakub Sokołowski's user avatar
4 votes
3 answers
3k views

Issues with LAPS

For the past three hours I've sat at my desk ready to smash my Dell R710 in with a baseball bat. After installing all features of LAPS and running import-module AdmPwd.PS, I can't seem to get AD to ...
SovietBear's user avatar
3 votes
0 answers
2k views

Why isn't SMB Direct working over RDMA?

In a Windows lab environment, I'm trying to test performance of SMB Direct using Mellanox RDMA adapters with global pause. I wanted to test first with Global Pause for simplicity before switching to ...
Elliott B's user avatar
  • 200
0 votes
1 answer
346 views

How to create Windows simple storage pool?

In Windows Server 2019, I am trying to create a simple storage pool with 6 disks using Powershell. The total size should be about 42 TB, but it creates a pool of only 1.23 TB. The rest is still part ...
Elliott B's user avatar
  • 200
3 votes
1 answer
1k views

What is the official way of installing IIS and required modules on windows server 2019 with powershell

I cant find a definitive way to install and configure IIS on server 2019 Add-WindowsFeature Enable-WindowsOptionalFeature Install-WindowsFeature is dism still a thing? I need to install IIS with ...
red888's user avatar
  • 4,233
5 votes
1 answer
3k views

Configuring Storage Spaces for NVMe caching of SSDs using powershell

I am installing Server 2019 Core on a Dell server. These are the drives I have: Get-StoragePool -IsPrimordial $true | Get-PhysicalDisk | Where-Object CanPool -eq $True DeviceId FriendlyName ...
jftuga's user avatar
  • 5,741
0 votes
1 answer
2k views

Powershell: what script is running and who/what started it

I have a background powershell script that is eating a lot of CPU. Rather than just killing it, I'd like to know what the script is and hopefully why it was started. This is on a Windows server 2019 ...
Andy's user avatar
  • 113
1 vote
1 answer
8k views

Resolving Exchange 2019 Management Shell startup failures

I am trying to figure out while Exchange Management Shell is continuing to fail. I have made sure kerberos is enable on the IIS. I am not sure what else I can do to try to fix this issue. ...
Michael Downey's user avatar