Direct Access Server 2012 R2 Single NIC DNS problem with 8.1 Enterprise

Dear helpers,
I am beginning to rip my hair over the following problem and I am asking for some guidance:
I have setup DA on a server 2012 R2 with the simple wizard using one NIC. I have opened up port 443 to my  DA Server and operations status is showing green on everything. I have used Djoin to join a remote win 8.1 enterprise client to our domain and
setup DA. I can see that my tunnel is established and the client shows up as an IPHTTPS client on my server:
Role                       : client
URL                        : https://vpn.ourdomain.com:443/IPHTTPS
Last Error Code            : 0x0
Interface Status           : IPHTTPS interface active
Connection status on client is stuck in connecting and the eventlog on client gives me following error:
The system failed to register host (A or AAAA) resource records (RRs) for network adapter
with settings:
           Adapter Name : {424F50B4-BF1A-4D96-81FA-7D7436A99F07}
           Host Name : TEST
           Primary Domain Suffix : ourdomain.com
           DNS server list :
                 172.16.8.1
           Sent update to server : <?>
           IP Address(es) :
             172.16.8.110
The reason the system could not register these RRs was because the update request it sent to the DNS server timed out. The most likely cause of this is that the DNS server authoritative for the name it was attempting to register or update is not running at
this time.
I understand why this is failing because it seems like it is contacting the local DNS to register and that's wrong.
Get-DaConnectionStatus gives me the following:
Status    : Error
Substatus : CouldNotContactDirectAccessServer
I can ping the name on the DA server and also the IPv6 address, I can also do nslookup if i set the server used to my internal DNS-servers IPv6 address(DNS and DA server = same machine). My DA Client GPO is being applied to the client and i get an NRPT table
looking as follows:
Settings for DirectAccess-NLS.ourdomain.com
DirectAccess (Certification Authority)  :
DirectAccess (IPsec)                    : disabled
DirectAccess (DNS Servers)              :
DirectAccess (Proxy Settings)           : Use default browser settings
Settings for vpn.ourdomain.com
DirectAccess (Certification Authority)  :
DirectAccess (IPsec)                    : disabled
DirectAccess (DNS Servers)              :
DirectAccess (Proxy Settings)           : Use default browser settings
Settings for .ourdomain.com
DirectAccess (Certification Authority)  :
DirectAccess (IPsec)                    : disabled
DirectAccess (DNS Servers)              : fd1f:6801:cc14:3333::1
DirectAccess (Proxy Settings)           : Bypass proxy
I cannot reach any internal resources by name or IPv4 address except the DA server.
I will gladly provide more info if needed
Please help!
//Cris

Hi,
Thanks for your reply.
Firstly, computer certificates are necessary for DirectAccess.
In addition, it is no need to assign an IPv6 address on all the servers. In Windows server 2012/R2, the
Built-in NAT64 and DNS64 support for accessing IPv4-only resources.
If you select Configure DirectAccess Clients with DNS client suffix search list and add additional suffixes to the list,
you can search for short, unqualified computer names in more than one specified DNS domain.
For more detailed information about DNS suffix search list, please refer to the link below:
Step 2: Configure the DirectAccess Server
Best regards,
Susie

