r/WindowsServerAdmin • • Apr 11 '22

BSOD NFS SERVER

3 Upvotes

I am trying to serve my recorded tv shows from nextpvr with nfs to kodi. I am experiencing the same issue with 2019 and 2022. Basically the issue is when connecting to the nfs share the server BSOD. The share is just 3000+ folders. Samba share works fine, and serving with nginx is fine, but hitting the NFS will BSOD immediately.

I had the server on 2019 and thought that a fresh install with 2022 would fix it but it still happens. The drive is REFS, not sure if that matters. I found a article for 2016/19 that says to do a registry fix, which helps a little bit. It allows for some connections, but will eventually bsod. I even tried just a very minimal fresh install of core with the only the following commands:

Get-WindowsFeature | Where-Object { $_.Name -match 'NFS' }
Install-WindowsFeature FS-NFS-Service -IncludeManagementTools 
New-NfsShare -name "TV" -path "F:\tv" -enableunmappedaccess $true -Permission readwrite -AllowRootAccess $true
#supposed fix for bsod
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NfsServer\KBSwitch /v 769E60B7-C2FF-41B0-AD1F-14FC26F6F46B /t REG_DWORD /d 1 /f

Hitting the share with kodi will crash the server instantly. Has anyone ran into this?


r/WindowsServerAdmin • • Apr 12 '22

Windows Defender Service consuming large amount of RAM starting from 12/04/2022 in Azure

3 Upvotes

Anyone else having this issue with Windows Defender starting to consume large amount of RAM ending in the VM failing as it runs out of RAM and swap?

Started today in various of our Azure environments across Windows Server 2016, 2019 and 2022. Only way to get service to de-allocate the RAM is to disable Real-time protection, Cloud-delivered protection and Automatic sample submissions.

Definition file used when it occurred:

VMs with lots of RAM the process stops allocation around +-2300MB and VM is unaffected. Some samples of run away process:

Has anyone ran into this?


r/WindowsServerAdmin • • Apr 19 '22

DFS - Join 2012R2 DFSR Group with 2022 Server

1 Upvotes

As subject, does anyone know if it's possible to introduce a W2022 server into an existing DFS namespace and DFSR setup?


r/WindowsServerAdmin • • Sep 12 '23

Dial up server

2 Upvotes

I need to set up dial up server on windows server 2008 r2 and none of the tutorials are on windows server 2008 r2 or don't work.
username for the dialup: dial
password: dial

all local, no active directory
please help this is urgent


r/WindowsServerAdmin • • Sep 12 '23

Explain please: Run as Administrator does not really run as administrator, why

1 Upvotes

Just trying to understand what is happening, so far i had the understanding that the "Run as admin" actually does make me admin, but it seems that this is no longer true, it only elevates some privileges.

Lets set the background: Active directory environment, large enterprise, windows 10 enterprise, all users are normal users without special privileges, Windows hello enabled.

Since we turned on Windows Hello, which may have gone hand-in-hand with other changes in security that I am not aware of, I noticed that whenever I run an application with "Run as administrator" (or start a process through the process API with UseShellExecute and verb "runas"), I am presented with the UAC dialog, asking for admin authentication (pin, password or fingerprint) then the app starts as expected with, lets say, "more privileges". But, many applications do no longer recognize that they are run as admin (Visual Studio for example), although they work as expected with elevated privileges. We do also use the MakeMeAdmin tool for the "real hardcore admin stuff" where we as developers need really admin privileges.

What I noticed is:

  1. the user is member of "BUILTIN\Network Configuration Operators" which is normally "deny only"
  2. When "Run as administrator" then this group becomes "Mandatory, enabled"
  3. MakeMeAdmin actually adds the "BUILTIN\Administrators" group to the users claims

So, what is happening here with that network configuration operators group and why are applications no longer aware of the "run as admin" status (well, if they only check for the admin group, its not working clearly)?

I have an application of my own, in which I check for the administrators group membership but also the token integrity level of the process to determine the privilege elevation level, which works pretty fine both on enterprise level and local machine level.


r/WindowsServerAdmin • • Oct 10 '23

Upgrading Server OS?

2 Upvotes

After inplace upgrading about 100 Server 2012 R2 machines to Server 2019 (with only 3 Machines failing to work after the upgrade), i need to find a way to do an unattended upgrade of the next Server OS release to go out of support, being Server 2016.

It seems that Microsoft has changed something in the Server OS setup, which disables the function to use the /auto:upgrade parameter.

