Server 2012 R2 RDS Personal Collection -reuse VM names after a partial job failure

I am currently testing RDS on server 2012 R2, and as part of the test I have built and rebuilt multiple collections of VMs. I have noticed that when creating a new JOB to build a personal collection, sometimes I get VM build failures on one host. The build
failures are usually due to a networking issue, which I then resolve, but when I go to add/create the VMs that failed, the name of the VMs increment from the last VM, and they don't re-use the failed names. I want to be able to reuse/build the VMs that
failed.
eg.
VM-01, VM-02, VM-03 - On HOST-01 all work
VM-04, VM-05, VM-06 - On HOST-02 fail
VM-07, VM-08, VM-09 - On HOST-03 all work
So on this example, when I re-run the job to build the missing/failed VMs, it would build  VM-10, VM-11, VM-12 on HOST-02.
Is there a way to reset, or reuse the failed VM names, in the example above that would be VM-04, VM-05, and VM-06?
Thanks

Hi,
Thank you for posting in Windows Server Forum.
For a try you can use powershell command for RD VDI infrastructure.
New-RDVirtualDesktopCollection -CollectionName "ITCamp" -PooledManaged -StorageType CentralSmbShareStorage -VirtualDesktopAllocation 5 -VirtualDesktopTemplateHostServer $VHost -VirtualDesktopTemplateName $VDITemplateVM -ConnectionBroker $RDBroker -Domain “contoso.com”
-Force -MaxUserProfileDiskSizeGB 40 -CentralStoragePath”\\fileserver1\NormalVMs” -VirtualDesktopNamePrefix "ITC" -OU “VDICampUsers” -UserProfileDiskPath \\fileserver1\NormalProfiles
More information.
Lab Ops 7 – Setting up a pooled VDI collection in Windows Server 2012 R2
http://blogs.technet.com/b/andrew/archive/2013/10/28/lab-ops-4-windows-8-1-windows-2012r2-vdi.aspx
Also check that when setting up RDS, there needs to be a Physical NIC with IP for the creation of a RDS vSwitch. If this vswitch does not exist, the creation of the MV's will fail.
Hope it helps!
Thanks.
Dharmesh Solanki