Similar Messages

  • Direct access server reporting NAT64 Translation failure

    We are seeing strange issue , Direct Access server 2012 is reporting NAT64 warning.
    I am trying to isolate causing could not find any useful information.
    DA server is behind firewall having Ipv4 internal address.
    Error I see on dash board is
    NAT64 translation failures might be preventing remote clients from accessing IPv4-only servers in the corporate network.
    Any help appreciated.

    NAT64 is an internal component of DirectAccess and there really isn't anything that you configure manually for it. Seeing a message about NAT64 having trouble is more than likely being caused by some kind of external influence on that server. For example,
    many of the quirky error messages or problems that we see during DirectAccess implementations are caused by security policies being present in the domain. For example, if you plug in a new server to use as your DA server, if you do not block inheritance in
    Group Policy, as soon as you join that new server to your domain it may receive settings from existing GPOs in your network. Sometimes those GPOs conflict with the things that DirectAccess needs, and they have therefore broken DA before you even set it up.
    If you are setting this up as a new DA server, I recommend removing the Remote Access role, blocking inheritance in Group Policy so that none of your preexisting GPOs get applied to it, and starting the configuration again.

  • Possible to convert a Direct Access server?

    Is it possible to convert a Direct Access server ( Windows 2012 server) residing in ESX 5.1 to a Hyper V version ( Windows 2012 R2 Datacenter) by a "normal" conversion process?  The optimal result is that all the configuration of the Direct
    access part is transferred correctly.
    Thanks.

    hey .. funny how expert opinions vary ... i have a handfull of IT and software RAID experts who disagree with you ... in my case, i'd rather get rid of it ... ( however i still have to find a solution to clone my boot drive that works flawlessly with all my software ... )
    anyways ... how exactly do i go about splitting the RAID, to make sure i don't mess it up ....
    1. restart from CD
    2. Delete the mirrored RAID set
    3. remove one of the HDs with the raid slice on it (i'll keep it as a backup 4 the moment just in case)
    4. restart from the remaining slice disc
    5. ... ?
    do i need to do anything specific ... ? what about the name of the Volume .. for the moment my startup disk (the RAID) is called 'BootRAID' ... the slices are called 'RAID Slice (disk0s2)' and 'RAID Slice (disk1s2)' .. in order for everything to work properly, don't i have to rename the new startup disk ?
    i'm scared ...
    here's a screenshot of my setup: http://kinkajou.net/diskUtility_RAID.jpg
    <Edited by Moderator>

  • Trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.

    I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    WSUS Server : Windows Server 2012 R2
    Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Please let me know if anyone has experienced this issue.

    We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    Same error even after rebooting the server multiple times.
    WSUS Server : Windows Server Standard2012 R2
    Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Event ID 7000:
    The Windows Internal Database service failed to start due to the following error:
    The service did not start due to a logon failure.
    Event ID 7041
    The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
    Logon failure: the user has not been granted the requested logon type at this computer.
    Service: MSSQL$MICROSOFT##WID
    Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
    This service account does not have the required user right "Log on as a service."
    User Action
    Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
    right is assigned to the Cluster service account on all nodes in the cluster.
    If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
    with this node might be removing the right.
    I found following article:
    "MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
    http://support.microsoft.com/kb/2832204/en-us
    To work around the issue, use one of the following methods:
    Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
    Exclude the computer from the GPO that defines the user right.
    We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
    Regards
    PR

  • Exchange Server 2010 SP3 - Rollup 8 - Issue - Problems with client connections - MS Outlook 2013

    Exchange Server 2010 SP3 - Rollup 8 - Issue - Problems with client connections - MS Outlook 2013
    Detected Problems:
    - Access denied for attached mailbox (department mailbox)
    - Access denied for delete or move messages on own mailbox
    - Can't send new messages with error (Error: [0x80004005-00000000-00000000])
    Solution:
    - Rollback to Exchange 2010 SP3 - Rollup 7
    - You can rollback to Exchange 2010 SP3 - RollUp 7 in 30 min
    Algunos de los destinatarios no recibieron su mensaje.
    Asunto:     Hola
    Enviado el: 11/12/2014 8:35
    No se puede localizar a los destinatarios siguientes:
    '[email protected]' en 11/12/2014 8:35
    Este mensaje no se pudo enviar. Inténtelo de nuevo más tarde, o póngase en contacto con el administrador de red. 
    Error: [0x80004005-00000000-00000000].

    See the following forum thread: 
    https://social.technet.microsoft.com/Forums/en-US/1be9b816-b0ab-40ea-a43a-446239f8eae3/outlook-client-issues-following-exchange-2010-rollup-8

  • I am having a DNS problem with my computer. My laptop connects to the internet and my skype works normally but when i try to surf the web it says "DNS Look up failed".

    MY PROBLEM
    I am having a DNS problem with my laptop. It connects normally to th e wifi internet but when i try to surf the net it says "DNS Look up failed"
    This problem only occurs when with the internet at my house. whenever i connect elsewhere my computer works normally. My ipod, iphone, tablet and other friends computers work normally when they are connected to my internet. i use dmy neigbours nework a couple of times from my house and it wrks normally.
    Also when i turn my laptop on or off i can browse for a few minutes or seconds before it fails again. My skype works like there is no problem
    WHAT I HAVE TRIED TO RESOLVE IT
    I have tried changing the DNS, i used open DNS and google free DNS and it still didnt make a difference.
    I have rebooted router many times, nothing
    I have changed my home router, nothing
    I backed up my computer, resored everything it to factory setting and put everything back on; still nothing
    Run a diagnostics at 'Best buy' and they say nothing is wrong; but i know there is something wrong with the DNS
    I have tried different "sudo" type of codes on my comupter from stuff i got online and nothign has proved fruitful yet.
    i tried using safari, Google chrome and firefox, all not loading
    WHAT DO I DO TO FIX THIS?

    You are correct.  Syncing should transfer any purchased media, including videos, from your device to your iTunes library provided your computer is authorized for the Apple ID used to make these purchases.  You mentioned that you have uninstalled iTunes before, but if you didn't follow this guide exactly, uninstalling iTunes and all of its components in the order specified, it may not have been successful so you should try again:  Windows XP or Windows Vista/7.

  • Routing and Remote Access Server 2012 r2 Help

    Hi all, I just setup a new 2012 R2 server with DHCP, DNS and Routing and Remote Access. When a user logs in to the VPN the DHCP is assigning the wrong IP address. My DHCP Scope is 10.0.10.100 to 10.0.10.199 but it's setting it to 169.254.X.X.
    How do I fix this.

    169.254.x.x are APIPA addresses which are allocated when the guest cannot see the DHCP server/allocator. Basically there is something wrong with your RRAS setup.
      You should never run a remote access server on a DC. It will give you all sorts of name resolution problems. As soon as a client connects, the server acquires an additional IP for the VPN connection and the DC is multihomed. That has been a problem
    since NT days and still is.
    Bill

  • Restoring Windows Server 2012 w/ADDS and DNS to Hyper-V

    So I asked the Below question in the server 2012 general forum but i am sure it is the wrong forum so I though I would ask it here in the hyper-v forum .
    So I have one DC in my environment that I would like to upgrade from Windows Server 2012 to Windows Server 2012 r2. I thought before I upgrade the production server I would convert it to a Hyper-V virtual machine and preform the upgrade on a machine that
    can be deleted if the upgrade goes horribly wrong. We use Symantec Backup Exec 2014 to backup and restore. So I was able to restore to a virtual machine,   the machine powers on, I was unable to open any of the ADDS administration consoles until
    I added a Microsoft loop back legacy NIC. To make matters worse when I try to run the in place upgrade from Windows Server 2012 to Windows Server 2012 r2 I receive and error asking me to first run ADPREP /FORESTPREP and /DOMAINPREP. Unfortunately when I run
    either one of these commands I receive an error saying that that ADPREP can find the DNS name for the domain or forest. So my question is how do I restore an ADDS server to a virtual machine and bring up all the services so that it functions in the capacity
    that the physical machine was functioning but in a closed environment. Thanks for your time and consideration of my inquiry.
    Best regards,
    Zajac

    Hi Zajac,
    >>So I have one DC in my environment that I would like to upgrade from Windows Server 2012 to Windows Server 2012 r2. I thought before I upgrade the production server I would convert it to a Hyper-V virtual machine and preform the upgrade on a machine
    that can be deleted if the upgrade goes horribly wrong.
    If I understand it correctly , you are going to P2V that DC for upgrade test .
     I would suggest you to use Disk2VHD to achieve P2V for your DC  then test in-place upgrade .
    http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Server 2012 r2 emulated nic's

    Hello
    I have been told that within 2012 r2, you can have emulated nic's
    So, if I only have 1gb nic, and want to run a proper cluster, I can add 'virtual' nic's to preset to the OS.
    Is that possible?
    best regards
    jesper vindum, denmark

    I'm not sure where you are going with this.  With a single NIC, there is absolutely no way to run a 'proper cluster'.  A proper cluster has no single point of failure.  A single NIC means there is a single point of failure.
    Microsoft Failover Clustering can run just fine with a single NIC - I've done it many times.  But it is not a 'proper cluster'.  Or, as suggested, you can install Hyper-V and then create multiple virtual switches for use by virtual machines. 
    Then you can create guest clusters with multiple NICs, but at that point, the host becomes a single point of failure.  Again, no 'proper cluster'.
    I don't know what Henrik was getting at with his answer.
    I think we need to have a better understanding of what you are trying to do before we can confidently agree that you are proceeding correctly.
    . : | : . : | : . tim

  • RDWeb and Remote App access - Server 2012 R2

    Hi Folks,
    Here is my scenario. I currently have 1 RDS 2K12 server with all roles but licensing installed. I have configured the gateway to use server.externaldomain.com as its address. I have also set the SSL port in the gateway config to use something other than
    the standard 443 port. I have the firewall set to forward the non standard SSL port, the standard SSL port and the UPD port of 3391 to the RDS server. 
    I can get to the RDweb page and log in with no problems, but i can't connect successfully when i launch a remote app. it simply gives me an error saying that the gateway address is incorrect. When i set the gateway back to use the standard SSL port, things
    work fine.
    Has anyone gotten a non standard SSL port to work?
    Thanks.
    Colin Stewart

    Hi Colin,
    Based on my research, Remote Desktop Protocol version 7.x does not support changing default SSL port for RD Gateway Server.
    You may verify this by connecting from a Remote Desktop Client that supports Remote Desktop Protocol 8.x.
    More information for you:
    Running RD Gateway on a different port then 443 (Windows Server 8)
    http://microsoftplatform.blogspot.com/2011/10/running-rd-gateway-on-different-port.html
    Changing the Default Port of RD Gateway in Windows Server 2012
    http://social.technet.microsoft.com/wiki/contents/articles/10972.changing-the-default-port-of-rd-gateway-in-windows-server-2012.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • SQL Server 2012 Undetected Deadlock in a table with only one row

      We have migrated our SQL 2000 Enterprise Database to SQL 2012 Enterprise few days ago.
      This is our main database, so most of the applications access it.
      The day after the migration, when users started to run tasks, the database access started to experiment a total failure.
      That is, all processes in the SQL 2k12 database were in lock with each other. This is a commom case of deadlock, but the Database Engine was unable to detect it.
      After some research, we found that the applications were trying to access a very simple table with only one row. This table has a number that is restarted every day and is used to number all the transactions made against the system.   So, client
    applications start a new transaction, get the current number, increment it by one and commit the transaction.
      The only solution we found was to kill all user processes in SQL Server every time this situation occurs (no more than 5 minutes when all clients are accessing the database).
      No client application was changed in this migration and this process was working very well for the last 10 years.
      The problem is that SQL 2k12 is unable to handle this situation compared to SQL 2k.
      It seems to occurs with other tables too, but as this is an "entry table" the problem occurs with it first.
      I have searched internet and some suggest some workarounds like using table hints to completely lock the table at the begining of the transaction, but it can't be used to other tables.
      Does anyone have heard this to be a problem with SQL 2k12? Is there any fixes to make SQL 2k12 as good as SQL 2k?

    First off re: "Unfortunatelly, this can't be used in production environment as exclusive table lock would serialize the accesses to tables and there will be other tables that will suffer with this problem."
    This is incorrect. 
    Using a table to generate sequence numbers like this is a bad idea exactly because the access must be serialized.  Since you can't switch to a SEQUENCE object, which is the correct solution, the _entire goal_ of this exercise to find a way to properly
    serialize access to this table.  Using exclusive locking will not be necessary for all the tables; just for the single-row table used for generating sequence values with a cursor.
    I converted the sample program to VB.NET:
    Public Class Form1
    Private mbCancel As Boolean = False
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim soConn As ADODB.Connection
    Dim soRst As ADODB.Recordset
    Dim sdData As Date
    Dim slValue As Long
    Dim slDelay As Long
    'create database vbtest
    'go
    ' CREATE TABLE [dbo].[ControlNumTest](
    ' [UltData] [datetime] NOT NULL,
    ' [UltNum] [int] NOT NULL,
    ' CONSTRAINT [PK_CorreioNumTeste] PRIMARY KEY CLUSTERED
    ' [UltData] Asc
    ' )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
    ' ) ON [PRIMARY]
    mbCancel = False
    Do
    ' Configure the Connection object
    soConn = New ADODB.Connection
    With soConn
    .ConnectionString = "Provider=SQLNCLI11;Initial Catalog=vbtest;Data Source=localhost;trusted_connection=yes"
    .IsolationLevel = ADODB.IsolationLevelEnum.adXactCursorStability
    .Mode = ADODB.ConnectModeEnum.adModeReadWrite
    .CursorLocation = ADODB.CursorLocationEnum.adUseServer
    .Open()
    End With
    ' Start a new transaction
    Call soConn.BeginTrans()
    ' Configure the RecordSet object
    soRst = New ADODB.Recordset
    With soRst
    .ActiveConnection = soConn
    .CursorLocation = ADODB.CursorLocationEnum.adUseServer
    .CursorType = ADODB.CursorTypeEnum.adOpenForwardOnly
    .LockType = ADODB.LockTypeEnum.adLockPessimistic
    .Open("SELECT * FROM dbo.ControlNumTest")
    End With
    With soRst
    sdData = .Fields!UltData.Value ' Read the last Date (LOCK INFO 1: See comments bello
    slValue = .Fields!UltNum.Value ' Read the last Number
    If sdData <> Date.Now.Date Then ' Date has changed?
    sdData = Date.Now.Date
    slValue = 1 ' Restart number
    End If
    .Fields!UltData.Value = sdData ' Update data
    .Fields!UltNum.Value = slValue + 1 ' Next number
    End With
    Call soRst.Update()
    Call soRst.Close()
    ' Ends the transaction
    Call soConn.CommitTrans()
    Call soConn.Close()
    soRst = Nothing
    soConn = Nothing
    txtUltNum.Text = slValue + 1 ' Display the last number
    Application.DoEvents()
    slDelay = Int(((Rnd * 250) + 100) / 100) * 100
    System.Threading.Thread.Sleep(slDelay)
    Loop While mbCancel = False
    If mbCancel = True Then
    Call MsgBox("The test was canceled")
    End If
    Exit Sub
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    mbCancel = True
    End Sub
    End Class
    And created the table
    CREATE TABLE [dbo].[ControlNumTest](
    [UltData] [datetime] NOT NULL,
    [UltNum] [int] NOT NULL,
    CONSTRAINT [PK_CorreioNumTeste] PRIMARY KEY CLUSTERED
    [UltData] Asc
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = on, FILLFACTOR = 80) ON [PRIMARY]
    ) ON [PRIMARY]
    go insert into ControlNumTest values (cast(getdate()as date),1)
    Then ran 3 copies of the program and generated the deadlock:
    <deadlock>
    <victim-list>
    <victimProcess id="processf27b1498" />
    </victim-list>
    <process-list>
    <process id="processf27b1498" taskpriority="0" logused="0" waitresource="KEY: 35:72057594039042048 (a01df6b954ad)" waittime="1970" ownerId="3181" transactionname="implicit_transaction" lasttranstarted="2014-02-14T15:49:31.263" XDES="0xf04da3a8" lockMode="X" schedulerid="4" kpid="9700" status="suspended" spid="51" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2014-02-14T15:49:31.267" lastbatchcompleted="2014-02-14T15:49:31.267" lastattention="1900-01-01T00:00:00.267" clientapp="vbt" hostname="DBROWNE2" hostpid="21152" loginname="NORTHAMERICA\dbrowne" isolationlevel="read committed (2)" xactid="3181" currentdb="35" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
    <executionStack>
    <frame procname="adhoc" line="1" stmtstart="80" sqlhandle="0x020000008376181f3ad0ea908fe9d8593f2e3ced9882f5c90000000000000000000000000000000000000000">
    UPDATE [dbo].[ControlNumTest] SET [UltData]=@Param000004,[UltNum]=@Param000005 </frame>
    <frame procname="unknown" line="1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000">
    unknown </frame>
    </executionStack>
    <inputbuf>
    (@Param000004 datetime,@Param000005 int)UPDATE [dbo].[ControlNumTest] SET [UltData]=@Param000004,[UltNum]=@Param000005 </inputbuf>
    </process>
    <process id="processf6ac9498" taskpriority="0" logused="10000" waitresource="KEY: 35:72057594039042048 (a01df6b954ad)" waittime="1971" schedulerid="5" kpid="30516" status="suspended" spid="55" sbid="0" ecid="0" priority="0" trancount="1" lastbatchstarted="2014-02-14T15:49:31.267" lastbatchcompleted="2014-02-14T15:49:31.267" lastattention="1900-01-01T00:00:00.267" clientapp="vbt" hostname="DBROWNE2" hostpid="27852" loginname="NORTHAMERICA\dbrowne" isolationlevel="read committed (2)" xactid="3182" currentdb="35" lockTimeout="4294967295" clientoption1="671156256" clientoption2="128058">
    <executionStack>
    <frame procname="adhoc" line="1" sqlhandle="0x020000003c6309232ab0edbe0a7790a816a09c4c5ac6f43c0000000000000000000000000000000000000000">
    FETCH API_CURSOR0000000000000001 </frame>
    <frame procname="unknown" line="1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000">
    unknown </frame>
    </executionStack>
    <inputbuf>
    FETCH API_CURSOR0000000000000001 </inputbuf>
    </process>
    </process-list>
    <resource-list>
    <keylock hobtid="72057594039042048" dbid="35" objectname="vbtest.dbo.ControlNumTest" indexname="PK_CorreioNumTeste" id="lockff6e6c80" mode="U" associatedObjectId="72057594039042048">
    <owner-list>
    <owner id="processf6ac9498" mode="S" />
    <owner id="processf6ac9498" mode="U" requestType="wait" />
    </owner-list>
    <waiter-list>
    <waiter id="processf27b1498" mode="X" requestType="convert" />
    </waiter-list>
    </keylock>
    <keylock hobtid="72057594039042048" dbid="35" objectname="vbtest.dbo.ControlNumTest" indexname="PK_CorreioNumTeste" id="lockff6e6c80" mode="U" associatedObjectId="72057594039042048">
    <owner-list>
    <owner id="processf27b1498" mode="U" />
    <owner id="processf27b1498" mode="U" />
    <owner id="processf27b1498" mode="X" requestType="convert" />
    </owner-list>
    <waiter-list>
    <waiter id="processf6ac9498" mode="U" requestType="wait" />
    </waiter-list>
    </keylock>
    </resource-list>
    </deadlock>
    It's the S lock that comes from the cursor read that's the villian here.  U locks are compatible with S locks, so one session gets a U lock and another gets an S lock.  But then the session with an S needs a U, and the session with a U needs an
    X.  Deadlock. 
    I'm not sure what kind of locks were taken by this cursor code on SQL 2000, but on SQL 2012, this code is absolutely broken and should deadlock.
    The right way to fix this code is to add (UPDLOCK,SERIALIZABLE) to the cursor
    .Open("SELECT * FROM dbo.ControlNumTest with (updlock,serializable)")
    So each session reads the table with a restrictive lock, and you don't mix S, U and X locks in this transaction.  This resolves the deadlock, but requires a code change.
    I tried several things that didn't require a code, which did not resolve the deadlock;
    1) setting ALLOW_ROW_LOCKS=OFF ALLOW_PAGE_LOCKS=OFF
    2) SERIALIZABLE isolation level
    3) Switching OleDB providers from SQLOLEDB to SQLNCLI11
    Then I replaced the table with a view containing a lock hint:
    CREATE TABLE [dbo].[ControlNumTest_t](
    [UltData] [datetime] NOT NULL,
    [UltNum] [int] NOT NULL,
    CONSTRAINT [PK_CorreioNumTeste] PRIMARY KEY CLUSTERED
    [UltData] Asc
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = on, FILLFACTOR = 80) ON [PRIMARY]
    ) ON [PRIMARY]
    go
    create view ControlNumTest as
    select * from ControlNumTest_t with (tablockx)
    Which, at least in my limited testing, resovlved the deadlock without any client code change.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Windows Server 2012 R2 GPO Loginscript is executed with more than 2 minutes delay after login

    Hi everybody
    A strange problem came up in a new Windows Active Directory Domain (one single DC with Windows Server 2012 R2 Essentials): after configuring a User GPO with a Powershell Loginscript and applying the GPO to an User OU, the following happens:  when a
    User logs into a PC or Server, the Loginscript does not run within the first 120 - 150 seconds, and then suddenly the Scripts runs and completes within seconds. What could be the reason for such a long delay?
    When I run the Powershell Script manually it runs immediately and finishes within seconds. But assigned through a GPO it takes really long to run. I also tried a very "simple" Loginscript with only one command (map a network share) - but this Script
    also runs with a long delay. So the script does not seem to be the problem but the Logon Procedure. I even tried the same script with a locally defined GPO on a Windows Server 2012 R2 (just to check whether it might be a NETLOGON/SYSVOL share problem), but
    no luck - it takes 2 to 3 minutes until the Script is run. I went a bit further and realized that the problem is only related to the latest OS Windows 8 (8.1) / Windows Server 2012 (R2) but not to older windows system. So what changed in the logon process
    of the new Windows versions? Why are GPO applied with a such a long delay?
    Any ideas?
    Mark

    Other people have reported similar issues
    http://www.edugeek.net/forums/windows-8/128421-group-policy-logon-scripts-delayed-5-minutes-windows-8-1-design.html
    Rgds
    Milos

  • Install Windows Server 2012 R2 VM on Storage Spaces with Storage Tiers

    Hey guys
    In my small/medium sized company we will soon update to Windows Server 2012 R2. I would like to implement virtual servers using Hyper-V. I didn't find a lot of information about Hyper-V in combination with storages spaces and autoamted storage tiers.
    And this is very confusing to me as it seems to me that this would be the best practice as it is the most cost-efficient and most elegant solution.
    My ideal scenario:
    With Hyper-V I virtualize two Windows Server 2012 R2 instances. So two separate virtual machines.
    I use the following disk setup:
    1x cheap HDD  40GB for hyper-v server 2012 r2 core.
    2x SSD 200GB (enterprise-grade)
    2x HDD 4TB (7.2k, enterprise-grade)
    Step 1:
    I will install Hyper-V Server 2012 R2 Core on the 40GB HDD. Via command line, I will create a storage pool with automated tiered storage using the SSDs and the HDDs in mirrored mode the following way:
    With Tiered Storage, I create a storage pool containing the SSDs and the HDDs. Then I create storage space A (1TB) and B (3.2TB) with the SSDs in a mirrored setup and the HDDs in a mirrored setup. The SSDs for the „hot files“ and the HDDs for the „cold files“.
    Step2:
    Ontop of the storage space A I want to install the first Windows Server 2012 R2 instance with Active directory. On storage space B I want to install the second Windows Server 2012 R2 instance for a business application to run on it.
    Conclusion:
    The SSDs are mirrored and therefore one SSD can fail.
    The 4TB HDDs are mirrored and therefore one HDD can fail.
    I have a fast and easy scalable environment.
    But in the Internet I found many information that it’s not possible to install an operating system onto a storage tier.
    Question 1:
    Is this setup possible?
    Question 2:
    If this setup is possible, why is not everyone doing it?
    Question 3:
    Is it possible to do Step 1 over a GUI from a remote machine?
    Question 4:
    If the creation of Storage Tiers in the Hyper-V Server 2012 R2 is not possible. Would it work to use a Windows Server 2012 R2 as a parent system on the 40GB HDD? To do Step 1?
    I would gladly get some feedback of people knowing Storage Tiers well.
    Thanks a lot!

    I would absolutely prefer a GUI. But a Windows Server 2012 R2 Standard Licence allows you to run two VM machines.
    It also grants you a physical installation ("POSE" in the licensing documents). You can buy one copy of WS2012R2 Standard, install it on the hardware, enable Hyper-V, and then operate two virtual machines with WS2012R2 Standard ("VOSE"
    in the licensing documents). The only restriction is that the management operating system (POSE) can only run services and applications meant to manage the virtual machines and/or the management operating system. The Hyper-V Server license is the same way
    so it's not really any different.
    In short, given the benefits of the GUI at your stage of learning, you have no solid reason not to install the full system and take advantage of it. You can disable the GUI later once you get your footing. Or not. Whatever suits you. However, in response
    to your Question 3, you can do this all remotely. Once you get WS2012R2 installed in a guest, you can use it to manage the management operating system if you want. There are many options.
    But then I would also need to have redundancy on the 40GB HDD as if this HDD brakes, all others brake as well?
    Yes, you're going to want some redundancy for the management operating system. But, you've listed 5 drives in your original layout. You don't really have a 5-bay system, do you? Is there an empty sixth bay? Could you not get two 40 GB drives instead of one
    and use hardware RAID-1?
    Eric Siron
    Altaro Hyper-V Blog
    I am an independent blog contributor, not an Altaro employee. I am solely responsible for the content of my posts.

  • Windows Server 2012 C Drive gets always full with exchange server 2013 installed

    Hi All
    My C drive gets full always with exchange server 2013 installed what would be the reason because this is causing extremely bad to my environment can somebody help me please
    Thanks & Regards, Santosh Chowdary Vasireddy System Administrator Prolifcs DHFLVC Silicon Towers, 5th Floor, Survey #14, Kondapur, Hyderabad – 500 032. Work +91 40 3999 1999 Ex.1656 l Cell +91 9849277255 l [email protected] A Global
    Provider of IBM, Microsoft and Testing Solutions Award Winner for Technical Excellence, BPM, SOA, Portal and Governance

    Hi,
    Based on your description, I understand that this issue (C drive gets always full) occurred after Exchange
    Server 2013 installed.
    à
    But my exchange server is installed in different Drive (EX: D)
    I suggest that you should check file system to see what folders or files are taking up the space recently.
    This issue may be not related to Exchange server.
    Please refer to the following article and enable Disk Cleanup Utility. Then monitor the result.
    Enabling
    Disk Cleanup Utility in Windows Server 2012
    Meanwhile, please check if the winsxs directory is growing bigger.
    How
    to Reduce the Size of the Winsxs directory and Free Up Disk Space on Windows Server 2012 Using Features on Demand
    By the way, please check if you have installed update rollup 2836988. I noticed that Windows.edb file grows
    very large. For more details, please refer to the following KB.
    The Windows.edb file grows very large in Windows 8 or Windows
    Server 2012
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Where do I download a Windows Server 2012 R2 .iso from, for use with Hyper-v?

    Hello,
    Where do I download a Windows Server 2012 R2 Standard .iso from, for use with Hyper-v?
    The only official download I can find is the evaluation version from here:
    http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
    Is it recommended to use the evaluation version and then license it to make it a full version, or is there a better official download?
    Thanks
    Paul

    Hi Brian,
    I don't personally have an MSDN subscription.
    So using the evaluation versions is ok?
    With a Windows Server 2012 R2 license, you can have two
    Windows Server 2012 R2 virtual
    machines, so I assume I can turn evaluation version VMs into full fledged servers?
    Thanks
    Paul
      How did you acquire a Server 2012 R2 license without any installation media? Can you get the installation media from the same source? How did you install 2012 R2 on the host?
    Bill

Maybe you are looking for