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

Similar Messages

  • 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

  • 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

  • Logging into Windows Server 2012 from Remote Desktop requires "Connect with Smart Card"; how do I disable this?

    I am using pretty much the default setup. I cannot figure out how to disable this. I do not want to use smart cards.
    Any ideas?

    Does this mean you're trying to RDP from an XP box, therfore have the Remote Desktop feature on the server set to "less secure"? Sounds like thats what disables network authentication, prompting the Smart Card request.
    If you simply click to login as a different user, you can login without a smart card, to include the same user as was being prompted for the card.
    I expect if you choose the Remote Desktop feature requires network authentication on the server, the smart card requirement goes away, but you'll need to login from Win7 or newer clients. Not sure where Vista falls, probably okay too.

  • PS2013 / SQL 2012 - A SQL Reporting Services Report with more than one filter connection looses connection in a site template

    Hi,
    I created in a sub site not linked to a project to become a site template. I inserted two SQL Reporting Services reports web part that require the same two dates for an interval and the name of the project in a page of the site and connected
    to three filters, two for date and one for text and I got the page below (only one of the reports shown).
    Look that all parameters needed by the report are linked to the filters above the report.
    Then I save the site as template with all contentes and assign it to the EPTs and create a new project or replace the site of existing project site. What I got is:
    Look that the filter connection of the dates are lost (in both reports) and the order of the filters changed.
    I deleted and retried to connect the filters in diferent order and language, but I did not get any success.
    The BI Central Data Connectivity resource is activated in the template site and in the site collection.
    Is there any solution for this?
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi,
    Correction: this happens only with "Date Filter" web part!
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

  • Disabling RDP Compression on Windows Server 2012 R2

    Hi
    On Windows 2008 R2, we could disable RDP compression via GPO by configuring "Do not use an RDP compression algorithm" in the following GPO
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Set compression algorithm for RDP data
    It seems like with the Windows Server 2012 R2 GPO's, this setting is no longer available? How do we disable RDP compression so that we can use it with Riverbed products?
    Thanks

    Hi,
    How is the issue going now? Is there any update?
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Unable to Change Screen Resolution in Remote Session - Windows Server 2012 R2

    Does anybody know of a way to allow Remote Desktop users to adjust their own screen resolution in a remote session under Windows Server 2012 R2? We are struggling with this and can't seem to find a solution.
    When users login to their RDP session and try to adjust their screen resolution this message is displayed in Control Panel:
    "The display settings can't be changed from a remote session."
    We don't want to use the "make text and other items larger or smaller" scaling feature, as this produces undesirable results with some of our applications.  We also don't want to have to support multiple types of RDP clients or RDP shortcut
    files.
    We have looked at other posts but can't find an answer that applies to Windows Server 2012 R2.  The closest thing we could find is KB2726399, but it only applies to Server 2008.
    Does anybody have a solution for Server 2012?
    Thanks

    Hi,
    Currently you cannot change the resolution from within the session.  This is normal and expected behavior.  
    Unfortunately this means you need to set the desired resolution before connecting by using custom .rdp files, manually within the Remote Desktop Client, custom web launch page, custom windows launch program, etc.
    -TP

  • Cannot install Windows Server 2012 R2 Standard on a Supermicro X9SRA

    I have bought the Windows Server 2012 R2 Standard OEI and it will not install on the brand new Supermicro X9SRA motherboard. I have tried to install the previous version (Windows Server 2012 Standard) and it installs fine with no problems. 
    I need to install R2 in order to use the Essentials role. I have also tried to install the trial version of 2012 R2. which I downloaded from the microsoft website and got the same result. The installation goes into a loop. The circle bellow the Windows logo
    goes on forever and nothing happens. I can not even get to choose the language. The loop happens as the disk starts.
    Can anyone please help?

    Does SuperMicro support the installation of Windows Server onto that MB?  I do not find any reference to X9SRA at
    www.windowsservercatalog.com, which is where hardware vendor post the systems on which they will support the various versions of the Windows Server operating system.  I see lots of SuperMicro solutions,
    but none of them appear to list the X9SRA MB.  You need to contact SuperMicro to determine if they support it.
    . : | : . : | : . tim

  • In-place upgrade: Windows Server 2012 to 2012 R2

    I have a Windows Server 2012 physical server running Exchange Server 2013.   Microsoft has stated that Exchange Server 2013 Service Pack 1 (or CU4 in the new parlance) will finally allow Exchange Server 2013 to support Windows Server 2012 R2.  
    Although Exchange SP1 has not yet been released, I want to do some advance effort planning.   If I apply Exchange SP1, will I be able to run an in-place setup/upgrade to Windows Server 2012 R2?  Thanks.

    Hi,
    Since Windows Server 2012 R2 is not currently listed as a supported OS platform for Exchange 2013, it is
    not recommended to update the OS on your Exchange servers to Windows server 2012 R2 at the present. For more detailed information, please refer to the link below:
    Exchange
    Support For Windows Server 2012 R2
    Best regards,
    Susie

  • Renaming Windows Server 2012 Domain Controller with Exchange Server 2013

    Is it possible to rename Windows Server 2012 Domain Controller, as we are using Exchange Server 2013 as a member server on Windows Server 2012 ?
    We have some issues with the Domain Name, so want to rename..
    Maybe somebody knows the best practices how to do this in best way???
    Thanks.

    Hello,
    You should do the following:
    1. Promote another DC.
    2. Transfer FSMO roles to that server.
    3. Decommission old DC.
    4. Rename it.
    5. Promote it again as DC.
    Here is useful link:
    http://technet.microsoft.com/en-us/library/cc782761(v=ws.10).aspx#bkmk_renamesingle.
    Hope it helps,
    Adam
    www.codetwo.com
    If this post helps resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others
    find the answer faster.

  • Just FYI, new Windows Server 2012 R2 RRAS Multitenant Gateway Deployment Guide

    New! Windows Server 2012 R2 RRAS Multitenant Gateway Deployment Guide
    This new guide is available on the Web at
    http://technet.microsoft.com/en-us/library/dn641937.aspx. It is also available for download in Word format at TechNet Gallery at
    http://gallery.technet.microsoft.com/Windows-Server-2012-R2-37eb8e17
    If you work for a Cloud Service Provider (CSP) or an organization that's planning on deploying cloud technologies, you might be interested in the new Windows Server 2012 R2 RRAS Multitenant Gateway Deployment Guide.
    You may already know that in Windows Server® 2012 R2, the Remote Access server role includes the Routing and Remote Access Service (RRAS) role service. (It also includes DirectAccess and Web Application Proxy, however those role services will not be discussed
    in this article.)
    The new deployment guide demonstrates how to use Windows PowerShell to deploy RRAS as a virtual machine (VM)-based multitenant software gateway and Border Gateway Protocol (BGP) router that allows CSPs and Enterprises to enable datacenter and cloud network
    traffic routing between virtual and physical networks, including the Internet.
    You can use the gateway with VM networks by using either Hyper-V Network Virtualization or Virtual Local Area Networks (VLANs) - but using Network Virtualization is recommended due to VLAN limitations such as difficult management and a limited number of
    available VLAN IDs.
    If you're using System Center Virtual Machine Manager (SC VMM), you can use SC VMM to deploy Windows Server Gateway; however even if you are using SC VMM, you can manage the gateway with the same Windows PowerShell commands that are used for the RRAS Multitenant
    Gateway. (Some Windows Server Gateway features are configurable only with Windows PowerShell.)
    For information on deploying Windows Server Gateway with SCVMM, see the Test Lab Guide: Windows Server 2012 R2 Hyper-V Network Virtualization with System Center 2012 R2 VMM, at
    http://www.microsoft.com/download/details.aspx?id=39284
    With the RRAS Multitenant Gateway, you can create site-to-site VPN connections between your tenants' physical locations and your cloud datacenter. You can also provide tenants with point-to-site VPN connections that allow tenant Administrators to access
    and manage their VM resources from anywhere. The RRAS Multitenant Gateway also allows you to configure Network Address Translation (NAT), so that tenant VMs can access the Internet, and you can deploy dynamic routing by configuring the gateway and tenant gateways
    with BGP.
    Thanks -
    James McIllece

    Hi,
    It is very useful , thanks for your sharing .
    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.

  • Windows Server 2012 Essentails - Can I get an extended trial for 10 days or so (really need this)

    Greetings all, I'm currently running a trial version of Windows Server 2012 Essentials, and am very happy with this so moved all pcs and laptops over, reason in doing so was going to go to the full version from this trial, but then I thought about trialing
    out 2012 R2 Essentials and have been running this with no issues and would rather spend the money on buying this version.
    I have 2 days left of the trial license for 2012 Essentials,  is there anyway I can extend this for an extra 10 days or so to give me enough time to finish of building the other server ?
    Thanks..

    Thank you Klockwork, well that's not very helpful of Microsoft :-(
    Not sure why though they did allow you to extend with Server 2008..
    Anyway I'll
    find away.
    Thanks
    Again. 

  • Downgrading Internet Explorer 10 on Windows Server 2012 Std

    Dear Team
    Please help me in downgrading IE 10 to IE 9 on Windows Server 2012 as it is not compatible with some Government websites and Tax related websites. If it is not possible then give other alternatives as the working is hampering badly.
    Thanks in Advance

    Please see
    this thread.
    Regards,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

