Difference between pages "Main Page" and "Winsrvgen"

From TheBestLinux.com
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 +
= Windows Server - General Information Common to Most Versions =
  
= '''Welcome to TheBestLinux.com Wiki!''' =
+
== Installation, Setup & Initial Configuration ==
<br />
 
  
= '''TheBestLinux.com''' is now co-located in a data-centers globally! =
+
=== Common Pre-Requisites ===
<br />
 
= New Servers Added in Amsterdam & Singapore! =
 
<br />
 
The VM servers making up TheBestLinux.com and it's accompanying sites and services are physically located in data centers in Los Angeles, Amsterdam, Singapore & Western Oregon.  If you are interested in any of these types of setups, let me know!
 
<br /><br />
 
[http://TheBestLinux.com TheBestLinux.com] is your sources for Linux Operating System Solutions & Information,
 
<br />
 
and embraces "Open Source" sharing and collaborative development of useful solutions.
 
<br /><br />
 
TheBestLinux.com not only specializes with Linux based systems, with over 25 years of specializing in Linux based solutions, but also has over 40 years of experience with all things related to computers and computing, both hardware and software, as well as IoT - '''"The Internet of Things"''', embracing Internet based technology!
 
<br /><br />
 
  
= '''2021 - A New Year That Can Only Get Better!!!''' =
+
* Drive Storage Space
<br /><br />
+
** Size for OS & Data - Dependent on type of OS installation:  Core Minimal can install on as little as 10GB, but 12GB is the safest "minimal" drive size, or GUI(Graphical User Interface) Desktop Experience should have 20GB minimally.
= New Website Development & Programming Section Created =
+
** Filesystem type - Normal default NTFS or other not so common types, such as exFAT for VERY LARGE file size storage & can be read and written to with newer versions of the Linux OS!
Learn HTML5, CSS & Javascript to create killer websites! - [[Check it out here!]]
+
** Partition Table type - Old school MBR(Master Boot Record) or GPT(GUID Partition Table) - Dependent on age of computer and hard drive(s) - Usually automatically setup during OS installation, but partition table and partitions can be manually setup using a bootable utility disk based on Linux(I use a Knoppix bootable disk or USB thumb drive, depending on the age of the computer and availability of bootable media drives).
<br /><br />
+
** Memory - 1GB minimal of RAM memory is best for initial installation, and can be lowered to as little as 512MB after installation of the OS.  Of course, the more apps the server needs to run and serve, the more RAM memory will be required!
 +
** At least one network interface card(NIC), but 2 or more is best for many server functions.  Plus, if you have network based storage such as NAS or a SAN, like I having both, a dedicated network card and network switch is best practice by far, and will result in HUGE performance gains when utilizing network based data storage!
 +
** The Operating System(OS) installation media, either as an ISO image file, or as a virtual hard disk image, if your are using a pre-built OS image in a virtual environment.
  
= New PHP Info Micro How-To Right Here! =
+
That's pretty much it, as there are of course extra options you can have and use, depending on your serer's purpose.  For now, this will get you going.
[[Phpinfo_page|PHP Info]]
 
<br /><br />
 
  
= Newest Linux Info, Tips & Tricks! =
+
== Operating System Installation ==
 +
Boot up the system with the installation media connected to the server machine, and boot into the BIOS and configure it to boot up on either the CD/DVD ROM or USB device, depending of course on the type of installation media you are using, and go through the prompts to install the OS.
 +
Here is a great web page with excellent step-by-step instructions and photos of the entire process, both for the CORE OS installation(No GUI/Desktop), or the "Desktop Experience":  https://softwarekeep.com/help-center/windows-server-2022-installation-guide-step-by-step
  
== Add Windows Partitions to FSTAB with Correct Read/Write Permissions Using FMASK & DMASK ==
+
== Initial Windows Server Bootup & Setup ==
Although it's easy enough to simply add the partition and mount point of your Windows installation to your /etc/fstab file, so as to allow it to be auto-mounted when the machine is booted up, having the "CORRECT" permissions is another major concern!
+
The first time your new server boots up, you will have to go through some initial steps to setup some basic stuff.  Among them, you will want to set the local Administrator's password to something very complex, with a mix of upper & lower case letters, along with some special characters and numbers, but something you will NEVER forget if you are not using a password manager, which I STRONGLY recommend!  I have used multiple clients based on the "Keepass" protocol, as there are many apps that use it for every OS and and phone!
  
In the "old" days, we used to use "UMASK" with a value of 022 as the "standard" way of setting up Windows partitions to be mounted with correct read/write permissions.  These days, the "preferred" method is using FMASK and DMASK.
+
As this is a "SERVER", it should have it's IP address(s) configured to use "static" IP addresses, meaning the same IP address every time the server is booted up!  This will ensure the server is always available at the same IP address, which is critical for a "server"!  To start up the Windows network card interface control window, type and run this command:  control netconnections
  
When I first purchased the laptop I am typing on right now, it only had Windows 10 on it, so I used the Linux "parted" tool to shrink down the Windows partition, allowing me to then create Linux partitions on which I then installed my favorite desktop Linux distro, Fedora Linux.  My example below assumes your UID & GID are 1000.  Adjust as appropriate.  If you don't know what a UID is, use Google to look it up.  Basically, as it's name implies, UID(User ID), this is the unique number assigned to your user accountUID number 1000 is usually the first normal user created on a Linux system.  GID is basically the same thing, but on a group levelOn most Linux systems, your main group and group ID is the same as your username and user IDFor instance, in my case on this laptop I am currently using, my username is "jamie", case sensitive without the quotes, and my main group membership is also "jamie".  My UID is 1000 and the GID of the "jamie" group is also 1000.
+
A window will open up with network icons for each network interface card(NIC) connected to the server computer.  Right-click on the first "Ethernet icon, then left normal click on "Properties" in the pop-up menuThen, double-click on Internet Protocol Version 4(TCP/IPv4) to bring up the network configuration windowClick on the radio button "Use the following IP address:" to allow you to then type in the IP address, Subnet mask, and Default gatewayType the appropriate IP addresses according to your local network configuration schema, and do the same for "Use the following DNS server:"Click "OK", and then click on "OK" again to save the new network configuration.
  
Here is the /etc/fstab contents of this laptop:
+
== Post Installation ==
<pre style="color:blue">
 
# /etc/fstab
 
# Created by anaconda on Tue Mar  9 00:57:29 2021
 
#
 
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
 
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
 
#
 
# After editing this file, run 'systemctl daemon-reload' to update systemd
 
# units generated from this file.
 
#
 
UUID=dca7d381-2784-4839-8c55-141702999d41 /                      xfs    defaults        0 0
 
UUID=68e3c043-0b5d-40a6-af84-a39527756962 /boot                  ext4    defaults        1 2
 
UUID=c9db933c-2101-4032-ae0d-b359c523c3be /home                  xfs    defaults        0 0
 
UUID=ec82d8bd-8bcd-4c8e-9a95-217baeb8b004 none                    swap    defaults        0 0
 
  
# Added 04-05-2021 by Jamie to correctly auto-mount the Windows partition:
+
=== Setting up Server Roles ===
UUID=5C2C252E2C25049C /windows ntfs rw,auto,user,fmask=133,dmask=022,uid=1000,gid=1000 0 0
 
</pre>
 
<br /><br />
 
  
== GNOME Desktop Sharing Not Accessable from Windows --> Finally Fixed!!! ==
+
If this server is "NOT" going to be an Active Directory Domain Controller(AD DC), it most likely then should join an existing Windows Active Directory "Domain", which you will know as it's a basic knowledge requirement of creating a new Windows serverTo join an existing Active Directory domain, and rename the server's hostname at the same time, using the "Computer System Properties tool", which can be quickly started by typing and running the command:  sysdm.cpl and hitting ENTER. Click on the "Change" button to the right of "To rename this computer or change its domain or workgroup, click Change. Type the new Computer name, as preferred, and then select the radio button to the left of "Domain", to allow you to then type in the domain you want to join. In my case, I used one of my personal domains, dawgland.com.
After many years of not being able to log into my Linux desktops from work laptops that of course have Windows installed on them, even within my own home network, gsettings comes to the rescure to resolve this long standing issue that's been a major inconveneice for me being a Linux guy working in the corporate world!  The solution fixing the terminal menu below got me thinking that gsettings must be able to re-configure the default behavior of modern GNOME desktop's desktop shareing feature, which uses VNC, Virtual Network Computing, and specificially "x11vnc", it's default configuration is a security model not supported by most WIndows VNC clients. Therefore, the easy fix for me is to disable the security when using VNC on my local network(LAN)I actually do use VNC on through the internet as well, but always through an SSH tunnel, so it's highly encrypted!
 
<br /><br />
 
Anyways, on to the fix.  Within a terminal, as your normal user, type this gsettings command and hit the ENTER key:
 
<pre style="color:blue">
 
[jamie@server.dawgland.com:~]$ gsettings set org.gnome.desktop.remote-desktop.vnc encryption "['none']"
 
</pre>
 
<br />
 
If your system uses Vino, as many do, you may also have to type this command and hit ENTER:
 
<pre style="color:blue">
 
[jamie@server.dawgland.com:~]$ gsettings set org.gnome.Vino require-encryption false
 
</pre>
 
<br />
 
You can verify the above command worked and made the desired change by typing this command and hitting the ENTER key:
 
<pre style="color:blue>
 
[jamie@server.dawgland.com:~]$ gsettings list-recursively org.gnome.Vino
 
</pre>
 
<br />
 
You will have to scroll back up through all the data that the above command will provide to find the section you are looking for, or you can grep for it! For instance, modifying the above command to grep for the remote-desktop setting, type this command in a terminal and hit the ENTER key:
 
<pre style="color:blue">
 
[jamie@server.dawgland.com:~]$ gsettings list-recursively org.gnome.desktop.remote-desktop.vnc | grep encryption
 
</pre>
 
<br />
 
Restart your window manger or your entire computer, your choice, but logging out and back in should suffice. You should then be able to use VNC from any operating system, including Windows and MAC, along with Linux which has always worked regardless of the security modes and settings!
 
<br /><br />
 
  
== Fedora Terminal Missing Menu Fix ==
+
A reboot will be required, and at next bootup, you will be required to login as either the local administrator user, or an existing Active Directory domain user account, which you should already know. To login as the local Administrator, in the "User name" login field, type computers's hostname first, followed with a back-slash, and the name "Administrator", such as this:
gsettings set org.gnome.Terminal.Legacy.Settings headerbar false
 
  
== USB Flash Drive Info ==
+
hostname\administrator
Have a USB flash drive floating around, and not sure of it's capabilites?  I just ran into that same exact issue, though with a brand new USB flash drive that's a really kewl 500GiB double-ended thumb-type drive, one end the standard USB-A connector, and the other end, an iPhone "Lightning" connector!  Perfect for me with all my iPhones, iPads, and over 74 computers just in my house!
 
  
So, here's a simple one-liner to find out how fast it will run at, which is all I really wanted to kmnow at this immediate moment in time!
+
In my case, to log into the VM(Virtual Machine) Windows Server I have running on my home network, I use this:
Here it is:
 
<pre style="color:blue">
 
[jamie@fc33hw01.dawgland.com:~]$ sudo lsusb -vvv | grep operate
 
</pre>
 
<br />
 
And here is the output of the above command, showing the speeds the device is capable of operating at:
 
<pre style="color:blue">
 
can't get debug descriptor: Resource temporarily unavailable
 
      Device can operate at Full Speed (12Mbps)
 
      Device can operate at High Speed (480Mbps)
 
      Device can operate at SuperSpeed (5Gbps)
 
can't get debug descriptor: Resource temporarily unavailable
 
can't get device qualifier: Resource temporarily unavailable
 
can't get debug descriptor: Resource temporarily unavailable
 
can't get debug descriptor: Resource temporarily unavailable
 
can't get device qualifier: Resource temporarily unavailable
 
can't get debug descriptor: Resource temporarily unavailable
 
can't get debug descriptor: Resource temporarily unavailable
 
can't get device qualifier: Resource temporarily unavailable
 
can't get debug descriptor: Resource temporarily unavailable
 
[jamie@fc33hw01.dawgland.com:~]$
 
</pre>
 
<br />
 
You can totally ignore the lines starting with the word "cant", as they are meaningless.
 
As you can see from the above output, the device can operate at "Full", "High", and "SuperSpeed"!  Wonderful, I now know what I wanted. I hope you find that little tidbit useful.  Of course, you do have to be a member of the "sudoers" group.  So, on that note, why not create another little snippet on how to add a normal, already existing user account to the sudoers group, allowing them to "safely" run apps with eleveate administrator/root user privileges.  I'll put it here: [[SUDO|SUDO - Running commands and apps with elevated superuser/root/administrator privileges safely!]]
 
  
= News =
+
win19vm10\administrator
The LinuxJamie.com, TheBestLinux.com & Dawgland.com web and email servers have been moved over to a new box that should provide much faster performance and more stability.  Previously, the servers had been running on a very old VMWare server on my Fedora desktop.
 
<br /><br />
 
I have also maxed out the RAM memory that my new Xeon based server motherboard is able to use, doubling it from 16GB to 32GB!
 
<br /><br />
 
Please let me know if you experience any performance or other issues with any of my websites.
 
<br /><br />
 
The best way to let me know is by email, @ Jamie at Dawgland.com.
 
<br />
 
<br />
 
  
= New Pages Created! =
 
<br />
 
I've created '''LOTS''' of new Windows related pages with all sorts of Windows tips, tricks,and How-To's.  They can all be accessed directly at [[Windows]] so be sure to check them out, as I am currently added many new tips almost daily as I remember how to do things as I need to recall for both work and personal purposes.
 
<br /><br >
 
Previous "New Wiki Pages":
 
<br />
 
New VMWare page created including two new custom how-to solution pages! Check it out here: [[VMWare|VMWare Page]]
 
<br />
 
<br />
 
  
= '''Special Interest''' =
 
== '''Linux''' ==
 
[[Linux|Linux - THE BEST OS(Operating System) EVER!]]
 
<br /><br />
 
[[Linux_Acronyms|Linux Acronyms - What do they all mean?!?!]]
 
<br /><br />
 
[[Linux_Distros|Linux Distributions, aka "Distros" - Bundles of software that makes up an entire usable operating system, including apps, utilities, etc.]]
 
<br /><br />
 
  
== '''Brand New Linux Server Administration Info, Tips & Guides''' ==
+
Type in the local administrator password you setup during initial installation of the Windows Server operating system, hit enter, and you should then be logged into the new server!
[[NewLinuxInfo|Brand New Linux Server Info, Configuration Guides & Very Useful Info on The Newest Distro Versions, Including Systemctl, the Replacement for Init.d Scripts and DNF, the new and modern Yum replacement!  There's also lots of other new more modern Linux information added to this section all the time, so be sure to check it out often!  For example, just today I added a really cool and handy Red Hat Enterprise 5,6 & 7 cheat sheet for common administrative commands in PDF format suitable for printout as "Hang-on-the-Wall" posters!!!]]
 
<br /><br />
 
  
== Apple iOS ==
+
You can then proceed to install and configure the Windows Server "Roles" and "Features" your new server will be running/serving. Here's a great page from Microsoft on installing and uninstalling those Roles and Features your new server will be serving/hosting:
[[iOS|Apple iOS Info]]
 
<br /><br />
 
== Linux Gaming ==
 
[http://store.steampowered.com/steamos SteamOS: Linux based gaming operating system]
 
<br /><br />
 
  
== MS Windows ==
+
https://learn.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features
[[windows|Microsoft Windows Operating System Info - The Desktop operating system most people use at home and at work.]]
 
<br /><br />
 
  
[[win10|Windows 10 Information, Tips, Tricks, & Very Useful Stuff! - Includes Business Related Must Have Info and How-To's!]]
 
<br /><br />
 
  
== VirtualBox by Oracle ==
+
=== Server Licensing ===
[[VirtualBox|VirtualBox provided for free by Oracle!!!  Great VM solution which is totally free, unlike how VMWare has gone commercial, and is supposed to remain free forever.  Better than VMWare in my tests and opinion, and is now being used to host all of my VM's, including this one running my Apache web server!]]
 
<br /><br />
 
  
== DNS Info ==
+
Windows Server - Command-Line tool SLMGR.VBS - A Visual Basic tool used to manage Windows Server license from the command line.
[[DNS_Info|DNS, Bind, Named and other DNS related information]]
 
<br /><br />
 
[https://www.google.com/search?site=&source=hp&q=simple+setup+of+local+dns+server+on+fedora+20&oq=simple+setup+of+local+dns+server+on+fedora+20&gs_l=psy-ab.3..33i160k1.5620.23848.0.24086.59.50.8.0.0.0.132.3794.47j3.50.0....0...1.1.64.psy-ab..1.53.3523.0..0j0i3k1j0i131k1j0i13k1j0i13i5i30k1j0i13i10k1j0i10k1j0i22i30k1j33i22i29i30k1j33i21k1.xdyAYoDBEa0 BIND Named DNS Server on Fedora Google Search]
 
<br /><br />
 
[https://www.youtube.com/watch?v=qAuZ4sRRcOw Bind on Fedora YouTube Video How-To]
 
<br /><br />
 
<br /><br/>
 
More info on the BIND DNS server to come as I find the time to create more documentation...
 
  
<br /><br/>
+
Basic usage from a command prompt is as follows:
 +
<pre style="color:blue">
 +
C:\Users\Administrator>slmgr.vbs /dli
  
== VMware ==
+
</pre>
[[VMWare|VMware - Run virtual machines(computer running on top of your computer - let's you run Linux on Windows, Windows on Linux, other versions of Windows on Windows, etc.) on your existing computer and it's free & easy!]]
 
<br /><br />
 
  
== Remote Desktop & VNC Info For Linux & Windows! ==
+
This causes a pop-up graphical window with current license information. 
[[RDP_Info|RDP - Remote Desktop Protocol for Windows - Now Safe Using SSH Tunneling!]]
 
<br /><br />
 
  
== VNC - Virtual Network Computing ==
+
For more detailed information, change the commandline switch from /dli to /dlv, like this:
[[VNC_Info|VNC - Remote Virtual Network Computing for All Operating Systems!]]
+
<pre style="color:blue">
<br /><br />
+
C:\Users\Administrator>slmgr.vbs /dlv
  
== VPN Server & Client Setup Using Linux ==
+
</pre>
[[VPN_Info|VPN - Setup a Virtual Private Network Easily Using a Linux Server!]]
 
<br /><br />
 
 
 
== MySQL & MariaDB ==
 
[[MySQL|MySQL & MariaDB, the FREE MySQL Clone! - My Favorite SQL Database Servers]]
 
<br /><br />
 
 
 
== Vi/Vim ==
 
[[Vi|Vi/Vim Information, Tips & Tricks]]
 
<br /><br />
 
 
 
== PERL ==
 
[[PERL_Info|Perl Scripting Information]]
 
<br /><br />
 
 
 
== PHP ==
 
[[PHP_Info|PHP Scripting Information]]
 
<br /><br />
 
 
 
== DOS & Windows ==
 
[[DOS_Windows|DOS & Windows - Still gotta use it for some work, unfortunately...]]
 
<br />
 
[[iTunes_Info|iTunes Information for Windows]]
 
<br /><br />
 
 
 
== Hardware ==
 
=== Raspberry Pi ===
 
* Versions
 
* Types
 
* Upgrades
 
** Cameras
 
** Other
 
 
 
== Cisco Information ==
 
[https://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/command/reference/ffun_r/frf001.html Cisco IOS Command Line Information]
 
<br /><br />
 
[https://www.cisco.com/c/en/us/support/routers/10000-series-routers/tsd-products-support-series-home.html Cisco 1000 Series Enterprise Routers]
 
<br /><br />
 
 
 
== Some of My Old floppy Disk Utilities ==
 
[http://dawgland.com/floppy-disks/ Here is a link to the link to the ISO of Jamie's Floppy Disk Utilities]
 
<br /><br />
 
 
 
== Network Utilities ==
 
[[Dropbox|Dropbox info for All Platforms & Operating Sytems - Great for synchronizing, backing up, restoring and archiving all of your important files over the local network and Internet to all of your computers and mobile devices!  Keeps all of your files the same on all of your computers, iPhones, iPads, and other networked devices at all times!!!]]
 
<br /><br />
 
== UPnP & DNLA Info ==
 
Differences and similarities between the two media sharing protocols can be found here [https://www.linksys.com/us/support-article?articleNum=138198 UPnP & DNLA Comparison]
 
<br /><br />
 
 
 
== Web Utilities ==
 
[[Sitebar|Sitebar Bookmarks/Favorites utility which stores and organizes all your bookmarks/favorites in an online database accessible from any web browser and any computer anywhere.  Plugs available for your favorite web browsers are also available.  Run your own Sitebar on your own Linux server, or use mine!  Just email jamie@dawgland.com to request your own free Sitebar database!]]
 
<br /><br />
 
 
 
== CA Certificate Info ==
 
[[FreeCA_Certs|Free CA Certificate Information]]
 
<br /><br />
 
 
 
== Other Operating Systems ==
 
[[ReactOS|ReactOS]]
 
<br /><br />
 
 
 
== Drupal Info ==
 
[[Drupal|Drupal_Information]]
 
<br /><br />
 
 
 
= Online Shopping & Related Info =
 
[[online_shopping|Internet Based Shopping Including Online Store Info & Personal Experiences]]
 
<br /><br />
 
[[online_pmnts|Online Banking, Payment Options & Other Monetary  Information]]
 
<br /><br />
 
 
 
= Download Safe Software! =
 
[[Downloads|Tested Safe Software Downloads]]
 
<br /><br />
 
 
 
= Some Useful Links =
 
[[Useful|Here are some lists of useful URL's and other links on all sorts of topics yet to be categorized!]]
 
<br /><br />
 
 
 
= Reference & Miscellaneous Information =
 
[[Conversions|Miscellaneous Conversion and Other Reference Information - Including Metric Conversions]]
 
<br /><br />
 
  
= Coming Soon =
+
It will also create a pop-up graphical window with much more detailed information about the current license status.
I just bought the new iPad 3rd generation, so will be adding a new section dedicated to tips and tricks I learn on the way!
 
<br /><br />
 
I've already learned a lot of cool things that are not normally available without jail breaking the thing,
 
<br />
 
so check back every so often for new iPad content!
 
<br /><br />
 
Thanks for visiting [http://www.dawgland.com/wiki/ My Wiki!]
 
<br /><br />
 
  
= Wiki Abuse =
+
Here are MUCH MORE detailed information regarding the slmgr.vbs tools at Microsoft:
The ability to create your own account has been seriously abused for personal and commercial gain, so I have disabled this feature.
 
<br /><br />
 
If you wish to contribute content here, please email Jamie at
 
[mailto:jamie@dawgland.com jamie@dawgland.com], and I will create an account for you.
 
<br /><br />
 
This policy is subject to change.
 
<br /><br />
 
  
= Copyright Statement =
+
https://learn.microsoft.com/en-us/windows-server/get-started/activation-slmgr-vbs-options
All content and information on this website is the sole property of Jamie D. Rubinstein.
 
<br />
 
Any type of duplication is strictly prohibited by United States copyright law unless otherwise granted by Jamie D. Rubinstein.
 
<br />
 
&copy; 1992 - 2021 Jamie D. Rubinstein - LinuxJamie.com - Dawgland.com - TheBestLinux.com - J.R. Computers. All rights reserved.
 
<br /><br />
 

Revision as of 21:39, 1 October 2022

Windows Server - General Information Common to Most Versions

Installation, Setup & Initial Configuration

Common Pre-Requisites

  • Drive Storage Space
    • Size for OS & Data - Dependent on type of OS installation: Core Minimal can install on as little as 10GB, but 12GB is the safest "minimal" drive size, or GUI(Graphical User Interface) Desktop Experience should have 20GB minimally.
    • Filesystem type - Normal default NTFS or other not so common types, such as exFAT for VERY LARGE file size storage & can be read and written to with newer versions of the Linux OS!
    • Partition Table type - Old school MBR(Master Boot Record) or GPT(GUID Partition Table) - Dependent on age of computer and hard drive(s) - Usually automatically setup during OS installation, but partition table and partitions can be manually setup using a bootable utility disk based on Linux(I use a Knoppix bootable disk or USB thumb drive, depending on the age of the computer and availability of bootable media drives).
    • Memory - 1GB minimal of RAM memory is best for initial installation, and can be lowered to as little as 512MB after installation of the OS. Of course, the more apps the server needs to run and serve, the more RAM memory will be required!
    • At least one network interface card(NIC), but 2 or more is best for many server functions. Plus, if you have network based storage such as NAS or a SAN, like I having both, a dedicated network card and network switch is best practice by far, and will result in HUGE performance gains when utilizing network based data storage!
    • The Operating System(OS) installation media, either as an ISO image file, or as a virtual hard disk image, if your are using a pre-built OS image in a virtual environment.

That's pretty much it, as there are of course extra options you can have and use, depending on your serer's purpose. For now, this will get you going.

Operating System Installation

Boot up the system with the installation media connected to the server machine, and boot into the BIOS and configure it to boot up on either the CD/DVD ROM or USB device, depending of course on the type of installation media you are using, and go through the prompts to install the OS. Here is a great web page with excellent step-by-step instructions and photos of the entire process, both for the CORE OS installation(No GUI/Desktop), or the "Desktop Experience": https://softwarekeep.com/help-center/windows-server-2022-installation-guide-step-by-step

Initial Windows Server Bootup & Setup

The first time your new server boots up, you will have to go through some initial steps to setup some basic stuff. Among them, you will want to set the local Administrator's password to something very complex, with a mix of upper & lower case letters, along with some special characters and numbers, but something you will NEVER forget if you are not using a password manager, which I STRONGLY recommend! I have used multiple clients based on the "Keepass" protocol, as there are many apps that use it for every OS and and phone!

As this is a "SERVER", it should have it's IP address(s) configured to use "static" IP addresses, meaning the same IP address every time the server is booted up! This will ensure the server is always available at the same IP address, which is critical for a "server"! To start up the Windows network card interface control window, type and run this command: control netconnections

A window will open up with network icons for each network interface card(NIC) connected to the server computer. Right-click on the first "Ethernet icon, then left normal click on "Properties" in the pop-up menu. Then, double-click on Internet Protocol Version 4(TCP/IPv4) to bring up the network configuration window. Click on the radio button "Use the following IP address:" to allow you to then type in the IP address, Subnet mask, and Default gateway. Type the appropriate IP addresses according to your local network configuration schema, and do the same for "Use the following DNS server:". Click "OK", and then click on "OK" again to save the new network configuration.

Post Installation

Setting up Server Roles

If this server is "NOT" going to be an Active Directory Domain Controller(AD DC), it most likely then should join an existing Windows Active Directory "Domain", which you will know as it's a basic knowledge requirement of creating a new Windows server. To join an existing Active Directory domain, and rename the server's hostname at the same time, using the "Computer System Properties tool", which can be quickly started by typing and running the command: sysdm.cpl and hitting ENTER. Click on the "Change" button to the right of "To rename this computer or change its domain or workgroup, click Change. Type the new Computer name, as preferred, and then select the radio button to the left of "Domain", to allow you to then type in the domain you want to join. In my case, I used one of my personal domains, dawgland.com.

A reboot will be required, and at next bootup, you will be required to login as either the local administrator user, or an existing Active Directory domain user account, which you should already know. To login as the local Administrator, in the "User name" login field, type computers's hostname first, followed with a back-slash, and the name "Administrator", such as this:

hostname\administrator

In my case, to log into the VM(Virtual Machine) Windows Server I have running on my home network, I use this:

win19vm10\administrator


Type in the local administrator password you setup during initial installation of the Windows Server operating system, hit enter, and you should then be logged into the new server!

You can then proceed to install and configure the Windows Server "Roles" and "Features" your new server will be running/serving. Here's a great page from Microsoft on installing and uninstalling those Roles and Features your new server will be serving/hosting:

https://learn.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features


Server Licensing

Windows Server - Command-Line tool SLMGR.VBS - A Visual Basic tool used to manage Windows Server license from the command line.

Basic usage from a command prompt is as follows:

C:\Users\Administrator>slmgr.vbs /dli

This causes a pop-up graphical window with current license information.

For more detailed information, change the commandline switch from /dli to /dlv, like this:

C:\Users\Administrator>slmgr.vbs /dlv

It will also create a pop-up graphical window with much more detailed information about the current license status.

Here are MUCH MORE detailed information regarding the slmgr.vbs tools at Microsoft:

https://learn.microsoft.com/en-us/windows-server/get-started/activation-slmgr-vbs-options