Bugged Removal of RDS server

Here is what happens....
PS C:\Windows\system32> Remove-RDServer -Server "Server.forest.org" -Role "RDS-RD-SERVER" -ConnectionBroker "VDI.FOREST.ORG" -force
Object reference not set to an instance of an object.
    + CategoryInfo          : InvalidResult: (:) [], NullReferenceException
    + FullyQualifiedErrorId : JobStateFailed
    + PSComputerName        : localhost
What is Microsofts official response to this issue? I have this issue and its just plain annoying... i have been ignoring it but would love to get it resolved. The method that people have posted for the clean up scares me a bit.
If i just remove it from the "server manager" i cant expand the RDS tab. it says i need the server in there.
Searching around yields results all with deleting sql records manually. However someone listed that it yielded issues when trying to create a Highly Available connection broker which i plan to do in the near future.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/f9320403-82db-4f15-8760-f3d42283debb/cannot-remove-rd-session-host-server-windows-server-2012?forum=winserverTS
http://www.insidetechnologies.eu/blog/articoli/WindowsServer2012RemoveManuallyServerfromRemoteDesktopServices
http://social.technet.microsoft.com/Forums/windowsserver/en-US/7664e1aa-1862-4d95-9780-1ae00e1862bf/unable-to-remove-deleted-session-hosts-from-rds2012-deployment

Hi,
Thank you for your post in Windows Server Forum.
When you will remove RDSH role from server 2012, you also need to delete the database files. Because when we are deploying it will take database files during High availability. “When you configure a RD Connection Broker HA, the internal database data is
migrated over to the SQL instance you have specifyed. Please see the link below that shows the data inside a RD connection broker database.” Quoted form article).
Please check below article for more information.
1. Troubles with Removing RD Connection Broker High Availability
2. Deploying RD Connection Broker High Availability in Windows Server 2012
3. Windows Server 2012: Manage your RDS with RDMS
Hope it helps!
Thanks,
Dharmesh

