Windows Server 2012





Windows Server 2012 is the server version of Windows 8 and the successor to Windows Server 2008 R2. Windows Server 2012 is the first version of Windows Server to have no support for Itanium-based computers since Windows NT 4.0. Windows Server 2012, now in its second release (Windows Server 2012 Release 2) includes Foundation, Essentials, Standard and Datacenter, and does not support IA-32 or IA-64 processors.

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

Sign up to Post

I am trying my luck at Powershell scripting. I found this code below and modified for my drives. I would like to automate a function so that every user I add to the AD and once they log in it will launch a script that will automatically map to teh SQL01\SQL folder. How can I do this, will the below powershell script work?

$mapped = Get-WmiObject Win32_MappedLogicalDisk | Select DeviceId, ProviderName
foreach ($item in $mapped) {
    if ($item.ProviderName -eq '\\SQL01\SQL' -and $item.DeviceId -e 'M:') {net use $item.DeviceId /del}

Open in new window

Creating Active Directory Users from a Text File
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Is there any way to prevent users copying files from a mapped drive, when they're not domain joined?

Server 2012 R2 - Active Directory & File Share
Local devices - connect to shared folders from the server, using their AD accounts for authentication only. Local devices are NOT domain joined.
We are setting up and testing out Citrix XenApp 7.17 and we have

- 3 Microsoft terminal servers
- 1 master server

It appears how this version of Citrix XenApp updates the terminal servers is that you make the change on the master and test it.  The when you are ready the Citrix Studio software clones the master server and replaces the 3 terminal servers.  As we are testing this out I tried to push some updates (new clones virtual servers) I have run into this errors message from the vsphere client:  "Snapshot hierarchy is too deep".

I originally thought it was a Citrix error; but, I now think that this is a VMware error.  Please see the screen shots and how many snapshots we have associated with that master virtual server.

I wonder if I should "delete all" snapshots or what I should do.  Ideas?
Server running essential 2012 r2

I'd like to redirect the Client Computer backups to a external USB drive, but don't see anywhere that allows me to direct the backup to a particular drive or folder.

Is it possible to backup Client Computer backups to a external USB drive?
If so how?
Hi, I am using Exchange2013 on Windows Server 2012 R2.
I would like to get confirmation of a specific message.
I can't find a powershell / exchange console command useful to get this.
I mean, if I use:

C:\Windows\system32>Get-MessageTrackingLog -sender  -recipients

I only get this:

RECEIVE  STORE...              {}               Documentazione 
SUBMIT   STORE...              {}               Documentazione 
HARED... SMTP              {}               Documentazione 
RECEIVE  SMTP              {}               Documentazione 
AGENT... AGENT              {}               Documentazione 
TRANSFER ROUTING              {}               Documentazione 
SEND     SMTP              {}               Documentazione 

Open in new window

but I have no evidence that remote SMTP got my mail, remote message ID, and so on.
How can I find this?

thank you!

What is reason to following issue, when creating the domain, within Win 2012 server? I did already created the A record of relevant Domain name.
When I attempt to instal, Java on a Windows 212 R2 server, the installation errors out.  See screen shot below

I download the file from the website:

That clearly states Windows 2102. As soon as I click 'Next' from the wizard, the error comes up.  What can I do to install Java on Windows Server 2012 R2.
I need to search for a Certificate issued by a CA template, then delete the cert from the store with powershell. I have looked online and found a couple solutions to query for the certificate template but nothing seems to work for me. anyone have a solution?

Certificate template name is 'XXX Client Computer 2048 Bit-CNG'

Needs to be be able to run on all windows 7/10 workstations with adding any additional 3rd party modules.

Thank you in advance!
I have a Windows Server 2012 Standard (all updates) with 2 Virtual machines running. Both VM's are setup as 2012 Server as Active Directory Controllers. Both these VM's  have been running in this configuration for 4 years. Yesterday they suddenly stopped communicating with the Internet. I can ping each machine from the other but I can not ping the Firewall. From the host machine I can ping the VM's but not vice versa.
I am planing to migrate NPS server from windows 208 to windows 2012. I have a question on certificate , hope someone will shed the light on it. I hav exported the config using nestsh with option exportsPSK=yes to export the shared key. My confusion is that which option to select when i install NPS roll on a new server (Windows 2012)?
There are three selection on SSL cert.
1. Choose existing cert for SSL encryption
2. Create a self signed cert.
3. Do not ssl or choose cert SSL encrypt for later .
We have a internal root CA which issues the cert fro PCs and server.
Making Bulk Changes to Active Directory
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Hi all,

I want to disable SMBv1 on a 2012 server, but it is greyed out, howcome?

I have a user who is trying to send to a group and received the following error. I am using exchange 2010 and have decommissioned exchange 2003. This is an internal email

Please note i have already checked below and authentication box is unchecked
go into emc - go to the mailbox - right click - go to properties - go to mail flow settings - message delivery restrictions and see if the authenticate box is checked

Error Message is below
Delivery has failed to these recipients or groups:

Staff (
Your message can't be delivered because delivery to this address is restricted.

Diagnostic information for administrators:

Generating server:
#550 5.7.1 RESOLVER.RST.NotAuthorized; not authorized ##

Original message headers:

Received: from ([::1]) by ([::1]) with mapi id
 14.03.0382.000; Thu, 7 Jun 2018 12:10:37 +1200
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Principal <>
Subject: Student Celebration Assembly Monday 11 June
Thread-Topic: Student Celebration Assembly Monday 11 June
Thread-Index: AdP981PmPsAi3MEtQpmfzJ8HC3JciA==
Date: Thu, 7 Jun 2018 12:10:36 +1200
Message-ID: <>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: <>
I manage a Windows Server 2012 R2 machine vith Exchange 2013.
I just discovered that I have two folder


size is almost equal (about 5 GB)

My DOS prompt points to:

if I create a new file on Desktop, it appears on DOMAIN, not DOMAIN.v2 related folder

How can I be sure that c:\users\administrator.DOMAIN.v2 can be deleted?
Thank you!
Hi guys

I'm trying to set up an SFTP server for our company to use. I have a Windows 2012 server and have started to go down the open ssh route etc.

Do you guys have any guides one could follow or recommendations you would make?

If people think Linux would be a better route, then I can go down that route too. I need something that will be stable and not lose/drop connectivity because of some sort of service that needs restarting all of the time etc.

And I have to do this within the next 3hrs:).

Thanks for helping
Unable to RDP to the VM server.

i am getting the following error from client to the VM via RDP  show in the screen shot.
How can I get the below DomainAdmin2 acccount
to automatially run a "command prompt" as ADMIN ?

Maybe something in the UAC or local computer policy ?

 1. login to my Windows 2012 R2 server with my DomainAdmin1 acccount
      ** granted AD GROUPs on this account also give it "LocalAdmin"
 2. open command prompt (without selecting "Run as Admin"
 3. title bar TITLE says attached "Administrator"
 4. copy my DomainAdmin1 acccount, creating a DomainAdmin2 acccount
 5. repeat above #1+ using the DomainAdmin2 acccount
 6. title bar TITLE does NOT say attached "Administrator"

I have my IT guy access my computer via Teamviewer so he can access my servers via RDP from my computer, and he doesn't have server login information.

If I give him RDP access to my computer instead of using TeamViewer, how can I secure files and data on my  servers?

I need to copying a number of shares and files from a Windows Server 2012 file server to a Windows Server 2016 server. I ran the following robocopy command but it looks like it's only copying the directories and not the files. Can somebody please assist?


md logs
cd logs
robocopy "\\server1\SWInstall" "\\server2\SWInstall" /TEE /S /E /IS /Copy:DATSOU /maxage:2 /log:log_DFSRootsSWInstalloutput3.txt
Has Powershell sent you back into the Stone Age?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Our network is spread in 5 countries, one of our site we are not able to access any folders on there servers (Windows 2012 / 2008), they cant access folders on other country folders as well . Have tried this link, but it didnt make any difference.

We have a WSUS server issue.  In short, there are computers that are showing "critical" updates that are "needed", yet when we look in the UPDATES view, and try to filter by "Critical updates" that show status of "unapproved", there are none.  Not sure what is causing this anomaly. It's a 2012 Server, with the latest WSUS version.
How to configure a windows server 2012  without any external source like to function as NTP server in domain
I have recently taken over an IT role where the use of Group policy was not used efficiently. I have created OU's by region so London, Kent etc and within London we have IT, HR, Marketing, accounts etc.

So I have created a London GP that deploys the standard drives for all staff in London which works fine.  

I have then created individual GP's for HR, IT, & accounts and applied to the each OU to map department specific drives - again this works perfectly.

That all went well but we have three admins in the London OU who need access to the marketing drive but need to remain in the London OU.

I had thought I could do this with Item-level Targeting but that isn't working, I assume because those users are in a higher OU?

What would people advise in terms of applying a GP to an OU but also applying it to individuals who would be the exception?
Server 2012 R2 Standard.
Several users sometimes remote to server locally, have on user on the outside that remotes in and is limited to only quickbooks via RemoteApp,

Server experienced an unexpected shutdown now RDP to server is not working.
Upon rebooting, 3 RDP services consistently refuse to start automatically:
Remote Desktop Connection Broker (Tssdis)
Remote Desktop Management (RDMS)
RemoteApp and Desktop Connection Management (TScPubRPC)
I can start these services just fine after booting and RDP is restored, but wont stay started after reboot.
If you start the services and go to Server Manager > Remote Desktop Services > Servers there is an error reporting in the log.

"The remote Desktop Connection Broker server could not Enumerate the targets for the provider named NULL from the database."
Pooled virtual desktop collection name: NULL.
Error: Logon to the database failed.

I have removed and re-added the remote desktop features in server manager.
Have added "server" to Windows Authorization Access Group.

I read somewhere that I may need to download SQL server manager, somehow logon to the broker database and remove a couple NULL database entries?
I am running into the CredSSP error:

I have read the link and have performed the windows updates on both machines.
I have even tried configuring the registry, adding the new registry it suggests to add, and I used the value of 1 on both machines, I still can't RDP into the other PC.

Any ideas how to resolve this?

Windows Server 2012





Windows Server 2012 is the server version of Windows 8 and the successor to Windows Server 2008 R2. Windows Server 2012 is the first version of Windows Server to have no support for Itanium-based computers since Windows NT 4.0. Windows Server 2012, now in its second release (Windows Server 2012 Release 2) includes Foundation, Essentials, Standard and Datacenter, and does not support IA-32 or IA-64 processors.