Remote Restart of Services (with dependencies)

Hello all,
i've a short question about restarting a service on a remote machine with powerhell.
I've tried the following:
get-service -computername ServerXY -name ServiceXY | Set-Service -Status stopped
And it works like a charm. But some services have dependencies. For example DFSR:
PS C:\Windows\system32> get-service -ComputerName ServerXY -name dfsr | Set-Service -Status Stopped
Set-Service : Cannot stop service 'DFS Replication (dfsr)' because it is dependent on other services.
At line:1 char:51
+ get-service -ComputerName ServerXY -name dfsr | Set-Service -Status Stopped
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.ServiceProcess.ServiceController:ServiceController) [Set-Servi
ce], ServiceCommandException
+ FullyQualifiedErrorId : ServiceIsDependentOnNoForce,Microsoft.PowerShell.Commands.SetServiceCommand
Is there a possiblity to restart services with dependencies remote, too?
Regards, Heyko

Instead of Set-Service, use the Stop-Service cmdlet with the -Force parameter in order to stop services that have dependencies. If you want to restart the service, as you've mentioned, then pipe you Get-Service command to the Restart-Service cmdlet. This
cmdlet will also take the -Force parameter, allowing services to restart even when there are dependent services.
Update: Added info about the Restart-Service cmdlet.