Similar Messages

  • Remove Powershell Pinned Item from taskbar for all users in 2008 R2 RDS server

    Im trying to remove the Powershell Pinned Item from the taskbar on a 2008 RDS server. I have setup a mandatory porfile from a 2008 SP2 server (because you cannot do this in R2 any more), Check the default user pinned items folder, check the registry for powershell.exe, loaded up the NTUSER.DAT file for default to see if any thing obious was there, tried some logon scripts that are suppose to remove pinned items and posted on several forums. This has to be one of the simplest dumb things i have ever worked on , and its been about a week. So how do i remove it?
    P.S.
    having the user click un pinn is not a solution
    yes i have checked C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

    Hi Jeramy,
    The default pinned items are created the first time a user logs in. Modifying the default user profile won’t help here.
    The easiest option is to set the “Remove pinned programs from the Taskbar” to disable taskbar pinned items altogether. The default pinned items won’t show up, but the user won’t be able to pin anything else either.
    If you don't want to disable pinning altogether the solution is a little more complicated. One option is to remove the shortcuts “Accessories\Windows PowerShell\Windows PowerShell.lnk” and “Administrative Tools\Server Manager.lnk” from the common start menu folder. These shortcuts are copied to create the pinned items. If they aren’t present they can’t be pinned. This is not a supported option but it may work.
    Another option is to use IStartMenuPinnedList::RemoveFromList in a first run script to remove the pinned items. Not sure how reliable this would be due to the timing of when the default items are added compared to when the script would run.
    One other option is to use shell scripting to invoke the pin & unpin verbs on items:
    http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx
    This would need to be done when the user first logs in (since unpinning default items in the default user profile won't affect each new user account), but it also need to be timed after Explorer sets up the default pinned items as explained above.
    Hope one of these options work for you!
    ~Olga

  • Unable to remove WS 2008 RDS 5 User CAL from WS2012 RDS Server

    Hi All,
    I'm hoping you can assist with this as it's causing me a headache... :(
    My client has installed a WS2008 5 user RDS CAL into his 2012 server (im unsure why) and converted it to a 5 device CAL.
    He's since sold the licence to a third party as it was a retail package and has asked me to remove the license from the 2012 server.
    I've tried the usual methods of removing the RDS role and re-installing and uninstalling the license through the powershell (the command executes successfully but the licenses remain).
    Does you know how this can be uninstalled without having to re-install the OS?
    Thanks in advance.

    Hi,
    I'm assuming there are no other RDS CALs installed on this RD Licensing server.  If my assumption is incorrect please let me know before continuing.  The below procedure will
    delete all installed RDS CALs so only complete the steps if you have the information (authorization number, agreement number, emails, paperwork, etc) on the installed licenses.
    In RD Licensing Manager, right-click on the server name and choose Advanced -- Deactivate.  After it is finished deactivating close RD Licensing Manager.  Open Services.msc and stop Remote Desktop Licensing service.  Open windows explorer
    and remove all contents that are in the following folder:
    C:\Windows\System32\lserver
    Back in services.msc, Start Remote Desktop Licensing.  Open RD Licensing Manager and Activate/Install RDS CALs if needed.
    -TP

  • Possible workaround for: Launch Debugger Error "Unable to connect to the RDS server"

    I do not yet have a reproducible case for this. *Sometimes* ColdFusion Builder throws the "Unable to connect to the RDS server" error, when attempting to start a debug session against a remote server. However, "RDS Dataview" and "RDS Fileview" views correctly list the servers and their related data/file, and testing RDS connection result is "Test connection was successful". The workaround is:
    1. Login to the ColdFusion Administrator
    2. Navigate to "Debugger Settings" page (beneath "Debugging & Logging")
    3. Click on "Stop Debugger Server" -or- "Restart Debugger Server"
    4. Restart ColdFusion Application Server
    Notes:
    a) Step #3 must be done via ColdFusion Administrator, not via ColdFusion Admin API (stopLineDebugger()|restartLineDebugger())
    b) Step #4 can be done via ColdFusion Administrator -or- ColdFusion Builder
    c) Note that there is a CF9 Release Note for Bug #78488: "When a server having "Windows service option" ENABLED is added as a remote server, then Start-Stop-Restart operation cannot be done on it."  However, I've found that "Restarting" a remote server, that is running as a Windows service, is possible in ColdFusion Builder (at least this is so on standalone developer edition).  Like Bug #78488 says, I am unable to "Stop|Start" a remote server that is running as a Windows service. I'm just mentioning all of this, due to my suggestion in "b", that CF can also be restarted via ColdFusion Builder.
    It is interesting that attempts to stop|restart the debugger server, via CF Admin API, do not resolve the issue. So, it seems that the "Stop Debugger Server" and "Restart Debugger Server" buttons, in CF Admin, are doing more than calling the corresponding CF Admin API methods.
    Attached is an image of the error.
    Just posting all of this as an FYI, in case it helps anyone.
    Thanks!,
    -Aaron Neff
    (OH.. I'm unable to attach images at this time *DOH!* ..well, I'll try to remember to update this post w/ the image, once I see that attachments are allowed.)
    I'll try to describe the error message window:
    - It is 494x452 pixels
    - Title of the window is "Error occurred while launching the Debugger"
    - Body content of the window is as follows:
    Unable to connect to the RDS server 'ServerNameHere'
    Ensure that the server is currently running and that line debugging and RDS are enabled. You may also need to check your RDS connection settings in Eclipse to ensure that they are correct.
    Error Message:
    -1:Error connecting to JVM for debugging at localhost:5005. Could not attach to the VM at port 5005. You must specify this debugger port in the JVM settings of your application server, for example: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005. You will also need to make sure that another debugger is not currently connected to the CF JVM at the same port (5005).
    Root cause ->
    Connect refused: connect

    hi,
    I have been facing the same problems while connecting to Oracle Web Conferencing and is getting error message :Unable to connect to the server. The Web COnferencing Console will now close. Please try again later. If the problem persist, contact your system administrator.
    Diagnostic report shows failed on the connectivity part
    Connectivity
    mx-direct Failed
    0:00:00.719 Connecting to web331.oracle.com:1025
    0:00:00.922 Name resolved to 148.87.108.234
    0:00:21.906 connect() failed (0x8007274C)
    0:00:21.906 Connection failed (0x8007274C)
    Pl help me to fix the problem.
    Regards
    Gobind Ahuja

  • Can't remove websense url server

    Hello
    I'm running version 7.2(5)GD. Trying to remove the url-server for websense and when I do, I get the following error:
    Please remove url-block command before removing url-server
    The url-block commands are removed and still doesn't let me remvoe the url-server ! I cleared even the url-filter statements and still can't remove it. I'm wondering if we're hitting a bug. Is there any other way to remove it without possibly rebooting the firewall?

    Looks like you are hitting the following bug: CSCsl04448
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsl04448

  • Question concerning the state of licenses of a Windows 2008 R2 RDS server after disolving the Domain, the DC, and the AD.

    Background: - several months back a Windows 2008 r2 domain existed with a DC, and an AD.  Windows servers where apart of this domain.  One of the servers being a Windows 2008 R2 server with Remote Desktop Services loaded.  The server was properly
    licensed for 8 User CALS.  All was operating correctly.  Since that time the domain has been removed, the DC removed and the AD removed.  What is left are Windows 2008 R2 servers in a workgroup.  Again, one being the Remote Desktop Server.
    Q1. Can the functioning Per User CALs (totaling 8) remain as Per User CALs?
    Q2. Am I required to switch them to 8 Per Device CALs?
    Referencing: "Best practices for setting up Remote Desktop Licensing...." - Article 2473823
    In the above article it states under "RDS HOST and RDS Licensing servers are in the same Workgroup" that "We can use ONLY Per Device CALs in a workgroup environment. So, you should install only Per Device CALs on RDS licensing server."
    ( Which in my case they are both the same server.
    Any information regarding what licensing options that can be used on a workgroup RDS server would be appreciated.

    Hi,
    Yes, agree with the supporting article which you have commented. We can only use per device CAL under workgroup environment and if you want to use per user CAL then server need to be member of domain. 
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support
    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]

  • Mac Mail won't remove copy from server

    My mail remains in the ISP's Inbox despite the proper setting in my Mac Mail program to remove copy from server immediately after downloading. Even after I close my mail program, the old mail will not be deleted. I must go to my Inbox via the Net and delete the mail with a global tag/delete.
    This problem began 5 to 7 months ago. Before that the auto deletion worked fine, and it worked fine in older versions of OS X. Is this an ISP compatibility? A bug in the current Mac Mail release? A bug in Tiger?
    I asked my ISP and his first reply said this is one of many bugs in Mac Mail and I should switch to Thunderbird. I'll look at that but I prefer to use Apple software.
    After 4 years I know how seldom Apple debugs Mail and Safari. Does anyone know if an update of Mail is on Apple's schedule?
    iMac and others   Mac OS X (10.4.8)  

    Try changing the setting to After one day or When moved
    from Inbox (and leave it at that), to see whether it’s just the Right > away setting that doesn’t work or that Mail fails to remove messages > from that server no matter what the settings.
    I'll do that.
    BTW, have you actually tried using another mail
    client such as Thunderbird
    to check whether the same happens there as well?
    My ISP, who hosts a university and has a higher percentage of Mac users than most, recommended Thunderbird so I presume it does well here at Ntelos.net
    Once upon a time, for two decades as the active proprietor of the Freeware Hall of Fame, ( www.freewarehof.org ) my 12-hour-a-day hobby was installing and testing applications and utilities. I guess I'm tired, because it no longer sounds like fun.
    iMac and others   Mac OS X (10.4.8)  
    iMac and others   Mac OS X (10.4.8)  

  • Permissons Problem with Windows 2012r2 RDS Server

    Hello,
    I have an 2012R2 RDS Server with about 60 Users and abount 20 printers in different locations. Each user should only see the printer of his location. Each printer is add as a standard IP-Printer.
    As far so good, I gave permissions for each user group in each location for printing and removed "everybody". From this point on, the printjob disappeared from the spool directory and will never be printed. All other permissions are default an
    unchanged.
    It makes no difference of printing as administrator or as normal user.
    If i add "everybody" again back to the printer permissions, printing works as designed.
    Thanks in advance for any suggenstions and help,
    Regards from Austra
    Reinhold

    Hi Reinhold,
    Based on your description, I understand you encounter the printer issue after
    Everyone group removed.
    In Security tab in print Properties, please click
    Advanced button. In Advanced Security Settings panel, select Everyone group and click ”Edit…” button. Then just un-check
    Print: Allow permission. Please check if this issue still exists.
    Meanwhile, please also refer to following article and check if can help you.
    Assigning printer permissions
    By the way, for a test, when remove the
    Everyone group, please re-install a print and monitor the result.
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    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]

  • No Pages Selected RDS Server 2012r2

    Hi All
    We are currently having troubles which seem to be random in nature printing only from Adobe PDF across three clients running on the below configuration.
    Server 2012 r2 RDS (terminal Services) Hyper v instance
    Adobe Reader 11.0.5
    each of our three clients have a dedicated print server and all printers are shared network devices deployed by group policy.
    Each RDS server has 15 to 25 user sessions
    All users have no problem printing from any other app but when printing from adobe reader some users depending on the user and the printer (randomly) the user will not be able to print with the "no pages selected" dialogue box coming up.
    For instance one user will log into their rdp session and will not be able to print pdfs to one printer. But another user can print from adobe no problems to the same printer.
    Trouble shooting so far:
    Re install Adobe
    Ensure all drivers are at latest version V4 drivers where available and V3 where not. (Printers are HP upd and Xerox Docucenters)
    pdf/a view mode set to never
    Disabled Enhanced security mode and protected mode at start up.
    Tested using auto rotate selected and not
    changed the fit to page/shrink to fit etc options
    Turned off advanced printing features on the printers.
    If anyone could help this would be greatly appreciated as I am at the point of pulling my hair out and so are our clients.
    Cheers
    Luke

    I've had the least Adobe issues with setting up the following:
    On the print server:
    Have as few drivers on your print server as possible. Set them to a universal driver if possible (I am trying to get all my printers on HP Universal Printing PCL 6 driver)
    Set print drivers to run in Isolated mode.
    Uncheck "Render print jobs on client computers" in the printers on the printer properties' sharing tab.
    Set Print Processor to Winprint with default data type of RAW in the printer properties' advanced tab.
    (Here is a quick powershell way to do it, but I have not tested it:  Two Minute Drill: Change Print Monitors/Processors via PowerShell - Ask the Performance Team - Site Home - TechNet Blog…)
    On session host (disable logins, make sure no other users are logged in):
    Make a backup and then delete all registry keys under:
    HKLK\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\
    Also, to clear the x86 side of things, do this for:
    HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\
    These will be a list of SIDs along with a Servers Key that lists print server connections.  Delete all of it.  As people reconnect, the printers will be mapped, and these keys will be created again.
    So now the issue happens much less often (2 times a day on an environment with 150 people connected across 4 Session Host servers)
    My next step that I haven't done yet.
    On Print Server:
    Remove unused print processors now that everything is on winprint per instructions from: How to Remove Non-Default Print Processors from Print Servers | HP® Support
    Note: I did this on the print server, but I only renamed the .dll file in the C:\Windows\System32\spool\prtprocs\x64 folder, and when a new printer was added to the print server, not only did it re-add the .dll file from another driver location, but it reset all my printers that were using that driver to use the HP print processor again.  So make sure that ALL instances of the .dll file are renamed to .dll.old so that it can not grab it.
    One thing I noticed when I did this was that an additional change had to be set to the driver to make sure that the driver can install, otherwise the printer will give you an error when you try to install it with the driver as it won't be able to find the print processor associated with that driver.
    In the registry, go to:
    HLKM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3\<Driver Name>\
    Change the REG_SZ Print Processor to "winprint".  Also edit the REG_SZ key Monitor to be blank.  (Replace "Windows x64" with "Windows NT x86" if you are using 32-bit clients, or do it in both if you have a mix)
    When I did this on the print server without renaming all instances of .dll on the server, I was able to install a new printer and it reverted all these settings back.  In theory, if I get all instances of the .dll files to be renamed, and it can't pull them from another location, they SHOULD just pull the winprint print processor when it installs the driver, but I have not yet confirmed this.
    Please make sure to back up registry keys before making changes, and perhaps take a snapshot/backup of your Print Server before making these changes in case anything inexplicably breaks.

  • SQL blocking during removal of report server from Scale-out-Deployment

    I recently removed a 2012 reporting service instance from the Reporting Service Scale-out-Deployment. After I removed the server, there was a lot of blocking  on the report DB for about 30 minutes. My report DB is on the same SQL instance as
    my TFS databases and the blocking caused web access for TFS and Visual Studio connections to fail during check-out/check-in.
    Should I expect blocking to happen every time I remove a report server out of the Scale-out-Deployment?
    Thanks,
    KA

    Hi KA,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • [svn:bz-trunk] 15217: Bug: BLZ-508 - If server receives message for an unknown destination it shouldn ' t include the destination name in the error message sent back to the client .

    Revision: 15217
    Revision: 15217
    Author:   [email protected]
    Date:     2010-04-05 03:43:36 -0700 (Mon, 05 Apr 2010)
    Log Message:
    Bug: BLZ-508 - If server receives message for an unknown destination it shouldn't include the destination name in the error message sent back to the client.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Changed the error message to not include destination id. I'm also checking in a few minor fixes I had locally.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-508
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/errors.properties
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/cluster/JGroupsCluster.java

    Thanx Mete, yeah i did...
    but i solved it some other way... not entirely sure this was
    it though as i was doing a lot of things at once...
    it was fds.swc... possibly it was out of date or missing.

  • Exchange 2013 with Outlook on RDS Server is extremely slow

    Exchange 2013 CU5 on Server 2012 R2 fresh install/new to domain; Outlook 2010 or 2013 on Remote Desktop server not in cached mode is slow to open, search and send messages with attachments.  Opening messages and opening attachments runs quickly.  
    My test mailbox has 300kb worth of mail in it and sending a message with a 5Mb attachment locks up Outlook for close to 1 minute and takes another 30 to 90 seconds to disappear from the outbox and and move to sent items.  This issue does not present
    itself in OWA.  My current testing RDS environment is a fresh install of Server 2008 R2 with Outlook 2013.  No additional add-ins or AV running on the Exchange server or the test RDS server.
    When cached mode is enabled, Outlook runs better as shown in Outlook 2010 (+ Exchange 2013) works extremely slow; however, I don't consider this an option because there isn't enough drive space on the RDS server to cache all of the user profiles.  
    Other Exchange environments - Outlook 2010 or 2013 in an RDS environment (non-cached) with Exchange 2007 or 2010 - don't show the same performance issues.  Moving within Outlook and sending large attachments runs quickly.
    I have checked Exchange throttling settings and monitored logs, but have not found cases where my test user is being throttled.  I have also looked at turning off IPv6 based on another post's suggestion; however, I have seen conflicting information
    about disabling IPv6 for Server 2012 R2, so I have not yet gone down this path.
    The Exchange server is a VM on a new VMware host and has assigned 8 cores from Intel Xeon E5-2640 procs and 16GB RAM; 1TB thick provisioned database volume on a RAID 5 array with 6 x 10k RPM SAS drives.  Disk queues are low on the Exchange server (in
    the .20 to .70 range).  My test RDS server is on the same VMware host on the same vSwitch.  Another test system is on a different system, but exhibiting the same behavior.

    Hi,
    How about the suggestion from Festivalman?
    Feel free to contact me if there is any update.
    Thanks
    Mavis
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • In Mail I have checked Remove copy from server but they do not delete how can I get it to sync correctly?

    In Mail I have checked Remove copy from server but they do not delete, In Mail when I have checked Remove copy from server but they do not delete.
    I have a hotmail accout.  When the emails have downloaded and I "Get Account Info" in Messages on server it shows all the messages I have just downloaded if I switch to That have been downloaded to my Mac the display it is blank.  Also if I delete the downloaded messages and then get new info.  All the messages are downloaded again and the count of new messages increases (this increases every time I Get New Messaages) .

    See:
    *https://support.mozilla.org/kb/ive-lost-my-firefox-sync-account-information

  • I was told I need to remove the enterprise server account I have and need to add a new one for work but the IT person did not tell me how to do this.  Can anyone help?

    I was told I need to remove the enterprise server account I have and need to add a new one for work but the IT person did not tell me how to do this.  Can anyone help?

        Jennymbell, never fear help is here!
    Have you tried contacting your IT department for assistance? You can visit http://bit.ly/QECbGh for steps on how to enterprise activation.
    Keep me posted if you need further assistance.
    John B
    Follow us on Twitter @VZWSupport

  • RDS Server timed out in CF Report Builder

    I am so frustrated I could scream!!! For some reason, CF
    Report Builder is timing out on ALL reports - even ones that I have
    previusly created. Whenever I try to access the Report Query, it
    times out. Whether I'm trying to edit a previously created query,
    or create a new query. I have stopped and started both IIS and RDS
    Server numerous times already, and that has not helped at all.
    HELP!!! How can I fix this?

    Found the answer in one of the old discussions.
    Correct syntax is report.functionname(). I was using report.functionname.
    Thanks anyway!

