Windows Server 2016

432

Solutions

553

Contributors

Windows Server 2016 is the successor to Windows Server 2012 R2. Built upon the same core code as Windows 10, Windows Server 2016 brings enhancements in security, servicing, and connectivity. A particular focus on this release was hybrid-cloud scenarios, and has close ties to Azure and other Microsoft cloud initiatives. This does not detract from the many improvements that are available for on-premises-only deployments

Windows Server 2016 comes in Datacenter, Standard, and Essentials editions, and for servicing, has adopted windows 10's cumulative model. The new nano-server install is designed to be remotely managed and is designed to be kept current through continuous feature updates. The full GUI install operates similarly to windows 10's "Long Term Servicing Branch" (LTSB) model with cumulative security updates.

Windows Server 2016 has also shifted from a per-processor-and-CAL licensing model to a per-core-and CAL licensing model. This brings Windows Server's licensing more in line with Microsoft's other products and makes hybrid-cloud license planning easier as well.

Share tech news, updates, or what's on your mind.

Sign up to Post

I need a Power Shell script that will generate a .CSV file that when viewed within Excel will show all user's Active Directory logon names (in column A) and the date that user's AD password was last changed (in column B).
0
Optimize your web performance
LVL 1
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Please provide me with the correct Power Shell script that will change each user's AD password based upon a .CSV spreadsheet.

This .CSV script will have two columns with column A containing the user's AD SAM name (logon username) and column B containing the password that each user's AD logon username should be changed to (see this .CSV file below).

All of these AD accounts listed within column A already exist within Active Directory. I just need to create a Power Shell script that will run, read each AD username, and then change this username's AD password to the password shown in column B.

Column A for the AD username is named SAM. Column B for the AD password is named Password.

If you have any questions please let me know.

CSV scriptCSV-script.csv.xlsx
0
What is the power shell command that can be run that will generate a .CSV file list of all Server 2016 AD User Logon names (see the screenshot)?

I need to be able to import this .CSV of user logon names into an Excel spreadsheet where all usernames will be listed in column A.

AD-USER-LOGON-NAME
0
Hey there

Is it true that there isn't a supported means of disabling automatic installation of updates, or automatic reboots on Wink216?  As for automatic updates, I have seen as recent as a few weeks ago, where Microsofts updates in conjunction with an antivirus application rendered a group of Windows 10 machines unusable.  Needless to say, to allow such a thing as auto updates, is insane.  
Secondly - auto-reboots? Auto-reboots=guaranteed dataloss.  Sadly, I see this all the time in several sites where users leave their files open, may not save them, and if a file server is rebooted oopsy, just lost all their work.  Is Microsoft kidding?  That being said, doing a new install at a site of half a doz servers, I think I will keep it to 2012.    Unless of course there is a way to do this in a controlled fashion.
With server updates, on Vms, actually not a bad idea to do a snapshot first.  With Microsoft deciding when they do things, good luck in having the luxury of recovering from their often undertested updates.
Thoughts/ideas?
Thanks guys!
0
Hi Experts,

I rebuilt a new 2016 Core Virtual Server.  
I am trying to install WSUS, the install is successful up until after the restart, then the post installation tasks keep failing.
I tried the fix with the 2012 server and uninstalled it and deleted the Windows/WID folder and it didn't make any difference, same behavior.
Here are the errors from the logs:

Failed to restart the current database. The current database is switched to master.
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
   at Microsoft.UpdateServices.Administration.ConfigureDB.ExecuteQueryNoResults(String query)
   at Microsoft.UpdateServices.Administration.ConfigureDB.SetMultiUser(Boolean noFail)
ClientConnectionId:b27e8565-d50c-48a6-962a-2ba75ea0eb9c
Error Number:3605,State:1,Class:16
2017-08-18 07:59:03  Disposing Connection
2017-08-18 07:59:03  Clearing Connection Pools
2017-08-18 07:59:03  System.Data.SqlClient.SqlException (0x80131904): Schema verification failed for database 'SUSDB'.
ALTER DATABASE statement failed.
Failed to restart the current database. The current database is switched to master.
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
   at …
