AutoIT Scripts to stop and start EMC Documentum eRoom services

Having tested eRoom under different conditions and scenarios, I have found it to be a laborious task to manually stop and start services throughout any procedure as there are at most nine services. So, I created a couple of scripts using AutoIT to stop and start all services that eRoom uses. Using these scripts have saved me quite a bit of time.

This is an AutoIT script to start all eRoom related services.

; eRoom Server services
RunWait (@ComSpec & " /c " & "net start ERNotifier","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net start ERDiagnostics","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net start ERSiteMessager","", @SW_HIDE)
; eRoom Indexing services
RunWait (@ComSpec & " /c " & "net start Hummingbird Connector","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net start Hummingbird STR Service","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net start Hummingbird Connector Manager","", @SW_HIDE)
; Internet Information Server services
RunWait (@ComSpec & " /c " & "net start W3SVC","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net start HTTPFilter","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net start IISADMIN","", @SW_HIDE)

This is an AutoIT script to stop all eRoom related services.

; Stop eRoom Server services
RunWait (@ComSpec & " /c " & "net stop ERNotifier","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net stop ERDiagnostics","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net stop ERSiteMessager","", @SW_HIDE)
; Stop eRoom Indexing services
RunWait (@ComSpec & " /c " & "net stop Hummingbird Connector","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net stop Hummingbird STR Service","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net stop Hummingbird Connector Manager","", @SW_HIDE)
; Stop Internet Information Server services
RunWait (@ComSpec & " /c " & "net stop W3SVC","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net stop HTTPFilter","", @SW_HIDE)
RunWait (@ComSpec & " /c " & "net stop IISADMIN","", @SW_HIDE)