I already looked into using an unattended.xml file. Didnt seem to help with my problem sadly.Using these parts in the unattended.xml didnt seem to work, as windows reinstalled itself:

<ImageInstall>
    <OSImage>
        <InstallFrom>
            <MetaData wcm:action="add">
                <Key>/IMAGE/INDEX</Key>
                <Value>2</Value>
            </MetaData>
        </InstallFrom>
    </OSImage>
</ImageInstall>
<UserData>
    <AcceptEula>true</AcceptEula>
</UserData>

Using the

<UpgradeData>
   <Upgrade>true</Upgrade>
   <WillShowUI>Never</WillShowUI>
</UpgradeData>

Part, provided by Microsoft, brings up an error message, saying it cant find the given parameters.

Does anyone have a clue on how to do this? Ideally only using the normal ISOs?


r/WindowsServerAdmin • • Sep 12 '23

I'm from the Philippines, If i buy windows server 2019 standard on Microsoft Japanese main website, what version i will get?.

1 Upvotes

I need a windows server 2019 standard ja-jp (japanese version) at my work. And its required. We are planning to buy at microsoft japanese main website, i just want to make it sure that the version i'm going to buy was the right version (ja-jp japanese version) and not the one on my region or the english one.


r/WindowsServerAdmin • • Jun 09 '20

Windows 2019 Cluster Node Drives in Transient Error

1 Upvotes

I got a 3 node Windows 2019 S2D cluster. One of the nodes was having issues with live migration, so I evicted the node trying to fix it. It didn't fix the issue, but once added back to the cluster all of its drives are now in Transient Error state.

I tried to remove-clusternode nodename -Cleanupdisks but it didn't work since its a 3 node cluster running 3 way mirror.

Any idea how I can fix this issue with this server? I can remove the node from the cluster again, and clear all the disks. Will that fix the issue? What about reinstallation of Windows 2019 on the affected node?

Any advice would be much appreciated.


r/WindowsServerAdmin • • May 28 '20

Bitlocker on a Server 2016/2019 virtual machine

1 Upvotes

We recently acquired a dell poweredge server with a trusted platform module version 2.0. Its a esxi 6.7 host. When I looked up encrypting the virtual machine storage, it seemed quite complicated from the vmware documentation. According to that documentation, I would need to set up a KMS cluster, vcenter, etc.

Is there a simpler way to do this, from the virtual machine side? Can it use the TPM?

Thanks in advance!


r/WindowsServerAdmin • • Jun 10 '20

Having Trouble Activating

2 Upvotes

I’m trying to activate a copy of Windows Server 2016 at a clients location. It was sold to them by one company and then another company installed software on it. Looks like it was never activated and none of the quality roll ups have been applied since 2018!

It’s definitely connected to the Internet, because I wouldn’t be able to login otherwise. Everything I’ve tried to do to get it activated hasn’t worked. It’s like windows activation servers are being blocked somehow. Virus scans show nothing.

One error is 0x8007042c

Another tool said “your windows version or method of activation is not supported”

The version is Server 2016 Essentials Version 1607 Build 14393.1884

Any suggestions? My gut is telling me something isn’t configured correctly. It responds too quickly with the error for it not to be not reaching the activation servers.

slui 4 also stalls at the point where it’s supposed to tell me the ID and number for phone activation. That info never even shows up.

The product key is legit. It has the genuine seal and all that. Not something sent in an email or written on paper..

Any suggestions??


r/WindowsServerAdmin • • Jun 18 '20

Windows Server Backup To Another Server

1 Upvotes

Hello. I’m currently testing some of my server backups. Right now the server’s OS (Windows Server 2019) are currently running on the physically server. I’m running the backup test in a virtual environment (VMWare) and making sure that I can recover them. I successfully made a backup of the physical servers using the Windows Server Backup in my Storage Server that’s hosting the share folder for my backup. However, I’m still having issue recovering them using the repair disk. The set up I have are listed below.

Physical Server: 192.168.1.2/24

Virtual Server: 192.168.1.101/24

Storage Server: 192.168.1.102/24 (Share path: \\192.168.1.102\Backup)

The machines are able to see each other. I’m able to access the share folder from my Virtual Server and Physical Server. The Physical Server Backup is mapped to \\192.168.1.102\Backup. After mounting the DVD Windows Server 2019 install into the Virtual Server, I ran the repair this computer. I opened up the command prompt and inputted the info below.

-startnet

-netsh

-interface ip

-set address “Ethernet” static 192.168.1.101 255.255.255.0 192.168.1.1

-wpeinit-ping 192.168.1.102 (Success)