Maybe you are looking for

  • Data services with SQL Server 2008 and Invalid time format variable

    Hi all Recently we have switched from DI on SQL Server 2005, to DS(Date Services) on SQL Server 2008. However I have faced an odd error on the query that I was running successfully in DI. I validate my query output using a validation object to fill e

  • Scripting in Filler Text

    Hi Guys, I'm currently writing a set of various contracts for use in my business. What I want to do is be able to place a placeholder piece of text that can be changed in one location and therefore be retroactively changed in the rest of the document

  • IPSec VPN Design

    Hi, Attached is my network topology. I want to encrypt the traffic comes from site A,B, and C to the main router and visa versa. I think we have two options: 1- Make the main router the IPSec termination for the sites A,B, and C routers. 2- Make Site

  • Good morning any one can help me with his experience???????

    I'm a beginer in java programing and i wanted to see for my future. that means in future of my plans in programming. I'd like to be a good programmer by using Java language. but i want from you to suggest me which steps should I take to do that. wait

  • Create & Load Attribute without Outline Load Utility? Add Many Attributes?

    1. Is it possible to create and load attribute dimensions without using Outline Load Utility? How? 2. What is the fastest way to create and load attribute dimensions massively? (ex. 5000 attributes) p.s. I don't understand when John Goodwin says "rev