Similar Messages

  • [solved] How to restart all services with systemd?

    I had the habit of restarting all daemons after an upgrade so to make sure the newest libraries, configuration files etc were loaded. I did that with a shell script that restarted the daemons in order which they were listed in rc.conf. With systemd I could do something similar by first getting a list of running services and ordering a 'systemcrl restart  <servicename>' for each. But since systemd keeps track of dependencies I wonder if that would be the way to do it. Also I would need to filter out 'one shot' type services that are only needed on bootup.
    <edit>restart instead of reload</edit>
    <edit>solved it with a little script</edit>
    Last edited by rwd (2012-11-27 21:02:02)

    I think that's what systemctl snapshot does.
    snapshot [NAME]
               Create a snapshot. If a snapshot name is specified, the new snapshot will be named after it. If none is specified an automatic snapshot name is generated. In either case, the snapshot name used is printed to STDOUT, unless --quiet is specified.
               A snapshot refers to a saved state of the systemd manager. It is implemented itself as a unit that is generated dynamically with this command and has dependencies on all units active at the time. At a later time the user may return to this state by using the isolate command on the snapshot unit.
               Snapshots are only useful for saving and restoring which units are running or are stopped, they do not save/restore any other state. Snapshots are dynamic and lost on reboot.
    Then, isolate emergency.target or rescue target and switch to the snapshot.

  • The Remote Desktop Management service terminated with the following service-specific error %%4294967295

    Got this error after a reboot for the monthly MS hotfixes. After messing around too much, I finally found the problem and though that I would document it here since I have not found the solution anywhere I looked.
    This is in a Remote Desktop setup of two RDCB using a SQL DB that is hosted on a third server. The Remote Desktop Management service would fail to start with the "The Remote Desktop Management service terminated with the following service-specific
    error: %%4294967295" error because the SQL Server service hosting the database was offline. It had not automatically restarted after the same hotfixes. So I started the SQL server, then was able to get Remote Desktop Management to start on my RDCB without
    any delay.
    Philippe Carignan

    Hi Philippe,
    How is everything going on?
    Please check below thread for information.
    Remote Desktop Management Service, Service-specific
    error %%2284126209
    Hope it helps!
    Thanks,
    Dharmesh

  • Restart a service on a remote computer

    So I am a little confused and would be gracious for some help here. In my PowerShell class I am tasked with the following:
    Write a PowerShell script that can be used to restart a service on a remote computer. The script must do the following:
    Accept a parameter to for the computer to restart the service on
    Display a list of services running on that computer
    Allow the user to enter the name of a service to restart
    Display a message that the service on the specified computer is about to be stopped
    Ask the user to hit the Enter key to continue
    Stop the service on the remote computer
    Display the state of the service on the remote computer after the stop command has been sent
    Display a message that the service on the specified computer is about to be started
    Ask the user to hit the Enter key to continue
    Start the service on the remote computer
    Display the state of the service on the remote computer after the start command has been sent
    I'm a little confused about how to set the variables into the script. Here is what I have so far but I'm not exactly sure of the errors im getting within the ISE. Any help would be greatly appreciated. Thanks
    $session = New-PSSession -ComputerName localhost
    Enter-PSSession $session
    Get-Service | sort-object -property `
    @{Expression="Status";Descending=$true}, `
    @{Expression="DisplayName";Descending=$false} | Where-Object {$_.status -eq "running"}
    $userinput = read-host "Enter Service to restart:"
    write-host "$userinput is about to Stop." -fore yellow -back magenta
    Write-Host "Press any key to continue ..." $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
    Stop-Service -InputObject (Get-Service -ComputerName "localhost" -Name "$userinput"

    Actually I will tell you the answer because you will not see it.
    The issue is you are using ISE when you should be using CLI or don't use
    $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
    This command is specific to CLI PowerShell.
    ¯\_(ツ)_/¯

  • Restarting Time Service remotely on several macs

    Hi,
    i am realizing NTP problems with 10.4 and 10.3 which means the clients tend to have another time then provided by the ntp-server.
    For 10.3 this seems to be related with the buggy System-Preferences in general, as opening & closing the lock solves the issue and the clock is synced again.
    Now i am wondering if there is a more advanced method to restart the time-service in 10.3, 10.4 and in best case 10.5 to avoid such problems in the future.
    I could define a launchd agent in each client but it looks like
    SystemStarter -d restart "Network Time"
    does not work on all osx-versions.
    On the other hand i am thinking about implementing an ARD-task.
    So lets do a brain-storming on how to restart the time-service on 10.3 up to 10.5 using a clever solution.
    Any ideas ?
    Best regards
    fidel

    Hi BDAqua,
    well i could check that but somehow i don't think this fix will be a permanent one.
    Basically i guess restarting the service in a loop is the best way to be sure we are in sync.
    Maybe i should just write an applescript/shellscript which checks for the os-version and depending on the reply start a matching command to restart it.
    NTP in general isn't a problem with all
    our Windows & Linux boxes - only the Macs with 10.4 and older cause problems

  • Windows 2012 routing and remote access service with same subnet

    I have internal server IP range -192.168.1.0/24
    Windows routing and remote access service  with vpn client IP -192.168.11../22
    client side IP subnet is -192.168.1.0/24
    So we wan routing \ NATING between  192.168.1.0/24 to 192.168.11.0/22 so if vpn user try to ping 192.168.11.5 it should internally forward all request to 192.168.1.5 
    <p>Don't forget to mark helpful or answer</p> <p>connect me :-</p> <p>http://in.linkedin.com/in/satya11</p> <p>http://facebook.com/satya.1000</p>

    Hi,
    According to your description, my understanding is that VPN client and internal network has the same IP range -192.168.1.0/24. And you want to transfer internal network from IP address 192.168.1.0/24 to 192.168.11.0/22.
    Agree with Charles David’s point of view. The easiest way to fix routing confusion would be to either change the VPN subnet or the VPN client subnet.
    Or, if you configure Windows Server(RRAS) as VPN server, you may enable NAT to transfer internal IP address:
    1. Open RRAS, add NAT.
    2. New interface to NAT and configure it as public interface.
    3. Open Address Pool tab, add IP address range 192.168.11.0/22.
    4. Click Reservations, add reserved IP(192.168.11.0/22) and corresponding internal IP(192.168.1.0/24) one by one.
    This would be a lot of workload. Besides, you may use 3rd party devices to transfer subnet IP addresses.
    Best Regards,
    Eve Wang 
    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]

  • Troble configuring Hyperion Shared Services with SQL Server 2005

    I recently installed SQL server (SQL SERVER 2005) in my machine and then am trying to install Hyperion (9.3.1) products. I started with Shared services. It was installed successfully. Problem is occuring when am trying to configure Shared service with SQL database using Hyperion Configuration utility (9.3.1)
    The error which is popping up is
    Unable to connect to the database for the product Hyperion Shared Services.
    Things which I tried from my end
    1. Made sure TCP IP Protocol was enabled in SQL server configuration server.
    2. hypuser was created in SQl server.
    3. hypdb was created in SQL server.
    4. Was having dynamic IP address so install Loopback adapter to obtain Static IP address and port.
    5. Port and IP address was correct.
    Let me know where I am going wrong.
    Any help will be greatly appreciated.

    Finally got it fixed firewall settings needed to be change : This document helped me a lot to troubleshoot the issue
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
    This problem may occur when SQL Server 2005 is not configured to accept incoming local and remote connections, which is disabled by default in SQL Server 2005 Express Edition, SQL Server 2005 Developer Edition and also SQL Server 2005 Enterprise Edition. To solve the connection forbidden problem, SQL Server 2005 needs to configure to allow incoming local and remote connections.
    Firstly, ensure that SQL Server 2005 is configured properly to allow incoming connections on the instance of database server, else enable and turn on the local and remote connections setting.
    Click Start button, then go to Programs or All Programs, then select Microsoft SQL Server 2005, followed by Configuration Tools. Click and run the SQL Server Surface Area Configuration.
    On the “SQL Server 2005 Surface Area Configuration” page, click Surface Area Configuration for Services and Connections.
    On the “Surface Area Configuration for Services and Connections” page, expand Database Engine tree, click Remote Connections.
    Select Local and remote connections, or Local connections only which applicable only if there is no remote system tries to connect to the SQL Server, useful when you just trying to connect and authenticate with the server after installing.
    Select the appropriate protocol to enable to local and/or remote connections environment. To ensure maximum compatibility, select Using both TCP/IP and named pipes.
    Click Apply button when done.
    Click OK button when prompted with the message saying that “Changes to Connection Settings will not take effect until you restart the Database Engine service.”
    On the “Surface Area Configuration for Services and Connections” page, expand Database Engine, then click Service.
    Click Stop button to stop the SQL Server service.
    Wait until the MSSQLSERVER service stops, and then click Start button to restart the MSSQLSERVER service.
    Secondly, SQL Server Browser service has to be enabled to allow for local and remote connections if SQL Server 2005 is running by using an instance name and users are not using a specific TCP/IP port number in the connection string.
    Click Start button, then go to Programs or All Programs, then select Microsoft SQL Server 2005, followed by Configuration Tools. Click and run the SQL Server Surface Area Configuration.
    On the “SQL Server 2005 Surface Area Configuration” page, click Surface Area Configuration for Services and Connections.
    On the “Surface Area Configuration for Services and Connections” page, click SQL Server Browser.
    Select Automatic as the Startup type to start SQL Server Browser service automatically every time system starts.
    Click Apply button.
    Click on Start button to start the service immediately.
    Click OK button.
    Finally, if remote computer needs to connect and access SQL Server, an exceptions in Windows Firewall included in Windows XP SP2 (Service Pack 2), Windows Server 2003 and Windows Vista needs to be created. If you’re using third-party firewall system, the exception rules also needed to be created to allow external remote connections to the SQL Server 2005 and SQL Server Browser Service to communicate through the firewall, else connections will be blocked. Consult the firewall manual for more details. Each instance of SQL Server 2005 must have its own exception, together with an exclusion for SQL Server Browser service.
    SQL Server 2005 uses an instance ID as part of the path when you install its program files. To create an exception for each instance of SQL Server, you must identify the correct instance ID. To obtain an instance ID, follow these steps:
    Click Start button, then go to Programs or All Programs, then select Microsoft SQL Server 2005, followed by Configuration Tools. Click and run the SQL Server Configuration Manager.
    In “SQL Server Configuration Manager”, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.
    On the “SQL Server Browser Properties” page, click the Advanced tab, locate the instance ID in the property list.
    Click OK button.
    Then create an exception for SQL Server 2005 in Windows Firewall.
    Click on Start button, the click on Run and type firewall.cpl, and then click OK. For Windows Vista, type firewall.cpl in Start Search box and press Enter key, then click on Allow a program through Windows Firewall link on left tasks pane.
    In “Windows Firewall”, click the Exceptions tab, and then click Add Program.
    In the “Add a Program” window, click Browse button.
    Click the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe executable program, click Open button. MSSQL.1 with is a placeholder for the instance ID that is obtained from previous procedure. Note that the path may be different depending on where SQL Server 2005 is installed.
    Click OK button.
    Repeat steps 1 through 5 for each instance of SQL Server 2005 that needs an exception.
    For SQL Server Browser service, locate the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program, and click Open button.
    Click OK button.

  • Remote Web Access (remote desktop gateway) issue with WHS2011

    I have been using Remote Web Access on my Windows Home Server 2011 for several years with no problems. Over the past several weeks, though, I have been receiving an error when I try to connect to a computer through WHS's Remote Web Access:
    "...the Remote Desktop Gateway is temporarily unavailable." Interestingly, when I try to connect from a Windows 8.1 computer, I just get a dialog box that says "Initiating connection," but the connection is never established. I cannot
    find any relevant errors in any of the event logs.
    I have read numerous articles relating to WHS configuration and port forwarding, but these do not have any information that addresses my situation. I have ports 4125, 80, and 443 forwarded to my Home Server. As I said, everything has been working fine with
    this configuration until several weeks ago -- I suspect it might have something to do with a .NET Framework 4.5 update that was recently installed (and that has now been uninstalled), but that is the only change I can think of.
    Any help would be greatly appreciated! Thanks!

    Hi,
    As you have commented that after installing .Net framework you are facing this issue. So after uninstalling still you are facing the same issue. Apart from installing .Net framework 4.5, have you installed or done any other change on your server?
    Here you can check that “Remote Gateway Service” is running. Please check and restart the service if it’s stop. Apart you can check below 2 article for more detail step.
    1.  Can’t connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable error via SBS 2011 
    2.  This computer can't connect to the remote computer because the Terminal Services Gateway server is temporarily unavailable (Try to perform the steps as suggested for
    WHS 2011)
    Hope it helps!
    Thanks,
    Dharmesh

  • [PowerShell] Script to restart a service and its dependents (and their dependents)

    I am trying to write a PowerShell script that will restart the SNMP Service on a server.  The server in question is an HP server that has the various HP Insight agents installed, and some of these depend on the SNMP Service.  One of these services
    also depends on one of the other HP Insight services (that in turn depends on SNMP Service).
    I can easily write a script that stops and starts the specific services in order, but I don't want to do that.  I like to create scripts that are as flexible as possible.  In this case, I'd like to write a script that takes a service name as input
    and can restart that service, including any dependents (and dependents of those dependents, and dependents of those dependents).  They way to do this seems to be recursion, but I simply cannot get it to work correctly.  Here is what I have so far
    (just trying to get the services to stop in the correct order):
    $MainServiceName = "SNMP"
    $ServiceInput = ""
    $CurrentService = ""
    $Service = ""
    function Custom-Stop-Service ($ServiceInput)
    Write-Host "Name of `$ServiceInput: $($ServiceInput.Name)"
    Write-Host "Number of dependents: $($ServiceInput.DependentServices.Count)"
    If ($ServiceInput.DependentServices.Count -gt 0)
    ForEach ($Service in $ServiceInput.DependentServices)
    Write-Host "Dependent of $($ServiceInput.Name): $($Service.Name)"
    If ($Service.Status -eq "Running")
    Write-Host "$($Service.Name) is running."
    $CurrentService = Get-Service -Name $Service.Name
    Custom-Stop-Service $CurrentService
    Write-Host "Stopping service $($CurrentService.Name)"
    Stop-Service -Name $CurrentService.Name -Force
    Else
    Write-Host "$($Service.Name) is stopped."
    Else
    Write-Host "Stopping service $($ServiceInput.Name)"
    Stop-Service -Name $ServiceInput.Name
    $MainService = Get-Service -Name $MainServiceName
    If ($MainService.Status -eq "Stopped")
    Write-Host "Service $($MainService.Name) is already stopped."
    Else
    Custom-Stop-Service $MainService
    However, it doesn't work like I expect.  Firstly, it never attempts to stop the SNMP service itself.  Secondly while it does seem to stop all the dependents of SNMP correctly, it tries to stop CqMgHost twice.  Here is the output:
    PS C:\Scripts> .\restart_service.ps1
    Name of $ServiceInput: SNMP
    Number of dependents: 4
    Dependent of SNMP: CqMgHost
    CqMgHost is running.
    Name of $ServiceInput: CqMgHost
    Number of dependents: 0
    Stopping service CqMgHost
    WARNING: Waiting for service 'HP Insight Foundation Agents (CqMgHost)' to finish stopping...
    WARNING: Waiting for service 'HP Insight Foundation Agents (CqMgHost)' to finish stopping...
    WARNING: Waiting for service 'HP Insight Foundation Agents (CqMgHost)' to finish stopping...
    WARNING: Waiting for service 'HP Insight Foundation Agents (CqMgHost)' to finish stopping...
    Stopping service CqMgHost
    Dependent of SNMP: CqMgStor
    CqMgStor is running.
    Name of $ServiceInput: CqMgStor
    Number of dependents: 1
    Dependent of CqMgStor: CqMgHost
    CqMgHost is stopped.
    Stopping service CqMgStor
    Dependent of SNMP: CqMgServ
    CqMgServ is running.
    Name of $ServiceInput: CqMgServ
    Number of dependents: 1
    Dependent of CqMgServ: CqMgHost
    CqMgHost is stopped.
    Stopping service CqMgServ
    WARNING: Waiting for service 'HP Insight Server Agents (CqMgServ)' to finish stopping...
    WARNING: Waiting for service 'HP Insight Server Agents (CqMgServ)' to finish stopping...
    Dependent of SNMP: CpqNicMgmt
    CpqNicMgmt is running.
    Name of $ServiceInput: CpqNicMgmt
    Number of dependents: 1
    Dependent of CpqNicMgmt: CqMgHost
    CqMgHost is stopped.
    Stopping service CpqNicMgmt
    Can someone suggest a different script or changes to my script so that it will do what I want?  I know that "Stop-Service -Name SNMP -Force" will work but there are two problems with this: 1) it doesn't record the stop events for the dependents in the
    Event Viewer and 2) it doesn't work in reverse ("Start-Service -Name SNMP -Force" nor "Restart-Service -Name SNMP -Force" restart the main service and the other services that depend on SNMP that were stopped).
    I'm a little surprised that Restart-Service doesn't behave like the restart function in the Services MMC does, where it easily and reliably handles the stops and starts of not only the service itself, but dependent services and also properly does event logging.

    I decided to try to understand why you see layers of dependencies.  I found that on WS2008 R2 HP managemnet does have a second layer.  It does not incluse anything but subservices from HP>  VSC is not  a dependency and, from my research,
    should not ever be a dependency.  Of course this does not stop someone from making it a dependency which could create issues.
    Here is a recursive function that will display all dependencies of any service or all services,
    The code returns the service names in order and can be used to restart all services in dependent order.
    function Get-Depends{
    [CmdLetBinding()]
    Param(
    $servicename='SNMP',
    $level = 0,
    [switch]$infoonly
    try{
    Write-Verbose $($("`t" * $level)+$servicename)
    $servicename
    $services=get-service $servicename -ea stop | where{$_.dependentservices}|select -expand dependentservices
    if($services){
    $services | %{Get-Depends $($_.Name) ($level+1) }
    catch{
    $_
    $depends=Get-Depends -v
    The verbose switch displays a hierarchical display of names to ilustrate the dependencies.
    jv

  • Facing an error while restarting the services : Process Manager is not initialized.

    while setting up the MDM environment I somehow messed up all the database connections.
    Now im unable to start or stop the services properly.
    Below is the error shown in the event viewer log for process MDM Ntier Process manager :
    The description for Event ID ( 3 ) in Source ( MDM NTier Process Manager ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Exception Emdm_Exception with message 'Process Manager is not initialized.'.
    Kindly help
    I suspect this is because incorrect password for Engine login MDM_SYSTEM or incorrect configuration file (config.xml), However i may be wrong.

    As far as the "Process Manager is not initialized" error is concerned, we got the same error recently.
    What we did was restart the DRM services on the server - The N-Tier Client and the Web-Publisher.
    However, after doing it - we still got the error or DRM would not respond. On looking through it again, we saw that the Task Manager on the Server did not kill the DRM processes and so we did it manually. Then we restarted the services and it worked fine this time. See if this works for you - first kill all the services on the client sides and then on the server side, check for the client and server side process task manager and then restart the service. This worked for us, hopefully it works for you too.
    -- Adi

  • New 'Worker' framework - restarting a service?

    Hey Guys,
    Does anyone know how to restart a Service using the new background threading framework. The teaser out there at the moment indicates this is intended but I can't make it work.
    Here's my service:
    private class LoginService extends Service<User>
        // leaving out the get/sets for brevity
        public final StringProperty userNameProp = new StringProperty();
        public final StringProperty passwordProp = new StringProperty();
        protected Task<User> createTask()
            final String userName = userNameProp.get();
            final String password = passwordProp.get();
            return new Task<User>()
                protected User call() throws Exception
                    return // do remote service login with userName and password
    } And this is the code using it:
    public class LoginController
        private LoginService loginService;
        public LoginController()
            loginService = new LoginService();
            loginService.stateProperty().addListener(new ChangeListener<Worker.State>()
                public void changed(ObservableValue<? extends Worker.State> source, Worker.State oldState, Worker.State newState)
                    if (newState.equals(Worker.State.SUCCEEDED))
                        // show application main view
        public void doLogin(String userName, String password)
            loginService.userNameProp.set(userName);
            loginService.passwordProp.set(password);
            loginService.start();
            // I've tried restart(), cancel(), reset() and using various if !state().equals(State.READY) checks before calling each, etc
    }Any hints or tips appreciated. Hopefully the docco will be more detailed before long, but until then I'll take whatever works!
    Cheers,
    zonski

    Sorry, actually restart() does now seem to work as expected. I must have had something else in my code causing the issue earlier (not sure what) that seems to have resolved itself.

  • Multiple Apple Remotes no longer work with Apple TV!

    I've been using Apple TVs since the minute Steve Jobs introduced them in 2007. I bought the 2nd and 3rd Generation Apple TVs the minute each of them were introduced. I've been watching every Apple Keynote Address since they were available online or on CDs from the early 1990s, on my HDTV via my latest Apple TV when that was possible. I watch far more TV through my Apple TV than via my Cable Box, much of it music and music videos from iTunes on my 2006 Mac Pro! But as of YESTERDAY I am seriously thinking of getting another, ANY OTHER manufacturer's similar internet streaming box!!!
    WHY??? Because YESTERDAY, for no apparent reason except some programmer's or software engineer's stupidity, my Apple TV stopped working with all but ONE of my Apple REMOTES!!!
    Why is that stupid? Because, in my household there are three people who use Apple TV all day, and each of them have an aluminum Apple Remote which they all use to control what the Apple TV is streaming. We have two other Apple Remotes lying around in case one of us misplaces his or her Apple Remote, which happens occasionally. ALL FIVE of the Apple Remotes, just like the beige plastic Apple Remotes that they replaced, always worked with all three of my Apple TVs! Then yesterday, suddenly, only the LAST Apple Remote that was paired with this 3rd Generation Apple TV is able to control it.
    I've spent HOURS trying to fix this. This wasn't caused by an Automatic Update to the Apple TV's iOS; there has been no update in recent days. I've got Automatic Update turned on, just as I, a good Apple citizen, have my Apple TV set up to automatically send back Usage Data to Apple. I've rebooted my Apple TV. I've put brand new 2032 button batteries into my Apple Remotes. I pulled the power cord out of my Apple TV for 15 seconds and again for five minutes and then restarted it. As per instructions, I have Unpaired and re-Paired each and all of my 5 Apple Remotes. All to no avail. Only the last Apple Remote that was paired with the Apple TV works! Horrible. And STUPID, if it was a deliberate programming decision and it was introduced in a minor automatic update.
    Worse, I've been using the Remote app on my 5th Generation iPod touch to replace ONE of the unusable Apple Remotes, and as of a couple of minutes ago even THAT stopped working with my Apple TV! Well, I was able to fix that fairly easily by pairing the iPod touch Remote app with my Mac Pro and then pairing it again with my Apple TV. But I don't think that solution would be so easy for many non-technologically-inclined users. I also don't think that a $200 or $300 iPod touch is a very acceptable replacement for a $20 Apple Remote, especially since everyone buys iPod touches for totally different uses (I use mine primarily for taking notes using voice-activated audio or video -- it is by far the best device for that purpose out there -- police departments should take note).
    I'm hoping that this multiple Apple Remote problem somehow resolves itself, unless it is a hardware problem with my Apple TV. If so, I can hold out until Apple's media event next week, which I HOPE will premiere a new 4th Generation Apple TV, hopefully which will once again allow my five Apple Remotes to all control my Apple TV interdependently, without having to Unpair and Pair each one each time you wanted to use it, requiring you to quit whichever Apple TV app you were using each time, or alternatively to use Sneaker-Net to deliver the one working Apple Remote to each person who wants to use it, which can be difficult since at least one of the users is very ill! (Whew! A long sentence. But I hope you get the point.)
    Two days ago, I could never have imagined myself getting a Roku or an Amazon, Sony, Microsoft or some other streaming device. It just proves how fast a stupid little decision (if it was deliberate) can turn EVERYTHING around!

    People have a misconception with remote pairing (as does the description on this page -> Pairing your Apple Remote with your computer - Apple Support).
    The 1st paragraph is incorrect.
    The 2nd paragraph is correct.
    "If you have several Mac computers or an Apple TV that use the Apple remote, or other devices with integrated infrared ("IR") receivers in one room, you can "pair" your Apple Remote with a specific Apple device so it doesn't interfere with other Apple devices or IR devices nearby.
    Pairing allows you to set the receiving Apple device so that only it can be controlled by one remote. Learn how to pair your Apple Remote"
    Pairing sets the device to read only a specific remote.
    It does not set a specific remote to work only with a specific device. ie. if you point th remote at another Apple device (that is not paired) it will control it.

  • Remote restart for a Mac using FileVault 2 encryption?

    Does anyone know of a way to perform a remote restart for a Mac using FileVault 2 encryption?  I have some remote Macs for which I'd like to enable full disk encryption with FileVault, but would prefer not to make a physical trip to those machines whenever they need a reboot.  I strongly suspect the answer to this question is "No", without some form of IP KVM, but I figured I'd double-check.  If anyone knows of any reasonably priced Mac-compatible KVMs that would be great too.  Thanks.

    Does anyone have an answer?

  • How to configure or pair a Bright House Remote (Universal Electronics Atlas) with Apple TV

    I live in Central Florida and have Bright House Networks as my cable provider.  The remote I received for my Digital Television service is a ATLAS OCAP 5-Device by Universal Electronics.
    When I tried to have the Apple TV learn this remote it didnt work.  The Apple TV couldn't seem to recognize the signal from the ATLAS remote.  So I tricked it.  I had a spare remote it tested fine with the Apple TV so I had the Apple TV learn it.  Then I programmed the spare remote to work with the VCR button on the ATLAS remote. Now the Apple TV recognizes the signal from the ATLAS remote.

    Welcome to the Apple Community.
    Hold the remote close to and pointed at the Apple TV, hold down the menu and FF buttons together for 6 seconds or until you see a chain icon on screen.

  • Remote Desktop Management service not starting. service-specific error: %%2284126209 - Event ID: 7024

    Hi Forum members,
    We have a client that has intermittent issues with RDS on a 2012 R2 server.
    As an overview of the environment, the client has a single VMWare host support 2 x Windows 2012 R2 VMs one is the File/Print/Email server and the 2nd is the RDS server used to allow the client to run MYOB Enterprise. Both servers have the AD DS role and
    DNS roles amongst others.
    The 1st issue is that the RD Connection Broker shows the error: "The server pool does not match the RD Connection Brokers that are in it. and then "1. Cannot connect to any of the specified RD Connection Broker servers".
    The above issue seems to be caused by the RDMS service not starting. When you attempt to start it, the service stops and the error in the title is logged in the "System" event log. Full transcript below:
    Log Name:      System
    Source:        Service Control Manager
    Date:          21/01/2015 4:50:32 PM
    Event ID:      7024
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      intentionally removed.local
    Description:
    The Remote Desktop Management service terminated with the following service-specific error: %%2284126209
    Event Xml:
    <Event xmlns="
      <System>
        <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
        <EventID Qualifiers="49152">7024</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-21T05:50:32.129949400Z" />
        <EventRecordID>53721</EventRecordID>
        <Correlation />
        <Execution ProcessID="568" ThreadID="12436" />
        <Channel>System</Channel>
        <Computer> intentionally removed.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="param1">Remote Desktop Management</Data>
        <Data Name="param2">%%2284126209</Data>
        <Binary>520044004D0053000000</Binary>
      </EventData>
    </Event>
    In addition in the "Application" event log, the following error is logged:
    Log Name:      Application
    Source:        MSSQL$MICROSOFT##WID
    Date:          21/01/2015 5:24:47 PM
    Event ID:      18456
    Task Category: Logon
    Level:         Information
    Keywords:      Classic,Audit Failure
    User:          NETWORK SERVICE
    Computer:      intentionally removed.local
    Description:
    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Could not find a login matching the name provided. [CLIENT: <named pipe>]
    Event Xml:
    <Event xmlns="
      <System>
        <Provider Name="MSSQL$MICROSOFT##WID" />
        <EventID Qualifiers="49152">18456</EventID>
        <Level>0</Level>
        <Task>4</Task>
        <Keywords>0x90000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-21T06:24:47.000000000Z" />
        <EventRecordID>4228336</EventRecordID>
        <Channel>Application</Channel>
        <Computer>intentionally removed.local</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <EventData>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data> Reason: Could not find a login matching the name provided.</Data>
        <Data> [CLIENT: &lt;named pipe&gt;]</Data>
        <Binary>184800000E0000001F00000055004E0047004500520045005200410055005300530056005200300033005C004D004900430052004F0053004F0046005400230023005700490044000000070000006D00610073007400650072000000</Binary>
      </EventData>
    </Event>
    I have been attempting to resolve these errors for some time, without success. I have read the many KBs and forum entries related to the above and applied a number of the suggested fixes, including the one which suggests to add the NT SERVICE\ALL SERVICES
    to the "Logon as a Service" in the "User Rights Assignment" of the "Default Domain Policy" which is linked to the domain level, that both servers are objects of.
    My question to the forum is, can anyone come up with a solution to resolve the above issues and all the RDMS service to start which will then hopefully resolve the broker error?
    Regards,
    David West.

    Hi David,
    If virtual machines on the server are Windows Server 2012, then it is not supported to install Remote Desktop Connection Broker on a Domain Controller.
    More information for you:
    Remote Desktop Services role cannot co-exist with AD DS role on Windows Server 2012
    http://support.microsoft.com/kb/2799605/de
    Guidelines for installing the Remote Desktop Session Host role service on a computer running Windows Server 2012 without the Remote Desktop Connection Broker role service
    http://support.microsoft.com/kb/2833839
    If the VMs are Windows Server 2012 R2, I suggest you install RDS on a separate machine to see if the issue persists.
    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]

Maybe you are looking for