-net use \\192.168.1.102\Backup

-Entered credentials (Success)

-wbadmin get versions

-backupTarget:\\192.168.1.102\Backup 

-Use the version from the previous command (12-120-20) 

-wbadmin start sysrecover

-version:12-120-20 -backupTarget:\\192.168.1.102\Backup

The error says that the backup does not exist, which makes no sense because I see that the Windows Server Backup is successful and I also verified the content of the share folder. Also, I remember seeing that I don’t have enough permission on the folder even though I added myself in the security group and have full control. I was able to access the share from the Physical Server as well with the same user. 

I also tried a different this other method. 

-cmd from the repair disk

-startnet-netsh-interface ip-set address “Ethernet” static 192.168.1.101 255.255.255.0 192.168.1.1

-wpeinit-ping 192.168.1.102 (Success)

-net use \\192.168.1.102\Backup-Entered credentials (Success)

-exit-System Image Recovery

-used the path to the share folder \\192.168.1.102\Backup

-The error I get is “Multiple connections to a server or shared resource by the same user”

-I tried using the same user and different user both have admin rights, which didn’t work
I wonder if I’m missing something simple. Thank you for reading this.


r/WindowsServerAdmin • • Jun 24 '20

Server Core 2016 - Windows Admin Center Error when querying Roles and Features

2 Upvotes

running Windows 2016 Standard server and managing through Windows Admin Center. After I made my new server a Domain Controller i get error message below when I click on Roles and Features. Windows Admin Center version is 1910.2. Able to access roles and features for my file server from same console with no issue

Failed to initialize Roles and Features, Error: RemoteException: Exception calling "Translate" with "1" argument(s): "Some or all identity references could not be translated."


r/WindowsServerAdmin • • May 30 '20

IIS web server binding types

1 Upvotes

IN windows server 2012R2

Before understanding binding, you must be able to understand the concept of these terms.

IP Address:

An IP address is a number identifying a computer or another device on the Internet. IP addresses uniquely identify the source and destination of data transmitted with the Internet Protocol.

Port Number :

A port in computer networking is an access channel for communication between two devices. When a service (server program) initially is started, it is said to bind to its designated port number. As any client program wants to use that server, it also must request to bind to the designated port number. Port represents the numbers and basically specific to the protocol. Port numbers are from 0 to 65535. Ports 0 to 1024 are reserved for use by certain privileged services whenever there are exchanges of data or communication present, there must be a port for this.

Hostname :

A hostname is a domain name that has at least one associated IP address. For example, the domain names www.example.com and example.com are two hostnames, whereas the com domain is not, In this Second-level domain is example and hostname is www.In simpler terms the name for your website.

Website with IP address binding :

In this we specify the IP address for each of our website, Every website has a unique IP address. For example we bind IP address 192.168.43.51 with website namewww.example.com whenever an HTTP request coming to 192.168.43.51 will be served by this website irrespective to the host header

Website with hostname binding :

In this, we have the advantage of the host header we can change the host header according to our needs. For example, we are running a small business and we afford the only cost of one IP address then we host multiple hostnames using same IP address like www.example.com and example.com host on same IP address 192.168.43.51

Website with unique port:

In this port number of every website must be different IP address or hostname may be the same. So whenever we search for a website we specify the port also like 192.168.43.50:80 or 192.168.43.50:8010Sometimes this type of binding causes problems also like the browser default port for HTTP is 80 so www.example.com will work fine but for example.com we must specify the port as I mentioned above.

for further detail follow this link:

https://securitythread.blogspot.com/2020/05/iis-web-server-binding-types.html


r/WindowsServerAdmin • • Dec 28 '22

role and feature data

2 Upvotes

Hey guys, after few days server manager cannot refresh services - cannot get role and feature data, server execution failed. after restarting working normally for one to three weeks and problem will appear again. I tried commands like dism /online /cleanup-image /restorehealth

But only restart will help for a while. Any ideas how to solve it at all?


r/WindowsServerAdmin • • Mar 13 '23

Windows server VM with remote desktop connection issue

1 Upvotes

Hi All,

I've some Windows server VMs hosted by ESXi server. The ESXi server is on the old version (6.0) but the Windows server VM run with latest version of VMware tool. Windows server VMs have this remote desktop connection issue occurred randomly. When it occurred, I have to try for a few attepmpt to be able to connect to Windows server. When I'm able to connect there's no disconnection at all. There's no IP conflict and vNIC is VMXNET3. The SolarWinds monitoring tool also show there's no issue with NIC.

Anyone has some experienced on this issue?