Similar Messages

  • Resizing User Profile Disks in Existing Server 2012 R2 RDS Deployment Question

    Once the initial maximum size is set and the VHDXs have been created in a Server 2012 R2 RDS deployment, will attempting to increase Collection's maximum UPD size by say.. issuing a Powershell command of:
    Set-RDSessionCollectionConfiguration -CollectionName MySpiffyNewCollection -MaxUserProfileDiskSizeGB 10
    over-write the existing VHDXs instead of simply increasing their size? (max size is currently 5GB)
    I'm not at a point where I can test this in a lab condition to find out, and I have not found this question asked (or at least not definitively answered) in this forum yet.
    -G

    Hi,
    Thank you for posting in Windows Server Forum.
    We can resize the UPD file with below command:
    Resize-VHD –Path c:\BaseVHDX.vhdx –SizeBytes 1TB
    After running this mount the .vhdx file and open disk manager and there will be unallocated disk, and then you can click extend disk/volume and its done.
    You can refer following article for more information.
    Resize User Profile Disks
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Windows Server 2012 R2 RDS: RDS Users are unable to delete files from their desktop

    Hello,
    We are working with Windows Server 2012 R2 RDS. We also implemented User Profile Disks. This is all working fine without problems. The only issue I have is that normal users are unable to delete files from their desktop. They are getting a message:
    you'll need administrator permission to delete this file, with the prompt for administrator access.
    They can edit, copy, rename, cut and paste files. But they cannot delete a file from their desktop.
    I checked the security permissions of the files on the desktop (for example a normal self-created PDF file) and the users are owner and have "Full Control" over the files.
    I checked the file permissions and took a look under "Advanced", selecting the specific domain user and checked the "Advanced Permissions" and the user has the "Delete" option checked. So he should be able to delete the
    file.
    I am guessing this is UPD related issue, or something in GPO. But I already unlinked the GPO objects, that I felt could be the source of this problem, but without results.
    Could someone give me a hint on where to look? It's kinda annoying to users, that they can't delete their own files.

    Hello Bria,
    What you should check first, is the NTFS permissions on the User Profile Disk to begin with. See if the user has full control over the items that are in the UPD.
    Also check the GPO's that are enabled for the user and computer account. You can check that by running: gpresult /h <path>\gpresult.html
    There are two GPO settings that could prevent the user from deleting his/her own items: 
    User
    Configuration\\Policies\\Administrative Templates\\Windows Components\\Windows Explorer\
    Hide these specified drives in My Computer
    Prevent access to specified drives in My
    Computer
    There might be other GPO settings, that block deleting items on the UPD, but can't think of any out of my head.
    I can only think NTFS and GPO settings that might prevent the user from deleting items. In my case it was a GPO setting, that I didn't suspect.

  • Users Cannot Change Passwords on a Server 2012 R2 RDS Farm

    Hello I have a Server 2012 R2 RDS Farm consisting of 1 server that has connection broker and gateway configured and 4 RDS Session Hosts. The works great I even have a separate remote app farm to distribute the apps to the servers, my main issue is passwords
    and the lack of the EU ability to change these, listed below are my symptoms.
    Users password has expired denied logon instantly with no ability to change password.
    User tries to change password whilst in 30 day warning period using ctrl alt end the user is advised the password does not meet complexity requirements I have checked this and they do meet them.
    Expired passwords can be changed via the RDWeb site however this is not an option for us.
    Chris

    Hi,
    Firstly, based on my knowledge, remote users may have to change their passwords before expired. If not, they have to use OWA or logon on locally to change their passwords.
    Regarding the issue, please let us know if the following policies are enabled in your domain.
    Enforce password history
    Minimum password age
    Also, does a local domain user have the same issue?
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Windows Server 2012 Pooled Virtual Desktop collection GetVMstate issue

    I am trying to create a Pooled Desktop collection with my Powered off VM and it errors out The
    virtual desktop must be in a stopped state:  Could not identify the state of the virtual desktop.  Ensure that the RD virtualisation host server is available on the network and the virtual desktop is shut down
    In the debug logs it shows.
    Component RdmsModel: GetVMstate for Vm Win7_BaseVM failed with error 16386
    Component RDExceptionHandler: Could not identify the state of the virtual desktop. Ensure that the RD Virtualization Host server sunflower-1.HYPERQA.NUTANIX.COM is available on the network and that the virtual
    desktop Win7VMSF is shut down.
    Please help on resolving this GetVMState issue.

    Hi Krishna,
    Thank you for posting in Windows Server Forum.
    When you are configuring RDVH initially, please see that you have meet prerequisites. Remember that you need these pre-requirements:
    • Database based on SQL Server 2008 R2
    • Static IP Address for all Broker
    • Round Robin DNS
    • All RD Broker must be members of AD Windows Group (es. RDCB Server Group)
    • The group must be insert into SQL Server as sysadmin ONLY for the DB creation. After that DB will be created give the db_owner permission only for their DB
    More information.
    Windows Server 2012 R2: Unable Add New VDI Template
    In addition, we need all RD Broker must have the same SQL Native Client as main SQL Server (es. SQL Server 2012 SP1). The Connection Broker server's computer account MUST be a member of the local administrators group on the Virtual Host (RDS Host) machine and
    then reboot the server. Finally check the result.
    Windows Server 2012 Virtual Desktop Template Issue
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Windows Server 2012 R2 RDS + User profile Disks + App-V = Explorer.exe crashing all of the time

    I have built a new RDS farm on Windows Server 2012 R2 with two Session Hosts and a combined Connect Broker/Web Access server. I had the farm up and running with User Profile Disks and all seemed OK. However, as soon as I installed the App-V 5.0 SP2 RDS
    client on the session hosts, the explorer.exe process started crashing for any user logging in via the Web Access site. The process crashes and restarts every five to ten seconds. It's the same for administrators. If they log in via Web Access explorer.exe
    crashes, but if they RDP directly to one of the session hosts explorer.exe is fine. If I reboot the session hosts, then the first user to log in via Web Access has a stable desktop session (and appears to have a new profile as well). However, if that user
    logs out and back in again, explorer.exe starts crashing again. The only applications I have packaged at the moment are Office 2013 and Firefox.
    I tried disabling User Profile Disks, but this caused a whole bunch of other problems and I eventually lost the ability to log in at all via Web Access (errors about the user profile service). As this is a small pre-production environment I completed scrapped
    all of the servers and rebuilt from scratch. Again, everything appeared fine until I installed the App-V client, then explorer.exe started crashing repeatedly for all users.
    Has anyone come across this issue before? I have tried installing the App-V 5.0 SP2 Hotfix Package 2, but this didn't help. I have read in a few forums that App-V doesn't work very well with User Profile Desks, but I have not heard of this particular issue.
    Similarly, SP2 seems to have a lot of problems, so I am going to try removing App-V RDp Client SP2 and installing SP1. I ahev also deleted User Profile Disks for the test users to recreate their profiles, but this didn't help either.
    Any other suggestions welcome!

    I forgot to include the application event log entry for explorer.exe crashing:
    Faulting application name: explorer.exe, version: 6.3.9600.17039, time stamp: 0x53156588
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fb
    Exception code: 0xc06d007e
    Fault offset: 0x0000000000005bf8
    Faulting process id: 0xae8
    Faulting application start time: 0x01cfab3a273787fd
    Faulting application path: C:\Windows\explorer.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 69210d77-172d-11e4-80c6-0050560102d1
    Faulting package full name: 

  • Error installing Office 2013 on Server 2012 R2 RDS - Error 25004: the product key you entered cannot be used on this machine

    Hi there,
    I really hope someone can help me as I am tearing my hair out trying to get this resolved!
    I am working on a Server 2012 R2 server with RDS running. Before it was turned into a RDS server it had a copy of Office 2010 running as a trial to see would it work for the accounting package that is running for users via Remote Desktop. Trial worked ok
    so it was converted into a RDS server. Now, as its a RDS it needs to run Office under a volume licence, which I have. However when trying to install I get the message: "Error 25004: the product key you entered cannot be used on this machine. this is most
    likely due to previous Office 2013 trials being installed on the system."
    In summary I have tried everything I can think of and find to remove all traces of the old Office from the machine but still this message persists. I have run the Fix It For Me uninstall from MS and it cannot find any Office installed. i have manually searched
    through all of the Windows directories including Program Files and AppData and removed all traces of Office from there, I have searched the registry and removed all I can find from there.
    Where or what file does the installer look at to see that a previous version was installed? 
    I cannot scrub this machine which I would have done long ago because there is another SQL Server based application running on it.
    Really really appreciate anyone that can help me on this,
    Thanks

    Hi,
    I have definitely heard your frustration, and I’ll try my best to help you.
    Since Office 2010 installed on it before, you need to remove Office 2010 completely.
    KB about this error:
    http://support2.microsoft.com/kb/2792178
    A similar issue is addressed here. Although this method is based on Office 2010, but we can have a try:
    http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Q_28475448.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Server 2012 R2 RDS- Only want the Session Host, Connection Broker and Licensing Server!

    Hi all,
    Wondering if anyone has experience with implementing Remote Desktop Services (RDS) on Windows Server 2012 R2.
    I am doing an RDS design for a platform where we only need an RDS Session Host, Licensing Server and Connection Broker. We do not need web access as these servers will simply be jump boxes internally!
    However, implementing this correctly in our test environment has proved to be tricky. The options are:
    Use the Server Manager and do a traditional install via Roles and Features ( specifically add the Session Host, Licensing Server and Connection Broker). The installation process seems to go through ok in this scenario but when I head over to the Remote
    Desktop Services section of the Server Manager I simply get the message 'An RDS Deployment does not exist in the server pool. To create a deployment head to Roles and Features'.
    Use the specific ‘Remote Desktop Services installation’ option on the Server Manager and do a Session Based Desktop deployment and Quick Start. This installation process seems to go through correctly and the Remote Desktop Section seems to be working
    correctly via the Server Manager. However this process is ‘hard locked’ i.e. it installs the session host, web access and connection broker. I can then remove the web access component later from Roles/ Features.
    Is there a best practice (if any) for installation? i.e. Will there be any issues down the line if I remove RDS Web Access from my server while following method 2?
    There is a complete lack of documentation from Microsoft here so not sure what to do! Just need a basic RDS session based deployment.

    Hi,
    As I know from server 2012\R2 the best deployment skill is to perform via “Remote Desktop Services” installation mode with Standard deployment and don’t let single role to install. Because when we install through RDS mode, there are specific extra tools and
    services activated along with that deployment which you can’t find with single role installation. And that is for sure, when we install RDS role as of this, by default we will get install RDCB, RDSH and RDWA role installed.
    Sorry don’t have any option to try to remove that role as that role basically needed for RemoteApp and Desktop purpose. But if you want then you can try it with help of “Remove-RDServer”Powershell command.
    https://technet.microsoft.com/en-us/library/jj215506.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Server 2012 R2 RDS, User Profile Disks are created but local profiles are created as well. The UPDs aren't mounting correctly.

    2012 R2 RDS Deployment with RDCB HA and UPDs enabled. Everything was working fine with no issues until users started getting temporary profiles. Around the same time UPDs were being created but at the same time a user profile was created in C:\Users. 
    I actually rebuilt the entire RDS configuration except the SQL Server. It took about 5 hours and was not that big a deal but.... we still have the same issue! 
    Does anybody have the solution for this?

    Hi,
    In most cases, the issue is caused by locked UPD. And the workaround is to log off the user. Please check if it is the case.
    For example:
    RDS user profile disks - getting error temporary profile are being used as UPD are not accessible
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0d4b66fc-b53f-435e-b036-142b6ed15d0b/rds-user-profile-disks-getting-error-temporary-profile-are-being-used-as-upd-are-not-accesible?forum=winserverTS
    Also, please check if you will get the temporary profile when logging on with a local account of the session host server.
    If issue persists, please check if there is any related error in Event Viewer and provide us for further research.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Moving user profiles from Server 2012 with RDS services to User profile disks Server 2012R2

    Hello i have a question about moving my C:\users profiles.
    My current settings on the servers are:
    AD-Server 2012
    SQL-Server 2012
    TS- server with RDS roles (RDwebacces, RDs broker, RD session host) 2012
    everything about user profiles is now in C:\Users
    My new settings for the server will be:
    AD-ActiveDirectory - server
    SQL-Server
    TS1- RDS (RDwebacces, broker, RDS server group management) 2012R2 (I have enabeld userProfileDisks to Filesistem server)
    TS2- RDS(Session host) load balance 2012R2
    TS3- RDS (Session host) load balance 2012
    FileSistem - server ( here i will have on E: partition the new functionality UserProfileDisks) 2012R2
    So is there a way to move profiles from TS - C:\Users to FileSistem - E:\UserProfileDisks
    I am new to this so any idea wil be helpful.

    Hi,
    If the UPD is configured on the server which holds existing user profiles, just select the option:
    store all user settings and data inside the profile disk.
    Since you are moving user profiles between different servers, then user profile contents need to be migrated manually.
    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]

  • How to disable the Super User menu - (Right click windows icon menu) - Server 2012 R2 - RDS

    Greetings all,
    Can anyone please advise how to remove the Administrator / Super User menu that appears when you right click the Windows Icon (old start button) in Server 2012 R2 - for RDS users. I have searched and been able to disable access to each of these menu items (Control
    Panel, Event Viewer, Run, etc). But I am searching for a way to completely remove the menu. This menu also appears when you use Win-X shortcut.
    Hope someone can help.
    Terry

    Hi Terry,
    You can try following points, might helpful in your case. Go to 
    C:\Users\Default\AppData\Local\Microsoft\Windows 
    there you will see file called WinX 
    Right click this file and copy then go to
    C:\Users\YOUR_USERNAME\AppData\Local\Microsoft\Windows 
    then paste the file into the folder.
    NOTE: replace YOUR_USERNAME with your actual username. 
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Server 2012 Licencing RDS

    Hi,
    I am a little confused on how licencing works on Windows Server and require some help please.
    I have a server running Windows Server 2012 and in there I have installed SQL express and a 3rd party desktop application which will be using the SQL server o store/retrieve data. Now I need end users to access/work on this application using RDS. The server
    is not used for anything else, such as print server, file server etc.
    I realize that I have to purchase RDS User Cals for each user that will access the server through RDS but what I am not sure about is if I have to buy additional User Cals for the server itself on top of the RDS licences.
    Thanks in advance for any help.
    K

    Hi,
    In addition to above, you can also check below article.
    When do I need CAL?
    http://blogs.technet.com/b/volume-licensing/archive/2014/03/10/licensing-how-to-when-do-i-need-a-client-access-license-cal.aspx
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Cannot install or manage Server 2012 R2 RDS server locally but works remotely

    I am working with a Server 2012 R2 standard machine and attempting to get Remote Desktop Services installed and configured on it. Using the Add Roles and Features wizard while logged on locally to the server in question resulted in the error
    “Unable to connect to the server by using Windows PowerShell remoting.” However, if I use a different Server 2012 R2 machine to run the Add Roles and Features wizard remotely targeted
    at the original server then I can successfully get RDS installed.
    Also, after the installation has completed I cannot manage RDS locally on the server but can successfully manage it remotely from another Server 2012 R2 box. When attempting to use Server Manager locally and choose the Remote Desktop Services menu the error
    message "A Remote Desktop Services deployment does not exist in the server pool."
    The server appears to be functioning correctly and can be managed remotely just not locally. I can reproduce the behavior on other Server 2012 boxes in the environment.
    What would cause local install and management to fail but remote management work?

    Hi,
    Have you added the RDS server under server manager ADD server? Does it show the server in server list?
    Check whether there is any wrong IP address\hostname entry occurs under DNS record which looks\points the DNS entry successfully. 
    Add Servers to Server Manager
    https://technet.microsoft.com/en-in/library/hh831453.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can't print a pdf file with adobe reader 10.1.12 on a Windows Server 2012 R2 RDS session

    Situation : My users are connected with RDP on a Windows Server 2012 R2 Datacenter Remote Desktop Service and when they log on, their share printers are installed.
    When some users open a pdf file, they can't print it. When they try to print a file, nothing happen... No file sent to the printer...
    I have seen a difference between the shortcut icon of adobe reader for users who have this problem and others.
    No Problem :
    Problem :
    If someone can help me
    Thanks !

    Hi Ajlan,
    To fix my problem, i uninstalled adobe reader X with "Adobe Reader and Adobe Acrobat Cleaner Tool", rebooted the server, installed Adobe Reader XI and rebooted again.
    For some users, this fix the problem but with some others i had to define Adobe Reader by default again.
    I tried without use "Adobe Reader and Adobe Acrobat Cleaner Tool" before and adobe reader X wasn't really uninstall.
    Thanks,
    Regards,
    Sullyly

  • Adobe Reader XI Windows Server 2012 R2 RDS Support

    Hi all
    Is the Adobe Reader XI on a Windows Server 2012 R2 Session Host supportet?
    Thanks a lot

    I'm assuming that you are looking for the place inside the GUI to start Remote Control of a usersession. On Windows Server 2008 R2 you could just right-click a user inside Task Manager and launch Remote Control. With Windows Server 2012
    R2 Remote Control has been moved and is now part of the mstsc.exe. There are two ways to launch a Remote Control, either from the Server Manager GUI or using the commandline. I'm specifically referring to R2 because shadowing was not available
    in Windows Server 2012, and got reintroduced (and improved) in Windows Server 2012 R2.
    For all the options check out this blog post:
    Detailed walkthrough on Remote Control (Shadowing), reintroduced in Windows Server 2012 R2
    Kind regards,
    Freek Berson
    The Microsoft Platform
    Twitter
    Linked-in
    Wortell company website

Maybe you are looking for

  • Questions on Using MAPS 1.0 on E90.

    A couple of questions on Maps. I started fiddling with Navigation. If I back out and come back, is there a way to resume where I left off with regard to route planning without having to select the from/to locations and re-do the entire thing? I guess

  • Mail I have received from MSI?

    In attached quote is a mailing I have had with someone from MSI, Quote Dear Peter, Please check the attachment again. Sorry for any inconvenience caused. Thanks for your supporting MSI product.  Please feel free to let us know if you still have any f

  • Simple parameter question ie db_name and usage in an expression

    Hi, I just started with SSIS with an example containing a flat xls file with 5 columns and a source table in sql. The example works fine no parameters etc. What I want to try out is to make an exception that if a certain db_name = X then the flow sho

  • Adobe Illustrator cs2 saving image

    hi there, I have developed a logo using cs2 on transparent background I have lots of images together and wanted to save the same logo for print, brochure, web etc in various sizes. Can anyone help with best way to do this? Thanks, gerrys

  • Cannot access "check for available downloads"

    So, I can download and play any of the free singles.. and I can purchase singles and download them... but I have 58 items including 36 songs from 2 compilations that I have purchased but that will not download as a group. Every time I click on "Check