Windows Server 2012

17K

Solutions

9K

Contributors

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

0
Creating Active Directory Users from a Text File
LVL 8
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.
0
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".

error1
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.

error2
I wonder if I should "delete all" snapshots or what I should do.  Ideas?
0
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?
0
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 some_sender@domain.com  -recipients some_recipient@recipientdomain.com

I only get this:

RECEIVE  STORE... some_sender@domain.com              {some_recipient@recipientdomain.com}               Documentazione 
SUBMIT   STORE... some_sender@domain.com              {some_recipient@recipientdomain.com}               Documentazione 
HARED... SMTP     some_sender@domain.com              {some_recipient@recipientdomain.com}               Documentazione 
RECEIVE  SMTP     some_sender@domain.com              {some_recipient@recipientdomain.com}               Documentazione 
AGENT... AGENT    some_sender@domain.com              {some_recipient@recipientdomain.com}               Documentazione 
TRANSFER ROUTING  some_sender@domain.com              {some_recipient@recipientdomain.com}               Documentazione 
SEND     SMTP     some_sender@domain.com              {some_recipient@recipientdomain.com}               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!
0
Hi,

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.
26m.png
0
When I attempt to instal, Java on a Windows 212 R2 server, the installation errors out.  See screen shot below

error1
I download the file from the website:  https://www.java.com/en/download/help/windows_manual_download.xml

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.
0
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!
0
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.
0
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.
0
Making Bulk Changes to Active Directory
LVL 8
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?

SMBv1
0
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 (Staff@abc.com.fj)
Your message can't be delivered because delivery to this address is restricted.

Diagnostic information for administrators:

Generating server: MAIL.abc.com.local

Staff@abc.com.fj
#550 5.7.1 RESOLVER.RST.NotAuthorized; not authorized ##

Original message headers:

Received: from MAIL.abc.com.local ([::1]) by MAIL.abc.com.local ([::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 <principal@abc.com.fj>
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: <9A35C20FA8616D44944498D312D645CB10A6D14E@MAIL.abc.com.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: <9A35C20FA8616D44944498D312D645CB10A6D14E@MAIL.abc.com.local>
…
0
Hi,
I manage a Windows Server 2012 R2 machine vith Exchange 2013.
I just discovered that I have two folder

c:\users\administrator.DOMAIN
c:\users\administrator.DOMAIN.v2

size is almost equal (about 5 GB)

My DOS prompt points to:

c:\users\administrator.DOMAIN
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!
0
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
Yash
0
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.
RDP-issue.jpeg
0
0
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 ?

Steps
 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"

1
0
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?
0
Hi,

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?

@ECHO OFF
SETLOCAL

c:\
cd\
md logs
cd logs
robocopy "\\server1\SWInstall" "\\server2\SWInstall" /TEE /S /E /IS /Copy:DATSOU /maxage:2 /log:log_DFSRootsSWInstalloutput3.txt
pause
0
Has Powershell sent you back into the Stone Age?
LVL 8
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.

http://www.tpateman.co.uk/reboot/unable-to-access-unc-paths-and-map-drives/
0
Screens.rtf

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.
0
How to configure a windows server 2012  without any external source like ntp.org to function as NTP server in domain
0
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?
0
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?
0
I am running into the CredSSP error:

credssp
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.
https://support.microsoft.com/en-us/help/4093492/credssp-updates-for-cve-2018-0886-march-13-2018

Any ideas how to resolve this?
0

Windows Server 2012

17K

Solutions

9K

Contributors

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.