0
I just upgraded a terminal server to 2016, how exactly do i go about remote controlling another logged on user session?

in previous versions it was simple, open tsadmin.msc and right click the user, remote control.

every turn in 2016 makes it apparent that MS has decided to make things less functional by making everything 8x the work to get something done.
0
Right, I'm finally going to ask for help...

Right at this moment I am trying to setup windows hello for business in a 2016 server domain. (I also need to set it up in an SBS 2011 domain as well)

I have installed and configured the most up to date windows 10 ADMX files and the relevant Group Policy etc. This leaves WIndows Hello greyed out and the message "These settings are managed by your domain administrator" (something along those lines).

I have since found out that Windows Hello must be configured in the domain first... https://docs.microsoft.com/en-us/azure/active-directory/active-directory-azureadjoin-passport-deployment

Is this correct? If this is correct... as I understand "Microsoft System Center" is a paid product. Do I need to buy this product to get windows hello for business working in my domain? Where does this leave me in an SBS2011 environment?

thanks for all your help
0
Need to export users from google g-suite and import into AD DC2016.  Powershell script or other tool?

Anyone done that?
1
I've set up a 2016 WSUS Server and have performed a successful synchronization. I've been testing with one server client (also 2016) just to make sure I can get it working correctly the way I want to before I go edit the Master GPO's on each domain and make this change permanent. The problem is I can't get this client to show in the WSUS Console

Firewalls are off on both server and each machine can ping each other. If I browse to http://WSUSservername I get hit with the IIS web page

When I open the local gpo on the client server, i've edited the correct windowsupdate policy object so that http://WSUSservername is the target WSUS server (I also see this http:// address in the registry)

What is it that i'm missing here? First time setting up WSUS in almost a decade so would appreciate some help! Thanks in advance
0
Spun up a DC too fast.  Wonder now how to change a DNS Domain name from domain.local to domain.com and also a NetBIOS name.  
Worth the stretch or easier just to wipe and reinstall?
DC Win2016 Server Standard.
0
Get real performance insights from real users
LVL 1
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

So I didn't select a Desktop Experience while installing Server Standard 2016.   And looks like it installed a Core Edition.  Just a CMD command line.  
Does is mean no Desktop Experience is a Core Experience?
0
First time asking a question.
Basically im having an issue at my school district. I have many Vlans that are internal "Same Building". My DFS Servers are on Vlan 5 "IP 10.0.0.0/21", and i setup the teachers to use Vlan 10 "Ip 11.1.0.0/19". They do connect to the dfs server but it is very slow. If i try to \\DFS\DFS it take upwards of 10 minutes to prompt me for a username or password. But if i \\IPAddress it will instantly pop up.
From Vlan 10 i can ping, remote desktop and everything inbetween to vlan 5. DFS is the only thing struggling.
0
Hi there.

I moved a web database app from a standard webhotel with classic asp and MySQL to a dedicated Microsoft server with SQL Server. There is a login page that check the user credentials in a database table in order to proceed. That used to work fine on the standard webhotel.
Now it won't work. I created a user that works fine in SQL Server Management. I used a standard connection string and included it in the login page. The page loads fine, but then the user credentials is submitted, then I just gives a blank page. Nothing to see in F12. I suspect that there may be an issue with some port permissions.
Anyone out there who knows what port that should be open and how to open it? Any  other suggestion to solve this problem?

Best regards

Ulrich
0
I have a client with 2 Dell T630 Servers (practically identical boxes purchased about 6 months apart). One runs Server 2012 R2 Standard, the other Server 2016 Standard. Both run Hyper-V. Each box hosts one VM (VHDX files).

I have multiple backups of the 2012 Server (Altaro VM backups, Macrium backups of the physical box, and I’d also make direct copies of the VHDX files as well before proceeding).

The 2016 box hosts a VM with Server 2016 Standard acting as a Domain Controller. The 2012 box hosts a VM running Server 2012 Standard joined to the domain. It is not a secondary DC, etc. – it is only a member Server that runs a database program that multiple users access.

Note - the host boxes are not joined to the Domain – just the VMs are Domain members.

