The program already exists in the system что делать
The program already exists in the system что делать
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I’m working in Visual C# Express (no WindowsService template) and attempted to write my first service. I’ve gotten through a few issues already, but I’m a bit stumped on this one. I’m receiving the following error trying to run the InstallUtil in the Release folder of my project:
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The specified service already exists
I think it is probably worth noting here that I have run the install many times previous to this, though none of these attempts have been successful, for wholly separate reasons.
I have also searched and found other replies to similar issues, but in most cases it seems this is caused by leftover «stuff» in the registry. I tried searching my registry for «MediaManager» (the service is called MediaManagerFileBackupService and the exe file is MediaManager.Manager.Service.exe) and came up with nothing.
My installer code is very simple; I have a class derived from ServiceInstaller with the RunInstallerAttribute set to true, with the following code in the constructor:
string strSource = «MediaManagerFileBackupService»;
ServiceProcessInstaller spiFileBackup = new ServiceProcessInstaller();
spiFileBackup.Account = ServiceAccount.LocalSystem;
spiFileBackup.Username = null;
spiFileBackup.Password = null;
spiFileBackup.Parent = this;
ServiceInstaller siFileBackup = new ServiceInstaller();
siFileBackup.DisplayName = strSource;
siFileBackup.ServiceName = strSource;
siFileBackup.StartType = ServiceStartMode.Manual;
siFileBackup.Parent = this;
Below I’ve copied the logs for the install. I may be misunderstanding the log output, but it looks to me like the InstallUtil is trying install the service at least two separate times, if not more. I’ve bolded and italicized the section that looks like it’s trying to install more than once (in the console log, it is directly after the bold/ italicized section that I get the «The specified service already exists» error).
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\Users\Evan\Documents\Visual Studio 2008\Projects\MediaManager\MediaManager.Manager.Service\bin\Release\MediaManager.Manager.Service.exe assembly’s progress.
The file is located at C:\Users\Evan\Documents\Visual Studio 2008\Projects\MediaManager\MediaManager.Manager.Service\bin\Release\MediaManager.Manager.Service.InstallLog.
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The specified service already exists
The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Users\Evan\Documents\Visual Studio 2008\Projects\MediaManager\MediaManager.Manager.Service\bin\Release\MediaManager.Manager.Service.exe assembly’s progress.
The file is located at C:\Users\Evan\Documents\Visual Studio 2008\Projects\MediaManager\MediaManager.Manager.Service\bin\Release\MediaManager.Manager.Service.InstallLog.
The Rollback phase completed successfully.
The transacted install has completed.
Fix problems that block programs from being installed or removed
Note: Use these steps for Windows programs. If you’re having problems with an app you got from Microsoft Store, go to Fix problems with apps from Microsoft Store.
The Program Install and Uninstall troubleshooter helps you automatically repair issues when you’re blocked from installing or removing programs. It also fixes corrupted registry keys.
First, you’ll need to download the troubleshooter.
If you see the File Download box when you start downloading, select Run or Open.
The troubleshooter provides steps for you to follow. If a program isn’t listed in the uninstall options, you’ll be asked for that program’s product code. To access the code, you’ll need a tool for reading MSI files—which is typically available to IT professionals. You’ll find the product code in the property table of the MSI file.
What it fixes
The troubleshooter helps fix problems that:
Corrupt registry keys on 64-bit operating systems.
Corrupt registry keys that control the update data.
Prevent new programs from being installed.
Prevent existing programs from being completely uninstalled or updated.
Block you from uninstalling a program through Add or Remove Programs (or Programs and Features) in Control Panel.
If you’re trying to remove malware, you can use Windows Security (or another antivirus tool), or you can use the Windows Malicious Software Removal tool.
Ошибки при установке программ из пакета Windows Installer «.msi»
Вообще, меня это жутко бесит, т.к. после глупого сообщения об ошибке совсем непонятно что делать дальше. Microsoft специально разработали установщик Windows Installer для расширения возможностей установки программ (в основном это касается системных администраторов), но не позаботились должным образом о безглючной работе этой службы или хотя бы об адекватных сообщениях о проблемах. А нам теперь это разгребать 🙂
Неполадки могут быть с работой самой службы или могут возникать в процессе установки программ, когда всё настроено, в принципе, правильно. В первом случае нужно ковырять службу установщика, а во втором решать проблему с конкретным файлом. Рассмотрим оба варианта, но сначала второй.
Ошибки msi файлов
«Error reading from file «имя файла» verify that the file exists and that you can access it» (Error 1305). Переводится «Ошибка чтения из файла … проверьте существует ли файл и имеете ли вы к нему доступ». Ну не тупняк ли? Естественно, что кнопка «Повторить» не помогает, а отмена прекращает всю установку. Сообщение особой смысловой нагрузки также не несёт, т.к. файл точно существует и я имею к нему доступ, иначе бы просто не смог его запустить и получить это сообщение, к тому же почему-то на английском языке 🙂
А ошибка в том, что не Я должен иметь доступ к файлу, а установщик Windows, точнее сама Система. Решается очень просто:
Теперь ошибка установщика не появится! Можно добавить доступ на всю папку, из которой вы обычно инсталлируете программы, например на папку «Downloads», как у меня. Смотрим видео по решению проблем с правами доступа:
Ещё способы решить проблему
Описанный метод поможет при разных сообщениях, с разными номерами. Например, вы можете видеть такие ошибки файлов msi:
Во всех этих случаях должна помочь установка прав на файл и/или на некоторые системные папки. Проверьте, имеет ли доступ «система» к папке временных файлов (вы можете получать ошибку «Системе не удается открыть указанное устройство или файл»). Для этого:
После нажатия «Enter» путь преобразится на «нормальный» и вы переместитесь в реальную временную папку. Права на неё и надо проверять. Также рекомендую очистить временные папки от всего что там скопилось или даже лучше удалить их и создать новые с такими же названиями. Если не получается удалить папку, почитайте как удалить неудаляемое, но это не обязательно.
Если служба Windows Installer всё равно не хочет работать, то проверьте права на папку «C:\Config.Msi», сюда «система» также должна иметь полный доступ. В этом случае вы могли наблюдать ошибку «Error 1310». На всякий случай убедитесь, что к папке КУДА вы инсталлируете софт также есть все права.
Если вы используете шифрование папок, то отключите его для указанных мной папок. Дело в том, что хотя мы сами имеем к ним доступ, служба Microsoft Installer не может до них достучаться пока они зашифрованы.
Ещё ошибка может быть связана с битым файлом. Может быть он не полностью скачался или оказался битым уже на сервере. Попробуйте скачать его ещё раз оттуда же или лучше с другого места.
Ошибка установщика Windows
В случае общих проблем не будут устанавливаться никакие msi файлы, процесс установки, скорее всего, даже не начнётся. При этом могут появляться ошибки вида:
или ещё нечто подобное со словами «ошибка msi», «Windows Installer Error». Всё это означает, что система дала сбой и теперь её надо лечить. Может вы ставили какой-то софт, который испортил системные файлы и реестр, или подхватили вирус. Конечно, никогда не будет лишним удалить вирусы, или убедиться что их нет. Но оставьте этот вариант на потом, т.к. обычно проблема кроется в другом.
Сначала давайте проверим работает ли служба Windows Installer:
Следующее что я посоветую сделать – это выполнить команду сканирования системы на повреждённые и изменённые системные файлы. Нажмите «Win + R» и введите
Sfc /scannow
Произойдёт поиск и замена испорченных файлов на оригинальные, при этом может потребоваться вставить установочный диск с Windows XP-7-10. После окончания процесса перегрузитесь и посмотрите, решена ли проблема.
Microsoft сам предлагает утилиту, призванную решить нашу проблему. Запустите программу Easy Fix и следуйте мастеру.
Параметры реестра и службы
Следующий способ устранения ошибки – восстановление рабочих параметров в реестре установщика Windows Installer.
Для этого скачайте архив и запустите оттуда два reg-файла, соответственно своей версии Windows. Согласитесь с импортом настроек.
В Windows XP или Windows Server 2000 установите последнюю версию установщика 4.5.
Если не помогло, то проделайте ещё перерегистрацию компонентов:
Если пишет, что не хватает прав, то нужно запускать командную строку от имени Администратора.
Если команды выполнились, но не помогло, то скачайте файл и запустите msi_error.bat из архива, проверьте результат.
Последний вариант — скачайте программу Kerish Doctor, почитайте мою статью, там есть функция исправления работы службы установщика и многих других частых проблем Windows.
Подведение итогов
Ошибки с установщиком Windows очень неприятные, их много и сразу непонятно куда копать. Одно ясно – система дала сбой и нужно восстанавливать её до рабочего состояния. Иногда ничего не помогает и приходится переустанавливать Windows. Однако не торопитесь это делать, попробуйте попросить помощи на этом форуме. В точности опишите вашу проблему, расскажите что вы уже делали, какие сообщения получили, и, возможно, вам помогут! Ведь мир не без добрых людей 🙂
System Error Codes (1000-1299)
This information is intended for developers debugging system errors. For other errors, such as issues with Windows Update, there is a list of resources on the Error codes page.
The following list describes system error codes for errors 1000 to 1299. They are returned by the GetLastError function when many functions fail. To retrieve the description text for the error in your application, use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag.
ERROR_STACK_OVERFLOW
Recursion too deep; the stack overflowed.
ERROR_INVALID_MESSAGE
The window cannot act on the sent message.
ERROR_CAN_NOT_COMPLETE
Cannot complete this function.
ERROR_INVALID_FLAGS
ERROR_UNRECOGNIZED_VOLUME
The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
ERROR_FILE_INVALID
The volume for a file has been externally altered so that the opened file is no longer valid.
ERROR_FULLSCREEN_MODE
The requested operation cannot be performed in full-screen mode.
ERROR_NO_TOKEN
An attempt was made to reference a token that does not exist.
ERROR_BADDB
The configuration registry database is corrupt.
ERROR_BADKEY
The configuration registry key is invalid.
ERROR_CANTOPEN
The configuration registry key could not be opened.
ERROR_CANTREAD
The configuration registry key could not be read.
ERROR_CANTWRITE
The configuration registry key could not be written.
ERROR_REGISTRY_RECOVERED
One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.
ERROR_REGISTRY_CORRUPT
The registry is corrupted. The structure of one of the files containing registry data is corrupted, or the system’s memory image of the file is corrupted, or the file could not be recovered because the alternate copy or log was absent or corrupted.
ERROR_REGISTRY_IO_FAILED
An I/O operation initiated by the registry failed unrecoverably. The registry could not read in, or write out, or flush, one of the files that contain the system’s image of the registry.
ERROR_NOT_REGISTRY_FILE
The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
ERROR_KEY_DELETED
Illegal operation attempted on a registry key that has been marked for deletion.
ERROR_NO_LOG_SPACE
System could not allocate the required space in a registry log.
ERROR_KEY_HAS_CHILDREN
Cannot create a symbolic link in a registry key that already has subkeys or values.
ERROR_CHILD_MUST_BE_VOLATILE
Cannot create a stable subkey under a volatile parent key.
ERROR_NOTIFY_ENUM_DIR
A notify change request is being completed and the information is not being returned in the caller’s buffer. The caller now needs to enumerate the files to find the changes.
ERROR_DEPENDENT_SERVICES_RUNNING
A stop control has been sent to a service that other running services are dependent on.
ERROR_INVALID_SERVICE_CONTROL
The requested control is not valid for this service.
ERROR_SERVICE_REQUEST_TIMEOUT
The service did not respond to the start or control request in a timely fashion.
ERROR_SERVICE_NO_THREAD
A thread could not be created for the service.
ERROR_SERVICE_DATABASE_LOCKED
The service database is locked.
ERROR_SERVICE_ALREADY_RUNNING
An instance of the service is already running.
ERROR_INVALID_SERVICE_ACCOUNT
The account name is invalid or does not exist, or the password is invalid for the account name specified.
ERROR_SERVICE_DISABLED
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
ERROR_CIRCULAR_DEPENDENCY
Circular service dependency was specified.
ERROR_SERVICE_DOES_NOT_EXIST
The specified service does not exist as an installed service.
ERROR_SERVICE_CANNOT_ACCEPT_CTRL
The service cannot accept control messages at this time.
ERROR_SERVICE_NOT_ACTIVE
The service has not been started.
ERROR_FAILED_SERVICE_CONTROLLER_CONNECT
The service process could not connect to the service controller.
ERROR_EXCEPTION_IN_SERVICE
An exception occurred in the service when handling the control request.
ERROR_DATABASE_DOES_NOT_EXIST
The database specified does not exist.
ERROR_SERVICE_SPECIFIC_ERROR
The service has returned a service-specific error code.
ERROR_PROCESS_ABORTED
The process terminated unexpectedly.
ERROR_SERVICE_DEPENDENCY_FAIL
The dependency service or group failed to start.
ERROR_SERVICE_LOGON_FAILED
The service did not start due to a logon failure.
ERROR_SERVICE_START_HANG
After starting, the service hung in a start-pending state.
ERROR_INVALID_SERVICE_LOCK
The specified service database lock is invalid.
ERROR_SERVICE_MARKED_FOR_DELETE
The specified service has been marked for deletion.
ERROR_SERVICE_EXISTS
The specified service already exists.
ERROR_ALREADY_RUNNING_LKG
The system is currently running with the last-known-good configuration.
ERROR_SERVICE_DEPENDENCY_DELETED
The dependency service does not exist or has been marked for deletion.
ERROR_BOOT_ALREADY_ACCEPTED
The current boot has already been accepted for use as the last-known-good control set.
ERROR_SERVICE_NEVER_STARTED
No attempts to start the service have been made since the last boot.
ERROR_DUPLICATE_SERVICE_NAME
The name is already in use as either a service name or a service display name.
ERROR_DIFFERENT_SERVICE_ACCOUNT
The account specified for this service is different from the account specified for other services running in the same process.
ERROR_CANNOT_DETECT_DRIVER_FAILURE
Failure actions can only be set for Win32 services, not for drivers.
ERROR_CANNOT_DETECT_PROCESS_ABORT
This service runs in the same process as the service control manager. Therefore, the service control manager cannot take action if this service’s process terminates unexpectedly.
ERROR_NO_RECOVERY_PROGRAM
No recovery program has been configured for this service.
ERROR_SERVICE_NOT_IN_EXE
The executable program that this service is configured to run in does not implement the service.
ERROR_NOT_SAFEBOOT_SERVICE
This service cannot be started in Safe Mode.
ERROR_END_OF_MEDIA
The physical end of the tape has been reached.
ERROR_FILEMARK_DETECTED
A tape access reached a filemark.
ERROR_BEGINNING_OF_MEDIA
The beginning of the tape or a partition was encountered.
ERROR_SETMARK_DETECTED
A tape access reached the end of a set of files.
ERROR_NO_DATA_DETECTED
No more data is on the tape.
ERROR_PARTITION_FAILURE
Tape could not be partitioned.
ERROR_INVALID_BLOCK_LENGTH
When accessing a new tape of a multivolume partition, the current block size is incorrect.
ERROR_DEVICE_NOT_PARTITIONED
Tape partition information could not be found when loading a tape.
ERROR_UNABLE_TO_LOCK_MEDIA
Unable to lock the media eject mechanism.
ERROR_UNABLE_TO_UNLOAD_MEDIA
Unable to unload the media.
ERROR_MEDIA_CHANGED
The media in the drive may have changed.
ERROR_BUS_RESET
The I/O bus was reset.
ERROR_NO_MEDIA_IN_DRIVE
ERROR_NO_UNICODE_TRANSLATION
No mapping for the Unicode character exists in the target multi-byte code page.
ERROR_DLL_INIT_FAILED
A dynamic link library (DLL) initialization routine failed.
ERROR_SHUTDOWN_IN_PROGRESS
A system shutdown is in progress.
ERROR_NO_SHUTDOWN_IN_PROGRESS
Unable to abort the system shutdown because no shutdown was in progress.
ERROR_IO_DEVICE
The request could not be performed because of an I/O device error.
ERROR_SERIAL_NO_DEVICE
No serial device was successfully initialized. The serial driver will unload.
ERROR_IRQ_BUSY
Unable to open a device that was sharing an interrupt request (IRQ) with other devices. At least one other device that uses that IRQ was already opened.
ERROR_MORE_WRITES
A serial I/O operation was completed by another write to the serial port. The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
ERROR_COUNTER_TIMEOUT
A serial I/O operation completed because the timeout period expired. The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
ERROR_FLOPPY_ID_MARK_NOT_FOUND
No ID address mark was found on the floppy disk.
ERROR_FLOPPY_WRONG_CYLINDER
Mismatch between the floppy disk sector ID field and the floppy disk controller track address.
ERROR_FLOPPY_UNKNOWN_ERROR
The floppy disk controller reported an error that is not recognized by the floppy disk driver.
ERROR_FLOPPY_BAD_REGISTERS
The floppy disk controller returned inconsistent results in its registers.
ERROR_DISK_RECALIBRATE_FAILED
While accessing the hard disk, a recalibrate operation failed, even after retries.
ERROR_DISK_OPERATION_FAILED
While accessing the hard disk, a disk operation failed even after retries.
ERROR_DISK_RESET_FAILED
While accessing the hard disk, a disk controller reset was needed, but even that failed.
ERROR_EOM_OVERFLOW
Physical end of tape encountered.
ERROR_NOT_ENOUGH_SERVER_MEMORY
Not enough server storage is available to process this command.
ERROR_POSSIBLE_DEADLOCK
A potential deadlock condition has been detected.
ERROR_MAPPED_ALIGNMENT
The base address or the file offset specified does not have the proper alignment.
ERROR_SET_POWER_STATE_VETOED
An attempt to change the system power state was vetoed by another application or driver.
ERROR_SET_POWER_STATE_FAILED
The system BIOS failed an attempt to change the system power state.
ERROR_TOO_MANY_LINKS
An attempt was made to create more links on a file than the file system supports.
ERROR_OLD_WIN_VERSION
The specified program requires a newer version of Windows.
ERROR_APP_WRONG_OS
The specified program is not a Windows or MS-DOS program.
ERROR_SINGLE_INSTANCE_APP
Cannot start more than one instance of the specified program.
ERROR_RMODE_APP
The specified program was written for an earlier version of Windows.
ERROR_INVALID_DLL
One of the library files needed to run this application is damaged.
ERROR_NO_ASSOCIATION
No application is associated with the specified file for this operation.
ERROR_DDE_FAIL
An error occurred in sending the command to the application.
ERROR_DLL_NOT_FOUND
One of the library files needed to run this application cannot be found.
ERROR_NO_MORE_USER_HANDLES
The current process has used all of its system allowance of handles for Window Manager objects.
ERROR_MESSAGE_SYNC_ONLY
The message can be used only with synchronous operations.
ERROR_SOURCE_ELEMENT_EMPTY
The indicated source element has no media.
ERROR_DESTINATION_ELEMENT_FULL
The indicated destination element already contains media.
ERROR_ILLEGAL_ELEMENT_ADDRESS
The indicated element does not exist.
ERROR_MAGAZINE_NOT_PRESENT
The indicated element is part of a magazine that is not present.
ERROR_DEVICE_REINITIALIZATION_NEEDED
The indicated device requires reinitialization due to hardware errors.
ERROR_DEVICE_REQUIRES_CLEANING
The device has indicated that cleaning is required before further operations are attempted.
ERROR_DEVICE_DOOR_OPEN
The device has indicated that its door is open.
ERROR_DEVICE_NOT_CONNECTED
The device is not connected.
ERROR_NOT_FOUND
ERROR_NO_MATCH
There was no match for the specified key in the index.
ERROR_SET_NOT_FOUND
The property set specified does not exist on the object.
ERROR_POINT_NOT_FOUND
The point passed to GetMouseMovePoints is not in the buffer.
ERROR_NO_TRACKING_SERVICE
The tracking (workstation) service is not running.
ERROR_NO_VOLUME_ID
The Volume ID could not be found.
ERROR_UNABLE_TO_REMOVE_REPLACED
Unable to remove the file to be replaced.
ERROR_UNABLE_TO_MOVE_REPLACEMENT
Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name.
ERROR_UNABLE_TO_MOVE_REPLACEMENT_2
Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name.
ERROR_JOURNAL_DELETE_IN_PROGRESS
The volume change journal is being deleted.
ERROR_JOURNAL_NOT_ACTIVE
The volume change journal is not active.
ERROR_POTENTIAL_FILE_FOUND
A file was found, but it may not be the correct file.
ERROR_JOURNAL_ENTRY_DELETED
The journal entry has been deleted from the journal.
ERROR_SHUTDOWN_IS_SCHEDULED
A system shutdown has already been scheduled.
ERROR_SHUTDOWN_USERS_LOGGED_ON
The system shutdown cannot be initiated because there are other users logged on to the computer.
ERROR_BAD_DEVICE
The specified device name is invalid.
ERROR_CONNECTION_UNAVAIL
The device is not currently connected but it is a remembered connection.
ERROR_DEVICE_ALREADY_REMEMBERED
The local device name has a remembered connection to another network resource.
ERROR_NO_NET_OR_BAD_PATH
The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator.
ERROR_BAD_PROVIDER
The specified network provider name is invalid.
ERROR_CANNOT_OPEN_PROFILE
Unable to open the network connection profile.
ERROR_BAD_PROFILE
The network connection profile is corrupted.
ERROR_NOT_CONTAINER
Cannot enumerate a noncontainer.
ERROR_EXTENDED_ERROR
An extended error has occurred.
ERROR_INVALID_GROUPNAME
The format of the specified group name is invalid.
ERROR_INVALID_COMPUTERNAME
The format of the specified computer name is invalid.
ERROR_INVALID_EVENTNAME
The format of the specified event name is invalid.
ERROR_INVALID_DOMAINNAME
The format of the specified domain name is invalid.
ERROR_INVALID_SERVICENAME
The format of the specified service name is invalid.
ERROR_INVALID_NETNAME
The format of the specified network name is invalid.
ERROR_INVALID_SHARENAME
The format of the specified share name is invalid.
ERROR_INVALID_PASSWORDNAME
The format of the specified password is invalid.
ERROR_INVALID_MESSAGENAME
The format of the specified message name is invalid.
ERROR_INVALID_MESSAGEDEST
The format of the specified message destination is invalid.
ERROR_SESSION_CREDENTIAL_CONFLICT
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.
ERROR_DUP_DOMAINNAME
The workgroup or domain name is already in use by another computer on the network.
ERROR_NO_NETWORK
The network is not present or not started.
ERROR_CANCELLED
The operation was canceled by the user.
ERROR_USER_MAPPED_FILE
The requested operation cannot be performed on a file with a user-mapped section open.
ERROR_CONNECTION_REFUSED
The remote computer refused the network connection.
ERROR_GRACEFUL_DISCONNECT
The network connection was gracefully closed.
ERROR_ADDRESS_ALREADY_ASSOCIATED
The network transport endpoint already has an address associated with it.
ERROR_ADDRESS_NOT_ASSOCIATED
An address has not yet been associated with the network endpoint.
ERROR_CONNECTION_INVALID
An operation was attempted on a nonexistent network connection.
ERROR_CONNECTION_ACTIVE
An invalid operation was attempted on an active network connection.
ERROR_NETWORK_UNREACHABLE
The network location cannot be reached. For information about network troubleshooting, see Windows Help.
ERROR_HOST_UNREACHABLE
The network location cannot be reached. For information about network troubleshooting, see Windows Help.
ERROR_PROTOCOL_UNREACHABLE
The network location cannot be reached. For information about network troubleshooting, see Windows Help.
ERROR_PORT_UNREACHABLE
No service is operating at the destination network endpoint on the remote system.
ERROR_REQUEST_ABORTED
The request was aborted.
ERROR_CONNECTION_ABORTED
The network connection was aborted by the local system.
ERROR_RETRY
The operation could not be completed. A retry should be performed.
ERROR_CONNECTION_COUNT_LIMIT
A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.
ERROR_LOGIN_TIME_RESTRICTION
Attempting to log in during an unauthorized time of day for this account.
ERROR_LOGIN_WKSTA_RESTRICTION
The account is not authorized to log in from this station.
ERROR_INCORRECT_ADDRESS
The network address could not be used for the operation requested.
ERROR_ALREADY_REGISTERED
The service is already registered.
ERROR_SERVICE_NOT_FOUND
The specified service does not exist.
ERROR_NOT_AUTHENTICATED
The operation being requested was not performed because the user has not been authenticated.
ERROR_NOT_LOGGED_ON
The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.
ERROR_CONTINUE
Continue with work in progress.
ERROR_ALREADY_INITIALIZED
An attempt was made to perform an initialization operation when initialization has already been completed.
ERROR_NO_MORE_DEVICES
No more local devices.
ERROR_NO_SUCH_SITE
The specified site does not exist.
ERROR_DOMAIN_CONTROLLER_EXISTS
A domain controller with the specified name already exists.
ERROR_ONLY_IF_CONNECTED
This operation is supported only when you are connected to the server.
ERROR_OVERRIDE_NOCHANGES
The group policy framework should call the extension even if there are no changes.
ERROR_BAD_USER_PROFILE
The specified user does not have a valid profile.
ERROR_NOT_SUPPORTED_ON_SBS
This operation is not supported on a computer running Windows Server 2003 for Small Business Server.
ERROR_SERVER_SHUTDOWN_IN_PROGRESS
The server machine is shutting down.
ERROR_HOST_DOWN
The remote system is not available. For information about network troubleshooting, see Windows Help.
ERROR_NON_ACCOUNT_SID
The security identifier provided is not from an account domain.
ERROR_NON_DOMAIN_SID
The security identifier provided does not have a domain component.
ERROR_APPHELP_BLOCK
AppHelp dialog canceled thus preventing the application from starting.
ERROR_ACCESS_DISABLED_BY_POLICY
This program is blocked by group policy. For more information, contact your system administrator.
ERROR_REG_NAT_CONSUMPTION
A program attempt to use an invalid register value. Normally caused by an uninitialized register. This error is Itanium specific.
ERROR_CSCSHARE_OFFLINE
The share is currently offline or does not exist.
ERROR_PKINIT_FAILURE
The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon. There is more information in the system event log.
ERROR_SMARTCARD_SUBSYSTEM_FAILURE
The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.
ERROR_DOWNGRADE_DETECTED
The system cannot contact a domain controller to service the authentication request. Please try again later.
ERROR_MACHINE_LOCKED
The machine is locked and cannot be shut down without the force option.
ERROR_CALLBACK_SUPPLIED_INVALID_DATA
An application-defined callback gave invalid data when called.
ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED
The group policy framework should call the extension in the synchronous foreground policy refresh.
ERROR_DRIVER_BLOCKED
This driver has been blocked from loading.
ERROR_INVALID_IMPORT_OF_NON_DLL
A dynamic link library (DLL) referenced a module that was neither a DLL nor the process’s executable image.
ERROR_ACCESS_DISABLED_WEBBLADE
Windows cannot open this program since it has been disabled.
ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER
Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.
ERROR_RECOVERY_FAILURE
A transaction recover failed.
ERROR_ALREADY_FIBER
The current thread has already been converted to a fiber.
ERROR_ALREADY_THREAD
The current thread has already been converted from a fiber.
ERROR_STACK_BUFFER_OVERRUN
The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
ERROR_PARAMETER_QUOTA_EXCEEDED
Data present in one of the parameters is more than the function can operate on.
ERROR_DEBUGGER_INACTIVE
An attempt to do an operation on a debug object failed because the object is in the process of being deleted.
ERROR_DELAY_LOAD_FAILED
ERROR_VDM_DISALLOWED
%1 is a 16-bit application. You do not have permissions to execute 16-bit applications. Check your permissions with your system administrator.
ERROR_UNIDENTIFIED_ERROR
Insufficient information exists to identify the cause of failure.
ERROR_INVALID_CRUNTIME_PARAMETER
The parameter passed to a C runtime function is incorrect.
ERROR_BEYOND_VDL
The operation occurred beyond the valid data length of the file.
ERROR_INCOMPATIBLE_SERVICE_SID_TYPE
The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.
On Windows ServerВ 2003 and WindowsВ XP, an unrestricted service cannot coexist in the same process with other services. The service with the unrestricted service SID type must be moved to an owned process in order to start this service.
ERROR_DRIVER_PROCESS_TERMINATED
The process hosting the driver for this device has been terminated.
ERROR_IMPLEMENTATION_LIMIT
An operation attempted to exceed an implementation-defined limit.
ERROR_PROCESS_IS_PROTECTED
Either the target process, or the target thread’s containing process, is a protected process.
ERROR_SERVICE_NOTIFY_CLIENT_LAGGING
The service notification client is lagging too far behind the current state of services in the machine.
ERROR_DISK_QUOTA_EXCEEDED
The requested file operation failed because the storage quota was exceeded. To free up disk space, move files to a different location or delete unnecessary files. For more information, contact your system administrator.
ERROR_CONTENT_BLOCKED
The requested file operation failed because the storage policy blocks that type of file. For more information, contact your system administrator.
ERROR_INCOMPATIBLE_SERVICE_PRIVILEGE
A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration.
ERROR_APP_HANG
A thread involved in this operation appears to be unresponsive.
ERROR_INVALID_LABEL
Indicates a particular Security ID may not be assigned as the label of an object.