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.
¯\_(ツ)_/¯

Similar Messages

  • 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.

  • 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

  • Script to find a user and restart two services

    I am looking to make a script to first find a user that is connected to a server (list) the to stop Spooler, then stop cpsvc. Once the services are stopped, the script would then clear out the folder on "C:\Windows\System32\spool\PRINTERS"
    Directory. Once that was done, the script would then start Spooler and cpsvc. At the end it would echo the services were restarted and to try to print now.
    Lee Mossolle

    A user cannot stop and start services and cannot delete files in the system folders.
    There is no need to look for the services in that way  You will have to do this remotely.  Just find the services if they exisit and stop them then remotely delete the contents of the spooler folder.
    PowerShell remoting would be the easies way to do this.
    strComputer = WScript.Arguments(0)
    WScript.Echo "Running Against Remote Computer Named: " & strComputer
    set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name = 'cpsvc' OR Name = 'spooler'")
    for Each objService in colListOfServices
    objService.StopService()
    objService.StartService()
    Next
    Until you understand how yor code will work avoid over coding.  It just adds confusion and errors.   The above is functionally equivalent to what you posted. 
    I suspect there may be a dependency between cpsvc and spooler.  In that casr yo can only kill them in the correct order.  This will require to loops of a more sophisticated scripting approach.
    We can also use the 'Forse' argument and retriev the master service (spooler) and force it to stop all dependent services.  We would then retrive all services and start them. We can also just retrieve the dependency list and use that.
    The code is simple and will allow the dependencies to be added if needed.
    You can also use PowerShell which is much easier.
    Get-Service spooler -computer remotepc | Stop-Service -force
    Get-Service spooler -computer remotepc | Start-Service
    We can wrap this in a function for convenience.
    ¯\_(ツ)_/¯

  • Problem in restarting the services in Hyperion 11.1.1.3

    Hi All,
    We are unable to restart the Hyperion Integration services in 11.1.1.3 version after the configuration. Also we are unable to find the exact log file which shows the error. Kindly guide us whether any specifis log file has to be seen or the cause for the same.
    The error shown while restarting the integration servives is
    System cant start Hyperion Integration Services on the local computer. For more info review the System Event log
    If this is a non microsoft service, contact service vendor and refer to service specific error code 0
    Thanks in advance

    Hi All,
    Thanks for ur spontaneous reply.
    The authentication we have set up is the native authentication not the externalised one.
    While we saw the event viewer in computer management we are getting a warning for Hyperion Integration Services which is
    The description for Event ID ( 1 ) in Source ( Hyperion Integration Services ) 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: startup.bat, Cannot start [startup.bat] - error code = [0] Please make sure the parameters are valid..
    and in the same event viewer for Apache service we are getting the error as
    The Apache service named reported the following error:
    [Wed Feb 09 15:14:01 2011] [warn] module expires_module is already loaded, skipping .For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Help us to resolve the above issue
    Thanks in advance

  • 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

  • No more connections available to this remote computer...Urgent Help for File server...

    Hi Guys,
    I need urgent help regards to our school File server which is having "No more connection to this remote computer error"
    on SMB Shares where I usually authenticate with a domain username it used to work fine since till 3 weeks ago.
    Now I can browse the SMB shares with only IP... Netbios gets straight away this error message from non-domain joined pc's where the computer needs to connect to the SCCM distribution point on this file server.
    Strangely, Domain joined pc's does not have this problem at all they can use Netbios or IP no problem at all. But someone from a standalone laptop or desktop who needs to access shares through netbios gets this message.
    Can someone help me please?
    I did check DNS yet there is no problem on DNS I checked PTR record for the server to make sure it is not turned in to multihome accidently but nothing at all.
    I also did a NETMON where I captured the data from server and the client I get these errors:
    205 4:54:35 PM 16/12/2013
    7.3299179 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=......S., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771710719, Ack=0, Win=8192 ( Negotiating scale factor 0x2 ) = 8192
    {TCP:22, IPv4:21}
    206 4:54:35 PM 16/12/2013
    7.3299668 10.2.0.13
    10.2.1.96 TCP
    TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=49312, PayloadLen=0, Seq=2167618331, Ack=1771710720, Win=8192 ( Negotiated scale factor 0x8 ) = 2097152
    {TCP:22, IPv4:21}
    207 4:54:35 PM 16/12/2013
    7.3301468 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=...A...., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771710720, Ack=2167618332, Win=16425 (scale factor 0x2) = 65700
    {TCP:22, IPv4:21}
    208 4:54:35 PM 16/12/2013
    7.3301468 10.2.1.96
    10.2.0.13 SMB
    SMB:C; Negotiate, Dialect = PC NETWORK PROGRAM 1.0, LANMAN1.0, Windows for Workgroups 3.1a, LM1.2X002, LANMAN2.1, NT LM 0.12, SMB 2.002, SMB 2.???
    {SMBOverTCP:23, TCP:22, IPv4:21}
    209 4:54:35 PM 16/12/2013
    7.3307974 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R   NEGOTIATE (0x0), GUID={8447F237-5219-D48A-40C0-29092450C68E}
    {SMBOverTCP:23, TCP:22, IPv4:21}
    210 4:54:35 PM 16/12/2013
    7.3314064 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:23, TCP:22, IPv4:21}
    211 4:54:35 PM 16/12/2013
    7.3318815 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (22) STATUS_MORE_PROCESSING_REQUIRED  SESSION SETUP (0x1), SessionFlags=0x0
    {SMBOverTCP:23, TCP:22, IPv4:21}
    212 4:54:35 PM 16/12/2013
    7.3324012 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:23, TCP:22, IPv4:21}
    215 4:54:35 PM 16/12/2013
    7.3339977 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (109) STATUS_LOGON_FAILURE  SESSION SETUP (0x1)  
    {SMBOverTCP:23, TCP:22, IPv4:21}
    216 4:54:35 PM 16/12/2013
    7.3341805 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=...A.R.., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771711788, Ack=2167619070, Win=0 (scale factor 0x2) = 0
    {TCP:22, IPv4:21}
    217 4:54:35 PM 16/12/2013
    7.3357089 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=......S., SrcPort=49313, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=2943201172, Ack=0, Win=8192 ( Negotiating scale factor 0x2 ) = 8192
    {TCP:27, IPv4:21}
    218 4:54:35 PM 16/12/2013
    7.3357422 10.2.0.13
    10.2.1.96 TCP
    TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=49313, PayloadLen=0, Seq=3718656547, Ack=2943201173, Win=8192 ( Negotiated scale factor 0x8 ) = 2097152
    {TCP:27, IPv4:21}
    219 4:54:35 PM 16/12/2013
    7.3359768 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=...A...., SrcPort=49313, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=2943201173, Ack=3718656548, Win=16425 (scale factor 0x2) = 65700
    {TCP:27, IPv4:21}
    220 4:54:35 PM 16/12/2013
    7.3359768 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   NEGOTIATE (0x0), GUID={8213462D-2600-D1B1-11E3-65FC4BCDE707}
    {SMBOverTCP:28, TCP:27, IPv4:21}
    221 4:54:35 PM 16/12/2013
    7.3364173 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R   NEGOTIATE (0x0), GUID={8447F237-5219-D48A-40C0-29092450C68E}
    {SMBOverTCP:28, TCP:27, IPv4:21}
    222 4:54:35 PM 16/12/2013
    7.3369702 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:28, TCP:27, IPv4:21}
    223 4:54:35 PM 16/12/2013
    7.3373474 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (22) STATUS_MORE_PROCESSING_REQUIRED  SESSION SETUP (0x1), SessionFlags=0x0
    {SMBOverTCP:28, TCP:27, IPv4:21}
    224 4:54:35 PM 16/12/2013
    7.3377060 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:28, TCP:27, IPv4:21}
    227 4:54:35 PM 16/12/2013
    7.3390552 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (109) STATUS_LOGON_FAILURE  SESSION SETUP (0x1)  
    {SMBOverTCP:28, TCP:27, IPv4:21}
    Regards,
    Gokhan

    Solution has been found, 
    After doing bit of a backtrack, site DC's were out of sync with PDC with time.
    Also Time service was shutdown on PDC which has been enabled and pointed to the Australian pool ntp IP address.
    Everything is back on track now.
    Regards,
    Gokhan Cil

  • Viewing Reports on a remote computer - SCOM/SCCM

    Hi,
    We are having an issue in which I am hoping somebody will be able to assist with.  Both are at 2012 R2 version.
    1. We have SCOM and SCCM installed on the same server.
    2. We have 2 instances of SSRS running on this server as well, one for SCCM and 1 for SCOM.
    3. The SCCM instance is running off the default instance and the SCOM instance is running off a named instance.
    The issue that we are having is as follows:
    Operations Manager Reports tab doesnt populate on a Remote Computer that has the operations manager console installed.  It works fine when directly connecting to the server.
    When trying to open the Web Console from a remote computer we get an unexpected error has occured with the following error log.
    Please provide the following information to the support engineer if you have to contact Microsoft Help and Support :
    System.ServiceModel.CommunicationException: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem.
    System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See  ---> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See 
       at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
       --- End of inner exception stack trace ---
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
       at Microsoft.EnterpriseManagement.Presentation.Security.ServiceProxies.LogonServiceClient.LogonServiceClientChannel.EndGetConfiguration(IAsyncResult result)
       at Microsoft.EnterpriseManagement.Presentation.Security.ServiceProxies.LogonServiceClient.Microsoft.EnterpriseManagement.Presentation.Security.ServiceProxies.ILogonService.EndGetConfiguration(IAsyncResult result)
       at Microsoft.EnterpriseManagement.Presentation.Security.ServiceProxies.LogonServiceClient.OnEndGetConfiguration(IAsyncResult result)
       at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
    When trying access Report Subscriptions list we get the following error:
    Report Subscription List Could not be loaded: The underlying connection was closed: could not establish trust relationship for the SSL/TLS secure channel.
    SCCM reports populate properly both on the server as well as on a remote SCCM client.
    Any help would be appriciated.
    Thanks

    Hi,
    First please try below steps:
    1. Open an elevated cmd-prompt
    2. Go to the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319 and execute these two commands:
    aspnet_regiis -i –enable
    aspnet_regiis -r
    If above action cannot resolve this issue, I would like to suggest you remove the Web Console feature, and re-do prerequisite and reinstall it:
    Start SCOM 2012 installation and select to remove a feature. Remove Web Console feature.
    Run some powershell commands to install the prerequisites:
    Import-Module ServerManager
    Add-WindowsFeature NET-Framework-Core,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Request-Monitor,Web-Filtering,Web-Stat-Compression,AS-Web-Support,Web-Metabase,Web-Asp-Net,Web-Windows-Auth –restart
    Run the following command from elevated command prompt to register the ASP .NET 4 with IIS.
    c:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r
    Next the command to allow the Asp .Net 4 ISAPI/CGI.
    c:\windows\system32\inetsrv\appcmd set config /section:isapiCgiRestriction /[path=`'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll`'].allowed:True
    Restart the server
    Run SCOM 2012 setup and select to add a feature and add the Web Console feature.
    Hope it helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • Get-DfsrBacklog cmdlet doesn't work from remote computer (pssession)

    Hi there!
    I try to manage our Server 2012 R2 boxes from a Windows 7 remote machine using PowerShell. For some reason the cmdlet "Get-DFSRbacklog" seems not working remotly. The same cmdlet work when logging in locally to the server(s) with the
    same credentials. UAC is turned off on the target machines and i have local admin permissions on this servers using my domain account.
    What i do is:
    Enter-PSSession <servername>
    Get-DfsrBacklog -SourceComputerName <servername> -DestinationComputerName <servername>
    Then i receive the following error:
    Get-DfsrBacklog : Could not retrieve the backlog information. Replication group: "*" Replicated folder: "*" Source
    computer: <servername> Destination computer: <servername> Confirm that you are running in an elevated Windows PowerShell
    session and are a member of the local Administrators group on the destination computer. The destination computer must
    also be accessible over the network, and have the DFSR service running. This cmdlet does not support WMI calls for the
    following or earlier operating systems: Windows Server 2012. Details: WinRM cannot process the request. The following
    error with errorcode 0x8009030e occurred while using Kerberos authentication: A specified logon session does not
    exist. It may already have been terminated.
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
    use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config.
        + CategoryInfo          : ProtocolError: (zursf1003:String) [Get-DfsrBacklog], DfsrException
        + FullyQualifiedErrorId : Get-DfsrBacklog.CimException,Microsoft.DistributedFileSystemReplication.Commands.GetDfsr
       BacklogCommand
    Any ideas?

    This article
    suggests that you're logged into your Win7 management machine with local credentials. You should try the Get-DfsrBacklog command with domain credentials:
    Client is in a domain: Attempting to connect to a remote server by using implicit credentials that are the local administrator's credentials on the client. Instead, use domain credentials that are recognized by the domain of the target server, or right-click
    the server entry in the Servers tile, click Manage As, and then specify credentials of an administrator on the target server.
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Connecting to Remote Computer

    Does Mac have the capability to connect to a Windows based remote computer? For example, I'm planning on purchasing a MacBook Pro soon and I need to know if I will be able to connect remotely to my office computer which is Windows based.
    Any help would be great.

    The answer depends. Can you currently connect using another computer today?
    If you can, then you should be able to connect with your Mac.
    Microsoft offers Remote Desktop Connection client for Mac OS X
    <http://www.microsoft.com/mac/otherproducts/otherproducts.aspx?pid=remotedesktop client>
    You can use a Mac VNC client, such as Chicken of the VNC, to connect to a VNC server on your Windows system, such as TightVNC.
    LogMeIn.com allows remotely connecting to PCs from Macs via a browser such as Safari. You would have to run the LogMeIn server on your PC.
    There are other services that allow you to connect Macs and PC over the internet.
    However, many times computers systems at work are behind firewalls that block incoming connections. Companies that do allow remote access often times require the use of VPN software. Depending on the VPN being used, there may or may not be a Mac client. My company uses a Cisco VPN server and provides employees with the Mac Cisco VPN client.

  • Restart Systemd service after laptop resume

    Hi!
    After resume my laptop (from suspend, I've no tried hibernation) I need to restart NetworkManager service. How can I do this automaticaly?, I've searched in google and Systemd documentation but I have not a clear idea about how to do it.
    thanks

    Gazpacho wrote:
    lucke wrote:As boast said, you can make pm-utils run "systemctl restart networkmanager.service" after resume for you. https://wiki.archlinux.org/index.php/Pm … _own_hooks
    Sorry (to boast too), you are right. I've read the wiki and created a hook, now NM restarts after resume. Thanks!
    And now I've discovered that my computer only suspends the first time. Second time nothing happens when I close the tap, execute pm-suspend or the KDE menu option suspend to ram
    If you have any idea it is welcome. If not I will mark the thread as solved in a couple of days and search in forums and wiki.
    this usually happens when your hook doesn't exit. pm-suspend never finishes because it's waiting for the hook to exit and the second pm-suspend will block until the other pm-suspend is finished. Please post your hook.

  • Keystrokes on remote computer produces only a string of aaa's

    I can't connect to remote computers running ARD after having restarting remote computer. When I type into the login screen it only produces the letter a for every keystroke.
    Anyone seen this?

    Same problem here, 10.4.11/3.2 on server, 10.4.4/3.2.1 on client.

  • Restart Data Services 3.2 fails

    I can not access  trace log, monitor log and error log files. Every time accessing through links I get a time out error. The Server is available and accessible. I just tried to restart the BusinessObjects Data Service - Server through the BO-DS-Servermanager. This has not worked. I can not restart the service "BusinessObjects Data Services".
    This Error occures : Error 1053: The service did not respond to the start or control request in a timely fashion"
    This happened sometime last months. When I restart the server then all is ok again.
    How can I restart the service without reboot?

    Hello,
    1. What is the version of the Microsoft .NET Framework? (Control Panel > Add/Remove Programs).
    2. What is the error message in Event Viewer (Start > Run > eventvwr.msc)?
    3. What user run this service (Start > Run > services.msc > Business Objects Data Services > Properties > Log On tab)?
    4. Is Data Execution Prevention disabled? (My Computer > Properties > Advanced > Performance > Settings > Data Execution Prevention tab)?
    Thank you,
    Viacheslav.

  • RD Services vs. Remote Desktop?

    RD Services is basically Remote Desktop except it allows multiple user sessions, correct?
    Is there a way to make an end-user's experience more clean?  Such as not showing Server Manager or Admin tools?

    If the user is not an admin, there are a number of ways to lock down things for a standard user. Or else you can simply perform the following:
    You can do it by registry change
    Do not open Server Manager at logon
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Server Manager
    0 to disable and open the window normally; 1 to enable and prevent the window from opening.
    Do not open Initial Configuration Tasks at logon
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Server Manager\oobe
    0 to disable and open the window normally; 1 to enable and prevent the window from opening.
    or you can use the following GPO:
    “Do Not Display Server Manager Automatically at Logon”
    under Computer Configuration/policies/Administrative templates/System/Server Manager.
    Hope this helps.
    Naresh Negi (MSFT - Windows Performance Team) Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
    reading the thread.

  • ARD not updating/showing what remote computer display

    Where I work we're constantly watching 6 computers with ARD 3.
    3 PC's running Windows 2000 and 3 Macs running OS X 10.4.5.
    For some reason the Macs (not all at once) occasionally stop updating what's done when controlling it, but one can still control it. You just can't see the causes of your actions without closing the window for the remote computer and opening it again. For example, if I wan't to restart the computer (which I have to in order to get back proper behaviour in ARD) I click the Apple menu on the remote computer, but visually nothing happens. I then close the window for the remote computer and open it again. Now the Apple menu is pulled down. I then click "Restart..." in the Apple menu, but again this is not shown, so I close the window for the computer and connect to it again. Now the "are you sure you want to restart" dialog is seen.
    So, the computer can still be controlled, it's only what's done is not shown over ARD.
    Any ideas on how to fix it?
    Thanks in advance.

    I'm also experiencing the same issue with one computer on our network. Same as said before in this thread, if I change the size of the window it updates the screen. However, changing the bit depth between the black/white, and full color doesn't update the screen. Its very odd. Its only one machine that does this on our network, and its running 10.3.9 same as many other of our machines.
    All of the machines on the network are either running 10.3.9 or 10.4.6 with the exception of our imaging department which is running 10.4.5 due to Adobe CS2 not being able to save to a server (quits unexpectedly).

Maybe you are looking for

  • Merge field label of two fields in ALV report

    Hi, Greetings of the day !! I have a requirement to create a ALV report and the alv report has three fields(say F1, F2, F3). Where F1 and F2 fall under same category and i need to have single field label for both these fields. How can I merge the fie

  • N95 Maps Program Help and Suggestions Anybody??

    N95 Maps Program Help and Suggestions Anybody?? havnt updated to firmware v12 yet Why can't I search my Address or Current Location and then save this as HOME or say my Start_Point_01? I have managed to save my HOME as a PEOPLE LOCATION and my friend

  • Move multiple frames in the motion editor?

    Hi! Is there a way to move multiple frames in the motion editor (CS4)? Like now I have to move them one by one and it's hard to make them keep their values coz the shift+move doesn't seem to work. Or should it? Regards / Jimmy

  • Untrusted Kerberos Certificate In Keychain?

    Hi, I have an untrusted com.apple.kerberos.kdc certificate in my System Keychain, along with both a private and public key. The reason I post my question in Getting online and Networking, is because I am a simple home user who connects to my ISP via

  • Why do these red boxes surrounding my apps keep appearing?

    these random red boxes keep going down then up sarounding my apps why are they doing that?