The 2012 R2 box has a hardware RAID 1 array for the OS (Dell Perc H730p Controller). Storage Spaces handles the Hyper-V VM files. The Storage Pool was created as a mirror using 4 Samsung PM863a SSDs.

I needed to add space to the pool. Added 2 more PM863a drives to the Pool. The problem is that 2012 R2 Hyper-V cannot optimize the storage space used, so the 4 original drives are ‘full’ (i.e., they show as being 99% full) and the 2 new drives are practically empty. As I understand it, the 2 new drives will get allocated any new storage as needed.

I’d like to take advantage of the new features of 2016 Hyper-V (one of which is the ability to optimize the storage pool). My question is how to best accomplish the …
0
We realize that is against recommend best/standard practices however we have always been able to get RDS (formerly Terminal Services) installed on a domain controller.  This is golden for small offices (think five computers-ish) that require remote desktop but can't afford two physical or virtual servers.

With the introduction of Server 2016 we found ourselves unable to install Active Directory Domain Services alongside with Remote Desktop Services or vice versa.  We ended up virtualizing the ADDS portion but really would have preferred to avoid having to do that.

Anyone out there got it working?
0
In this screenshot what is the exact location of the Test Test user (see the bottom of the screenshot)? Is it OU=users,DC=company,DC=com or is it something else?

The domain name for this organization is company.com

ACTIVE-DIRECTORY-USERS-AND-COMPUTERS
0
when we upgrade the report to our new server the xml export stopped working.

I've been trying t troubleshoot but since i'm not to familiar with xslt transformations i'm having a hard time finding the problem.

I think the problem is with name spaces.
if i use this code i got from here i can get the entire xml to export
</xsl:template>
    <xsl:template match="node()">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:apply-templates select="node()"/>
        </xsl:copy>
    </xsl:template>

but when i try to match a specific node it fails.

my original xml without the transformation comes out like this:
<?xml version="1.0" encoding="UTF-8"?>
<Report xmlns="Logos_x0020_Export_x0020_Report" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="Logos_x0020_Export_x0020_Report http://reportserver?%2FLogos%20Export%20Report&rs%3AFormat=XML&rc%3ASchema=True" Name="Logos Export Report">
   <Tablix1>
      <Textbox15>
         <Textbox19 />
      </Textbox15>
      <Group2_Collection>
         <Group2>
            <Group1_Collection>
               <Group1 Group1="PB2017-1886&amp;#xD;&amp;#xA;">
                  <NamePaidby1 NamePaidby1="INTERIOR ENVIRONMENTS&amp;#xD;&amp;#xA;48700 ADDRESS City ST 111111" PaymentType="Check Number: " CheckNumber="30000" TotalAmount="167.00">
                     <Details_Collection>
                        <Details Description="Initial Plan Review Fee" …
0
A strange situation that has suddenly occurred. From what I can tell we have not changed anything to cause the issue.  Server is a Windows Server 2016 standard.  The clients are Windows 10 x64.  When pcs first boot in the morning, one of the three mapped drives has a red X in the drive mapping when viewed in file explorer.  If you double click the drive letter you can still access the contents.  However, the red X never goes away.  The only way to rectify the situation is to manually disconnect the drive.  Which from what I have seen doesn't actually remove it from the file explorer view.  However, if you then reboot, then the drive mapping appears normal.  In addition, there was once instance where suddenly in the middle of the day, the red X reappeared for one user.  This has been going on for about a week and a half.  The worst part of it is that the Quickbooks 2017 application does not seem to like the red X situation.  If the drive mapping has the red X, then Quickbooks will not let users open any of the datafiles on the server.  However, once the drive is disconnected and the pc reboots, Quickbooks works fine.  I am looking for any advice as to what could be causing this issue and how to correct it.
0
I am trying to follow the instructions within the the https://social.technet.microsoft.com/wiki/contents/articles/24541.powershell-bulk-create-ad-users-from-csv-file.aspx#Code_Used webpage to import username information from a .CSV file to create usernames within Server 2016 Active Directory but every time I try to do this I receive the following error messages:

When I run the following command within PowerShell (running as an administrator) .\un.ps1 I get the error message

 “ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At C:\Support\UN\UN.ps1:12 char:232