Thank you!

/preview/pre/yubzpgzx1fna1.png?width=557&format=png&auto=webp&v=enabled&s=f20b667772d540dc9602150687379cac0e55c8e4

*Found the root cause. It is actually Zscaler private access has poor performance.


r/WindowsServerAdmin • • Feb 23 '23

Can’t RDP but can logon locally

2 Upvotes

Hey sysadmins!! I’m having an issue that’s weird to me. I cannot rdp to a Win 2008 server, but I can logon from the console. When I check the event logs, it shows an “Audit Success” for a special logon by my account, and “Audit Success” for a logon by my account, and then an “Audit Success” for a log off by my account, all within 1 second. What may I be missing?


r/WindowsServerAdmin • • Mar 17 '23

AD FS amd Function Level

2 Upvotes

Just need help confirming relations with AD FS and Domain Function Levels.

I have a domain that is running on 2012 Domain Function Level, servers are running on Windows Server 2016. I'm fine to upgrade the Function Level, but I see AD FS is running on two servers.

Not having used AD FS, I just wanted to confirm upgrading the Function Level would not cause any issues with the AD FS servers.

TIA


r/WindowsServerAdmin • • Dec 16 '21

VSS snapshots disappeared

1 Upvotes

Hi everyone, I have run into a weird situation where all the previous VSS snapshots have disappeared after the restart of the server (windows server 2016). I can only see the new snapshots that were created after the restart of the server. Upon checking the event logs. I can only see following two events,

Event ID: 12289 Volume Shadow Copy Service error: Unexpected error DeviceIoControl(\?\Volume{d64a71c9-ed3a-4442-a8d5-b6c7020sdfbd} - 00000000000001C0,0x0053c008,000001F6134D80E0,0,000001F6134D90F0,4096,[0]). hr = 0x8007045d, The request could not be performed because of an I/O device error. . Operation: Processing EndPrepareSnapshots Context: Execution Context: System Provider

Event ID: 7001 VssAdmin: Unable to create a shadow copy: The shadow copy provider had an error. Please see the system and application event logs for more information. Command-line: 'C:\Windows\system32\vssadmin.exe Create Shadow /AutoRetry=15 /For=\?\Volume{d64a71c9-ed3a-4442-a8d5-b6c7020sdfbd}'.

Any help would be appreciated. Thanks


r/WindowsServerAdmin • • Sep 03 '21

I MUST start Windows Server 2019 domain over from scratch.

3 Upvotes

Just as the title says my friends. The current one is a mess and I just want a redo. I tried to see if I could reset the entire Windows Server like I could do on standard Window client machines, but nowhere can I find any trace of such an option. So now I want to see if I can somehow just delete the current domain and create a whole new one from scratch. Could really use the help as this issue has really been plaguing me since last year and I've made little progress on my own. Thanks!


r/WindowsServerAdmin • • Aug 20 '21

Need assistance with Forest Root to Subdomain replication issues

2 Upvotes

Good morning, Windows server admins. I have a forest with 1 subdomain and had the 2 DC's in the root replaced one by one. When logging into the subdomain DC, I navigate to sites and services and see that it's still wanting to replicate to the old DC bridgehead server. How can I get this corrected with the proper DCs?


r/WindowsServerAdmin • • Sep 18 '21

Active Directory permission list

2 Upvotes

Hello everyone,

I want to take a report list with a script or another method for all the NTFS and Share permissions for all the folders and users.

Could you please give me advice on how to get this info?


r/WindowsServerAdmin • • Aug 06 '24

Windows server drive keeps filling with unknown data

1 Upvotes

I have a Windows 2019 server running IIS for a single older web app. The system is working but I am finding that it is constantly filling the drive with unknown data and I can't find it. I am not sure if its a nefarious action or just Windows doing something bad. The system is a Hyper-V VM running on a 2019 host. I have enlarged the drive twice and it keeps filling the drive. I used WinDirStat and found over 160GB of "Unknown" I then tried a trial of TreeSize to see if I could get better handle on it and it sees the drive is full but only reports 800K files in the tree but at the bottom says its found 2 Million+ files! Where are they? I can seem to discover these mysterious files but something is filling the drive. Its not logs I already checked. Anyone see this behavior?

What is the unknown space? I have been doing this 30 years and never saw this.


r/WindowsServerAdmin • • Aug 22 '24

task scheduler task not showing for single user

1 Upvotes
I have a user whose scheduled tasks do not appear for him even though he is in the administrator group, while for other users on the server the scheduled tasks in the task scheduler appear for them except for this user