Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!
Showing posts with label windows services. Show all posts
Showing posts with label windows services. Show all posts

Tuesday, June 4, 2013

Bonjour Print Services

Bonjour Print Services for Windows v2.0.2
Download icon

Bonjour Print Services for Windows lets you discover and configure Bonjour-enabled printers from your Windows computer using the Bonjour Printer Wizard.
Use Windows Update to make sure you have the latest Service Pack installed for your computer.

Printer requirements
Bonjour Print Services works with either:
* network printers over Wi-Fi or Ethernet
* USB printers shared via a Mac or an AirPort base station

Firewall requirements
The Bonjour networking protocol sends and receives network packets on UDP port 5353.  The Bonjour installer will configure the Windows firewall appropriately during installation on supported systems, but if you have a separate "personal firewall" enabled, you will need to ensure that UDP port 5353 is open for Bonjour to work correctly.

What's included
This package installs the Bonjour Printer Wizard in "\Program Files\Bonjour Print Services" and creates a shortcut on the Desktop.

Tuesday, October 11, 2011

Query Service Status

[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service. 

How To Uninstall a Failed Windows Service Installation

Source 
I had this problem before,the problem can be solved by simply typing
Type from the command prompt:
#net start
and after Go back to services.msc and manually start the VMWARE Virtualcenter Server.
It was really annoying any ways it works for me.

-------------------
net start {display name}
sc query {executable name (minus the .exe)}

Thursday, October 6, 2011

SC command

technet.microsoft.com/...SC QC
Service Controller  Query Command??
Syntax

sc [] qc [] []
Parameters
Parameter Description
Specifies the name of the remote server on which the service is located. The name must use the Universal Naming Convention (UNC) format (for example, \\myserver). To run SC.exe locally, omit this parameter.
Specifies the service name returned by the getkeyname operation.
Specifies the size (in bytes) of the buffer. The default buffer size is 1,024 bytes.
/? Displays help at the command prompt.
Remarks
  • The qc command displays the following information about a service: SERVICE_NAME (service's registry subkey name), TYPE, ERROR_CONTROL, BINARY_PATH_NAME, LOAD_ORDER_GROUP, TAG, DISPLAY_NAME, DEPENDENCIES, and SERVICE_START_NAME.
  • Administrators can use Sc commands to determine the binary name of any service and find out whether it shares a process with other services. They do this by typing the following at the command prompt (where ServiceName is an actual service name):
    sc qc ServiceName
    Sc can help match up services in the Services node of Microsoft Management Console (MMC) with processes in System Monitor. If the binary name is Services.exe, the service shares the Service Controller process.
    The Services.exe program starts all services. To conserve system resources, several Win32 services developed for Windows are written to share the Services.exe process. These services are not listed as separate processes in System Monitor or Task Manager. The same is true of Svchost.exe, a service host process that is shared by many operating services.
    There might not be a process for every Win32 service because third-party Win32 services can also be configured to share processes. You can use Sc to get configuration information about these services. If a service does not share its process with other services, however, there will be a process for it in System Monitor when the service is running.
  • Sc commands can be useful for developers of services because it provides more detailed and accurate information about services than does Services.exe, which is included with Windows. Services.exe can determine whether a service is running, stopped, or paused. Although these tools are adequate for a debugged application that is running smoothly, the information they provide about a service being developed can be misleading. For example, a service that is starting is shown as started whether it is actually running or not.
    Note that Sc implements calls to all Windows service control application programming interface (API) functions. Set the parameters to these functions by specifying them at the command prompt.
    Using Sc commands, you can query the service status and retrieve the values stored in the status structure fields. Services.exe cannot provide you with the complete status of a service, but Sc shows the exact state of the service, as well as the last checkpoint number and wait hint. You can use the checkpoint as a debugging tool because it indicates how far the initialization progressed before the program stopped responding. In addition, Sc enables you to specify the name of a remote computer so that you can call the service API functions or view the service status structures on a remote computer.
ExamplesTo query the configuration information for the NEWSRVICE service running on a remote computer called "MyServer," type:

sc qc \\myserver newsrvice
To query the configuration information for the RPCSS service on the local computer, type:

sc qc rpcss 

Wednesday, August 10, 2011

Superfetch

SuperFetch is a technology that pre-loads commonly used applications into memory to reduce their load times. It is based on the "prefetcher" function in Windows XP.[9]
The purpose is to improve performance in situations where running an anti-virus scan or back-up utility would result in otherwise recently-used information being paged out to disk, or disposed from in-memory caches, resulting in lengthy delays when a user comes back to their computer after a period of non-use.
SuperFetch also keeps track of what times of day those applications are used, which allows it to intelligently pre-load information that is expected to be used in the near future.
By default the necessary files are loaded into main memory, but using a feature called ReadyBoost, Windows Vista and Windows 7 can use alternate storage such as USB flash drives, thereby freeing up main memory. Although hard disks usually have higher data transfer rates, flash drives can be faster for small files or non-sequential I/O because of their short random seek times.
Fuente
La función Superfetch ya se encontraba en Windows Vista, pero en Windows 7 se ha mejorado. Realiza una caché de los archivos a los que acceden las aplicaciones que más utilizamos. Veremos cómo desactivar esta función, algo que puede resultarnos útil si necesitamos el máximo de memoria disponible. En realidad la gestión de memoria de Windows 7 no hace necesario desactivar este servicio en muchos casos, pero sí en aplicaciones muy exigentes como juegos o programas de edición de foto y vídeo.
 El servicio de Superfetch ha sido muy mejorado en Windows 7 y consigue acelerar las aplicaciones que más utilizamos en nuestro ordenador haciendo uso de una parte de la memoria RAM para almacenar los datos que son accedidos más a menudo por las aplicaciones. Esto permite con el tiempo que el uso de nuestro ordenador sea más inmediato.
 Sin embargo y aunque para un uso normal del ordenador lo mejor es tener siempre Superfetch activado, para programas puntuales que requieren mucha memoria puede ser necesario desactivar el servicio para que toda la RAM pueda ser empleada por la aplicación. Es el caso de juegos, editores de vídeo y fotografía digital y otros.
 Para desactivar Superfetch en Windows 7 abriremos el menú de inicio y en el buscador escribiremos Servicios. En la ventana que aparece tendremos que localizar el apartado Superfetch y hacer doble clic sobre la entrada correspondiente. En el apartado Tipo de inicio elegiremos la opción Deshabilitado para conseguir que Superfetch no ocupe memoria.
Fuente
Si uno tiene Vista instalado en una máquina con 2 o más GBs de RAM y un disco duro rápido (7200 RPM o más o un SSD), Superfetch trabaja muy bien y es recomendable dejarlo trabajar (Superfetch es un servicio que está configurado para que arranque automáticamente como opción predeterminada). Si está instalado en una máquina con 1 GB o menos de RAM y un disco duro lento (4800 RPM) entonces será mejor apagarlo. Cualquier otra configuración intermedia, digamos 2 GB de RAM y disco duro de 4800 RPM debe ser tratada como casos individuales y probar que es mejor. En máquinas con 1 GB de RAM o menos el Superfetch ocupa demasiado espacio de RAM en sus actividades y por lo tanto al verse reducido el espacio de memoria para otras actividades aumenta el acceso a Disco Duro, si se tiene un disco duro lento pues toda ganancia obtenida por el Superfetch es perdida automáticamente.
Síntomas que indican que el Superfetch en lugar de ayudar está haciendo lenta su máquina.
Pues excesivo acceso al Disco Duro, sobre todo en el arranque ya sea de Hibernación, Standby o encendido de la máquina, aunque el excesivo uso de HDD se hace más notable al regreso de Hibernación y Standby. ¿Por qué ese uso excesivo del HDD? Pues porque durante el regreso de Standby y Hibernación, Superfetch tiene que copiar hacia RAM toda la información que ha hido salvando en disco duro sobre los programas más utilizados para así acelerar esos procesos en usos posteriores. Si se tiene un disco duro lento pues todo este proceso de lectura y escritura pues ralentiza los procesos de arranque. Después del arranque la actividad en el HDD se detiene pero regresa esporádicamente cuando Superfetch actualiza los records de los diferentes procesos, algo que hace en una carpeta situada dentro de la carpeta Windows.
Deshabilitar Superfetch 
Botón de inicio, se escribe Services.msc y se pulsa la tecla Entrar (Enter). En la lista de servicios se busca el nombrado Superfetch, se da un click derecho sobre el mismo y se selecciona Propiedades, dentro se cambia el tipo de arranque a Desactivado y se pulsa el botón de detener. Luego de esto se pulsa OK y voilá.
De todo esto se deriva una conclusión, Superfetch y UMPC, Tablet PC y Portátiles no son buenos amigos. Digo esto porque la mayoría de los UMPC, Tablet PC y portátiles en el mercado se venden con discos duros de 4800 RPM y la mayoría con 1 GB de RAM o menos.

Monday, February 28, 2011

Source
VSSVC.exe missing from your system? You may receive an error message that indicates the VSSVC.exe file is missing, damaged, or the wrong version. To download and install a DLL file, you will first need to download the Microsoft® Windows® Operating System DLL file and register it on your computer.
. Steps:

  1. Download the Microsoft® Windows® Operating System DLL file using the download link on this page and save the file to one of the folders as seen in step 3. Microsoft® Windows® Operating System .EXE files do not need to be manually registered.
  2. Backup the old version of the DLL file.
  3. Click Start > Run and type in the following command:
Windows 95, 98, or Me:
regsvr32 \windows\system\VSSVC.exe


Windows NT or 2000:
regsvr32 \WINNT\system32\VSSVC.exe


Windows XP or Vista or Windows 7:
regsvr32 \windows\system32\
VSSVC.exe
To replace the VSSVC.exe file:
  1. Close all open programs.
  2. Click Start, point to Find, and then click Files or Folders.
  3. In the Named box, type VSSVC.exe.
  4. In the Look in box, click My Computer, and then click Find Now.
  5. In the search results list, right-click VSSVC.exe, and then click Rename.
  6. Type VSSVC.exe.old, and then press ENTER. If there are multiple copies of the VSSVC.exe file in the list, rename each copy.
For information about how to copy files, click Start, click Help, click the Index tab, type copying, and then click the appropriate Help topic.
When you start the program that uses the DLL or EXE file, the program checks for necessary files. The programs should start normally.

Download Microsoft® Windows® Operating System VSSVC.exe
Microsoft® Windows® Operating System EXE (Executable) Files:
Download "missing or corrupted VSSVC.exe":
Steps:
  1. Download the file to a folder on your computer
  2. Scan the .EXE file using an Anti-Virus Scanner like AVG or Norton Anti-Virus
  3. Run the Microsoft® Windows® Operating System .EXE file by double-clicking the file
======================
Source

C:\WINDOWS\system32\vssvc.exe
download it!(Windows XP32bit)
Press Start and select Run.
Type CMD and press Enter.
Type regsvr32 "filepath\filename.dll" and press Enter. (ex. regsrv32 "C:\Windows\system32\filename.dll")
=======================
From a command line:
vssadmin list shadows
vssadmin list writers
vssadmin list providers
Source
To re-install VSS and repair MS Software Shadow Copy Provider service.
HP support told me that VSS would be "re-installed" with that installation and that any corrupt or missing files, services, registry entries, etc. would be fixed. I have not yet installed that package because I had my doubts from the beginning.

Code:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0b4f56e4-0ccc-4626-826a-ed2c4c95c871&DisplayLang=en

Descripcion: Microsoft Volume Shadow Copy Service proxy/stub
Producto: Microsoft Windows Operating System
Fabricante: Microsoft Corporation
Versión: 5.1.2600.0
Descargar vss_ps.dl
Download swprv.dll
Download eventcls.dll
Download vssui.dll
Download msxml.dll

Volume Shadow Copy Service

The Volume Shadow Copy Service (VSS) is a new service in Windows XP and Windows Server 2003. It is essentially a framework facilitating communication between applications, storage subsystems, and storage management applications (including backup applications) in order to define, persist and exploit point-in-time copies of storage data.
http://www.theeldergeek.com/volume_shadow_copy.htm
http://support.microsoft.com/kb/891957 Windows 2003 server and client versions
http://www.petri.co.il/download_shadow_copy_client.htm
Download Volume Shadow Copy Service SDK 7.2

Saturday, October 23, 2010

disabling wrong services in NT 6.1

Source
If you make a mistake, this link will allow you to reset your services back to the original Vista Values, no matter what version of Vista:

http://www.speedyvista.com/registry.html

A safe idea would be to actually copy and save the bat file that applies to you, on a disk, so you can get to it if you need it. Myself, I was fooling around one day and found that my Internet wouldn't work as I disabled the wrong service; it creates a bit more work.

For those wanting to venture even further, I am going to promote a site (www.blackviper.com) and include this link which will enable you to not only learn about each and every process, but also, explore his ideas on safe settings, his choices as well as bare bones settings.
Eliminate Unneeded Startup Programs (Tx and Pls Rep Harpreet1998)
When your computer starts, there are a number of programs that start automatically and remain running in the background which steal away much needed memory. They add up in time and although many have no real use to the average user, others can be eliminated from starting automatically and started from the 'All Programs' or 'Quick Launch' menu as required. My best example of this is Messenger (or AIM/ICQ) which starts and hogs valuable resources even when your not using it.
First lets see how to get there to see what we have shall we?
1. Type 'msconfig' in the Run command (Winkey + R) (new trick for you here lol);
2. Press Start/Control Panel/Admin Tools/System Configuration/Startup; or
3. Download this excellent freeware program called Startup Inspector
Startup Inspector
The good thing about disabling is, if you see a negative result...go into safe mode, Run, Msconfig and undo your changes.

Saturday, July 31, 2010

Windows-Dienste sicher(er) konfigurieren

Source  News

  • Windows 7: Projekt "Windows 7 sicher konfigurieren" offiziell gestartet, Dienstekonfiguration in Vorbereitung (English Beta, January 27th 2010 >>).
  • Twitter: Alle News jetzt noch direkter - auf Twitter.com (6. Dezember 2009 >>).
Einführung
Windows 2000 und XP gehören, ebenso wie Windows NT4 und Windows 2003 Server, zur Windows NT Familie. NT ist die Abkürzung für "New Technology" und wurde von Microsoft 1993 zusammen mit dem neuentwickelten 32bit-(Server)-Betriebssystem Windows NT 3.1 eingeführt.
Jedoch beging Microsoft hierbei einen folgenschweren Fehler: (nichtbenötigte) Netzwerk-Dienste waren standardmäßig aktiviert, von außen erreichbar und somit auch angreifbar. Somit wurde eine wichtige Grundregel der Netzwerksicherheit mißachtet: "Biete keine Dienste an, die Du nicht brauchst". Dienste (engl.: services) sind Programme, die beim Laden des Betriebssystems mitgestartet werden, ohne dass ein Benutzer sich anmelden muss. Sie stellen Funktionen bereit, die von anderen Programmen genutzt werden können.
Ein Einzelplatzrechner benötigt beispielsweise keine Netzwerk-Dienste. Daher ist es wichtig, Rechnersysteme sicherer zu konfigurieren, um Angreifern nur geringe Möglichkeiten zu geben, Schäden an der IT-Infrastruktur im Unternehmen oder am Privat-PC anzurichten.
Achtung: Für Computer in Netzwerken (LANs) ist dieses Script NICHT geeignet!
Um diese Sicherheit auch in der Praxis anwenden zu können, wurden unter kssysteme.de zwei Anleitungen veröffentlicht, die eine sicherere Konfiguration der Dienste (Services) unter Windows 2000 und Windows XP ermöglichen. Es wurde unter anderem die Umkonfiguration der NT-Dienste hinsichtlich Starttyp beschrieben, um nicht benötigte Dienste über das Netzwerkinterface nach außen erst gar nicht anzubieten und somit das Sicherheitsrisiko zu minimieren.
Da in den o.g. Artikeln fast alle Dienste aufgelistet sind, ist es bei mehreren NT-Systemen sehr mühsam, die immer wiederkehrenden Abläufe manuell durchzuführen. Oft fügen sich Flüchtigkeitsfehler bei der Umsetzung hinzu. Um dies komfortabler zu gestalten, und Konfigurationsfehler weitestgehend zu vermeiden, wird im nachfolgenden Abschnitt ein Script vorgestellt, welches
  • den Starttyp (automatisch, manuell, deaktiviert) jedes Dienstes anpaßt,
  • kritische Dienste nach Möglichkeit sofort beendet,
  • DCOM deaktiviert und Standardprotokollbindungen entfernt,
  • SMB ("Server Message Block") abschaltet und somit Port 445 schliesst (nur zutreffend, wenn Option 2 entsprechend dem Schalter "/std" oder Option 3 entsprechend Schalter "/all" verwendet wird),
  • "Distributed Transaction Coordinator" und "Nachrichtendienst" beendet und auf "deaktiviert" setzt,
  • DHCP bei Nichtverwendung deaktiviert,
  • NetBios an allen Netzwerk-Interfaces deaktiviert (ausser bei Option 1 entsprechend dem Schalter "/lan").
Wichtiger Hinweis: Es werden ausschliesslich windowseigene Dienste konfiguriert, sodaß diese, in Abhängigkeit der gewählten Option 1, 2 oder 3 entsprechend den Schaltern "/lan", "/std" oder "/all", von außerhalb nicht mehr erreichbar sind. Jedoch entbindet die Ausführung des Scripts einen NICHT von der zeitnahen Einspielung sicherheitsrelevanter Updates und Patches.
Was die Aufgaben eines Dienstes sind, wird unter http://www.different-thinking.de/windows_2000_dienste.php erklärt.
Desweiteren wird unter http://www.microsoft.com/germany/technet/datenbank/articles/900048.mspx ("Bedrohungen und Gegenmaßnahmen: Sicherheitseinstellungen unter Windows Server 2003 und Windows XP") ein PDF-Dokument zum Download angeboten, in dessen Kapitel 7 genauere Informationen zu den jeweiligen Diensten nachzulesen sind.
Im nachfolgenden Abschnitt werden Parameter/Voreinstellungen näher erläutert, welche durch das Script angeboten werden.
svc2kxp.cmd - Version 2.2
Ansicht der Programmoberfläche der Datei svc2kxp.cmd (v2.2) Seit Januar 2004 stand die bisherige Version 2.0 zum Download bereit, welche gegenüber der Vorgängerversion vor allem in den Punkten Übersichtlichkeit, Anpassung, Sicherheit sowie Umfang deutlich verbessert wurde.
Nach Version v2.1 liegt nun die aktuelle Fassung v2.2 vor und soll diese Maßstäbe weiter fortsetzen. Diese ist auf die Änderungen durch Service Pack 2 für Windows XP abgestimmt. So deckt die aktuelle Fassung des Scripts ein noch breiteres Einsatzspektrum ab. Nachfolgende Tabelle soll einen Überblick über die Möglichkeiten der neuen Version geben:
(1) LAN oder "/lan" Mit dieser Einstellung wird versucht, alle offenen Ports zu schließen. Einige Dienste wie "Automatische Updates" oder "Taskplaner" sowie SMB-Funktionen bleiben unberührt. Verwenden Sie diese Einstellung, wenn Sie auf Netzwerkfreigaben oder -drucker zugreifen müssen. Komfortfunktionen der Netzwerkumgebung (z.B. browsing) gehen hierbei jedoch verloren. Es werden aber weiterhin grundlegende Funktionalitäten (u.a. Netzlaufwerke im Format \\$IP\SHARENAME) unterstützt.
(2) Standard oder "/std" Im Gegensatz zu (1) LAN wird zusätzlich SMB deaktiviert. Alle Ports sind nun geschlossen. Einige Dienste wie "Automatische Updates" oder "Taskplaner" bleiben aber unberührt. Daher ist diese Option geeignet, falls keine (Standard-)Dienste nach aussen angeboten werden sollen, man auf "Automatische Updates" sowie den "Taskplaner" nicht verzichten möchte.
(3) ALL oder "/all" Setzt die Vorschläge von www.ntsvcfg.de vollständig um, dh. alle Dienste + SMB werden beendet bzw. deaktiviert. (dieser Punkt empfiehlt sich zum "hardening" für Einzelplatzrechner, welche sich NICHT in einem Netzwerk befinden.).
(4) Restore oder "/restore" Nimmt die letzten Änderungen zurück. Es erscheint möglicherweise eine Fehlermeldung, das es während des Rücksicherns Probleme beim Schreiben der Registry gegeben hat. Dies lässt sich aufgrund gestarteter Dienste nicht vermeiden. Ignorieren Sie bitte diese Fehlermeldung mittels "OK".
"/reLAN" Setzt für LAN-Betrieb benötigte Dienste auf "automatisch" und startet diese anschließend neu (Re-Aktivierung). Diese Option ist nur über Kommandozeile aufrufbar.
"/fix" Behebt ein Problem mit dem Taskplaner ("falscher Parameter"), welches nach Ausführung früherer Script-Versionen auftrat. Diese Option ist nur über Kommandozeile aufrufbar.
/? Zeigt eine Hilfsübersicht über die Aufrufparameter an.

Alle vorgenommenen Einstellungen werden erst nach einem Neustart wirksam!

Tuesday, June 9, 2009

Windows Services

Thanks to blackviper.com!
Includes complete explanations of each service and advice on which services you can safely disable.