+ ... scription" -AccountPassword (ConvertTo-SecureString $Password -AsPlai ...
+                                                         ~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand

ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At C:\Support\UN\UN.ps1:12 char:232
+ ... scription" -AccountPassword (ConvertTo-SecureString $Password -AsPlai ...
+                                                         ~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
    + FullyQualifiedErrorId : …
0
Get 15 Days FREE Full-Featured Trial
LVL 1
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Within the https://social.technet.microsoft.com/wiki/contents/articles/24541.powershell-bulk-create-ad-users-from-csv-file.aspx#Code_Used webpage which contains instructions on creating a CSV spreadsheet that contains fields such as the user's firstname, lastname, maildomain, etc. what should be entered within the SAM spreadsheet column?

I understand what all of fields need except for the SAM field. What should be entered within the SAM field?

Firstname | Lastname | Maildomain | SAM | OU | Password | Description

User | Test01 | contoso.com | utest01 | OU=Standard Users,OU=Users,DC=domain,DC=loc | P@ssw0rd| Test User

One of the lines of code explains the syntax as " New-ADUser -Name "$Displayname" -DisplayName "$Displayname" -SamAccountName $SAM -UserPrincipalName $UPN -GivenName "$UserFirstname" -Surname "$UserLastname" -Description "$Description" -AccountPassword (ConvertTo-SecureString $Password -AsPlainText -Force) -Enabled $true -Path "$OU" -ChangePasswordAtLogon $false –PasswordNeverExpires $true -server domain"

Please provide me with the correct entry that should be used for SAM.
0
I need to review the DCOM permission on our new 2016 core server. I have read you can view the permission remotely using the DCOM mmc. I was able to connect but list the remove servers as down. I also read that you can manage permission via commandline via a SDK exe.

Has only done this before?
1
Dear friends,
Please how to move old domain user (30) accounts (old HW) SvrSBS2008 to (new HW) clean SvrStd2016.
After work is finished, Im expecting :
1) Old server will be shuted down definitivelly
2) New domain name and IP of new server must remain the same as the old one
3) Possibility of no need to re-join domain by user workstations, or st. similar. I need flawless users work continuation, with no need to set up their local preferences. OS of user comps - Win 10 Pro.
Some kind of offline migration?
If more info needed, please ask.
Many thanks
0
We are in the process of building a new production Windows Server 2016 server to run SQL Server 2016 Standard Edition.
Is there a recommendation from Microsoft to use  ReFS for data and log files in SQL Server 2016 Standard Edition.

Can someone advise
0
What is the correct process to follow to create a .CSV file containing the first names, last names, usernames, & passwords of users to import into Server 2016 Active Directory?
0
In previous versions of Windows Server, I would install the desktop experience which would let me browse to a Sharepoint UNC path such as \\sharepoint\sites\it in file explorer.

In 2016, Desktop experience is installed by default when you install the GUI.  I read somewhere that I needed to install the WebDAV feature and then enable the Web Client service which I did.  That hasn't worked though.  I cannot get to \\sharepoint\sites\it in file explorer.

Is there something else I need to do?

Thanks in advance!
0

Windows Server 2016

432

Solutions

553

Contributors

Windows Server 2016 is the successor to Windows Server 2012 R2. Built upon the same core code as Windows 10, Windows Server 2016 brings enhancements in security, servicing, and connectivity. A particular focus on this release was hybrid-cloud scenarios, and has close ties to Azure and other Microsoft cloud initiatives. This does not detract from the many improvements that are available for on-premises-only deployments

Windows Server 2016 comes in Datacenter, Standard, and Essentials editions, and for servicing, has adopted windows 10's cumulative model. The new nano-server install is designed to be remotely managed and is designed to be kept current through continuous feature updates. The full GUI install operates similarly to windows 10's "Long Term Servicing Branch" (LTSB) model with cumulative security updates.

Windows Server 2016 has also shifted from a per-processor-and-CAL licensing model to a per-core-and CAL licensing model. This brings Windows Server's licensing more in line with Microsoft's other products and makes hybrid-cloud license planning easier as well.