Maybe you are looking for

  • Using xml rss feeds in dreamweaver

    I used dreamweaver to configure a rss feed in my webpage. One thing led to another and I was forced to reinstall my php server via xampp Now when I load the page on my computer I have this error: Fatal error: Call to undefined method domdocument::loa

  • Colour issues when Producing iBA assets from InDesign

    Hi there This is just a heads-up for those that produce any assets for eventual use in iBooks Author in InDesign. Watch out for colour matching issues.  The RGB values in inDesign do not often produce the same colours in iBA. Why would someone be usi

  • Lightroom Export to DNG

    Hi, I have a question regarding the DNG Export. I have DNG-Files from the camera (Leica DMR). I import them in Lightroom and do the development. After this I want to export them as DNG file. The exported DNG-File is smaller (14 MB) than the original

  • Need help on Solaris 10 with Infiniband card

    I have Solaris 10 Update 10 running. I have Mellanox Infiniband card. All I can see that its detecting it as: Code: #/usr/X11/bin/scanpci | grep Mellanox Mellanox Technologies MT26428 VPI PCIe 2.0 5GT/s – IT QDR / 10GigE] #ls –R /devices | grep 15b3

  • Product deactivation problem

    Not sure if this is the right forum... I've got a number of licenses for Adobe CS and I need to deactivate one of the licenses. What has happened is that a member of my design team has since left the company, but had installed a copy of Adobe CS on t