Forum

Servis Stop-Start
 
Bildirimler
Hepsini Temizle

Servis Stop-Start

2 Yazılar
2 Üyeler
0 Reactions
1,245 Görüntüleme
(@GorkemKarayel)
Gönderiler: 24
Trusted Member
Konu başlatıcı
 

Herkese İyi Akşamlar , 

 PC de olan servislerimi basit bir start-stop service komutu yapamıyorum . Bunun ile ilgili makale okudum .  Ekran görüntüsünde olduğu gibi yazmam gerektiği söylendi ancak aynı uyarıyı almaya devam ediyorum .

Konu hakkında bilgisi olan var mı ?

get-service -Name stisvc | Foreach { start-service $_.name -passthru; start-service $_.DependentServices -passthru} 

 Alınan Hata ( start-service : Service 'Windows Resim Alma (WIA) (stisvc)' cannot be started due to the following error: stisvc hizmeti '.' bilgisayarında açılamıyor.

At line:1 char:38

+ get-service -Name stisvc | Foreach { start-service $_.name -passthru; start-serv ...

+                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException

    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

 )

 

 
Gönderildi : 17/04/2015 01:49

(@abdullahnalcaci)
Gönderiler: 144
Estimable Member
 

Sıradan bir servisi yeniden başlatmak içinse yöntem kolay 

Ben  fax servisini yeniden başlatmak için kullanıyorum. Bir txt dosyası içerisine aşağıdaki gibi yazıyorum .bat olarak kayıt ediyorum. Görev zamanlayıcı ile istediğim zamanlarda bat dosyasını çalıştırarak start stop yapıyorum.

net stop servis
net start servis  

 

Using the command line

  1. Open Command Prompt.
  2. Type one of the following: 
    • To start a service, type: 

      net startservice

    • To stop a service, type: 

      net stopservice

    • To pause a service, type: 

      net pauseservice

    • To resume a service, type: 

      net continueservice

 

 
Gönderildi : 17/04/2015 02:00

Paylaş: