none
Wsus (Erro Fatal: Caracteres inv lidos no caminho) RRS feed

  • السؤال

  • Pessoal boa tarde, já instalei desinstalei o Wsus. Mas sempre que coloco pra fazer a configuração pós instalação  da esse erro:

    O arquivo de log est  localizado em C:\Users\Administrador.WIN-D2ILJGCKH5V\AppData\Local\Temp\tmp5447.tmp
    Iniciando a p¢s-instala‡Æo
    Erro Fatal: Caracteres inv lidos no caminho.

    Aqui, está o erro dentro do arquivo:

    2021-11-04 14:59:11  Postinstall started
    2021-11-04 14:59:11  Detected role services: Api, UI, WidDatabase, Services
    2021-11-04 14:59:11  Start: LoadSettingsFromParameters
    2021-11-04 14:59:11  Content local is: False
    2021-11-04 14:59:11  SQL instname is: 
    2021-11-04 14:59:11  End: LoadSettingsFromParameters
    2021-11-04 14:59:11  Start: Run
    2021-11-04 14:59:11  Fetching WsusAdministratorsSid from registry store
    2021-11-04 14:59:11  Value is S-1-5-21-4056148333-880270361-3290756012-1445
    2021-11-04 14:59:11  Fetching WsusReportersSid from registry store
    2021-11-04 14:59:11  Value is S-1-5-21-4056148333-880270361-3290756012-1446
    2021-11-04 14:59:13  Configuring content directory...
    2021-11-04 14:59:13  Configuring groups...
    2021-11-04 14:59:13  Starting group configuration for WSUS Administrators...
    2021-11-04 14:59:13  Found group in regsitry, attempting to use it...
    2021-11-04 14:59:13  Searching for existing group...
    2021-11-04 14:59:13  Existing group was found
    2021-11-04 14:59:13  Writing group to registry...
    2021-11-04 14:59:13  Finished group creation
    2021-11-04 14:59:13  Starting group configuration for WSUS Reporters...
    2021-11-04 14:59:13  Found group in regsitry, attempting to use it...
    2021-11-04 14:59:13  Searching for existing group...
    2021-11-04 14:59:13  Existing group was found
    2021-11-04 14:59:13  Writing group to registry...
    2021-11-04 14:59:13  Finished group creation
    2021-11-04 14:59:13  Configuring permissions...
    2021-11-04 14:59:13  Fetching content directory...
    2021-11-04 14:59:13  Fetching ContentDir from registry store
    2021-11-04 14:59:13  Value is C:\WSUS
    2021-11-04 14:59:13  Fetching group SIDs...
    2021-11-04 14:59:13  Fetching WsusAdministratorsSid from registry store
    2021-11-04 14:59:13  Value is S-1-5-21-4056148333-880270361-3290756012-1445
    2021-11-04 14:59:13  Fetching WsusReportersSid from registry store
    2021-11-04 14:59:13  Value is S-1-5-21-4056148333-880270361-3290756012-1446
    2021-11-04 14:59:13  Creating group principals...
    2021-11-04 14:59:14  Granting directory permissions...
    2021-11-04 14:59:14  Granting permissions on content directory...
    2021-11-04 14:59:14  Granting registry permissions...
    2021-11-04 14:59:14  Granting registry permissions...
    2021-11-04 14:59:14  Granting registry permissions...
    2021-11-04 14:59:14  Configuring shares...
    2021-11-04 14:59:14  Configuring network shares...
    2021-11-04 14:59:14  Fetching content directory...
    2021-11-04 14:59:14  Fetching ContentDir from registry store
    2021-11-04 14:59:14  Value is C:\WSUS
    2021-11-04 14:59:14  Fetching WSUS admin SID...
    2021-11-04 14:59:14  Fetching WsusAdministratorsSid from registry store
    2021-11-04 14:59:14  Value is S-1-5-21-4056148333-880270361-3290756012-1445
    2021-11-04 14:59:14  Content directory is local, creating content shares...
    2021-11-04 14:59:15  Creating share "UpdateServicesPackages" with path "C:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
    2021-11-04 14:59:15  Deleting existing share...
    2021-11-04 14:59:15  Creating share...
    2021-11-04 14:59:15  Share successfully created
    2021-11-04 14:59:15  Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2021-11-04 14:59:15  Deleting existing share...
    2021-11-04 14:59:15  Creating share...
    2021-11-04 14:59:15  Share successfully created
    2021-11-04 14:59:15  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
    2021-11-04 14:59:15  Deleting existing share...
    2021-11-04 14:59:15  Creating share...
    2021-11-04 14:59:15  Share successfully created
    2021-11-04 14:59:15  Finished creating content shares
    2021-11-04 14:59:15  Stopping service WSUSService
    2021-11-04 14:59:15  Stopping service W3SVC
    2021-11-04 14:59:15  Configuring WID database...
    2021-11-04 14:59:15  Configuring the database...
    2021-11-04 14:59:16  Establishing DB connection...
    2021-11-04 14:59:16  Checking to see if database exists...
    2021-11-04 14:59:16  Database exists
    2021-11-04 14:59:16  Switching database to single user mode...
    2021-11-04 14:59:16  Loading install type query...
    2021-11-04 14:59:16  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (14393)
    DECLARE @scriptMinorVersion     int = (0)
    DECLARE @databaseMajorVersion   int 
    DECLARE @databaseMinorVersion   int 
    DECLARE @databaseBuildNumber    nvarchar(10)
    IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
    BEGIN
        SELECT 1
    END
    ELSE
    BEGIN
        SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
        IF (@delimiterPosition = 0)
        BEGIN
            RAISERROR('Invalid schema version number', 16, 1) with nowait
            return 
        END 
        SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
        SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
        IF @currentDBVersion < 926
        BEGIN
            SELECT 3
        END
        ELSE
        BEGIN
            IF (@scriptMajorVersion > @databaseMajorVersion OR
               (@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
            BEGIN
                SELECT 2
            END
            ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
                     @scriptMinorVersion = @databaseMinorVersion)
            BEGIN
                SELECT 0
            END
            ELSE
            BEGIN
                SELECT 4
            END
        END
    END

    2021-11-04 14:59:16  Install type is: Reinstall
    2021-11-04 14:59:16  Creating logins...
    2021-11-04 14:59:16  Fetching account info for S-1-5-20
    2021-11-04 14:59:16  Found principal
    2021-11-04 14:59:16  Found account
    2021-11-04 14:59:16  Got binary SID
    2021-11-04 14:59:16  Fetching WsusAdministratorsSid from registry store
    2021-11-04 14:59:16  Value is S-1-5-21-4056148333-880270361-3290756012-1445
    2021-11-04 14:59:16  Fetching account info for S-1-5-21-4056148333-880270361-3290756012-1445
    2021-11-04 14:59:16  Fetching account info for S-1-5-21-4056148333-880270361-3290756012-1445
    2021-11-04 14:59:16  Found principal
    2021-11-04 14:59:16  Found account
    2021-11-04 14:59:16  Got binary SID
    2021-11-04 14:59:16  Setting content location...
    2021-11-04 14:59:16  Fetching ContentDir from registry store
    2021-11-04 14:59:16  Value is C:\WSUS
    2021-11-04 14:59:16  Swtching DB to multi-user mode......
    2021-11-04 14:59:17  Finished setting multi-user mode
    2021-11-04 14:59:17  Writing DB settings to registry...
    2021-11-04 14:59:17  Disposing Connection
    2021-11-04 14:59:17  Clearing Connection Pools
    2021-11-04 14:59:17  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2021-11-04 14:59:17  Starting service W3SVC
    2021-11-04 14:59:17  Configuring IIS...
    2021-11-04 14:59:17  Start: ConfigureWebsite
    2021-11-04 14:59:18  Configuring website on port 8530
    2021-11-04 14:59:22  System.Runtime.InteropServices.COMException (0x80070003): O sistema não pode encontrar o caminho especificado.

       em System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       em System.DirectoryServices.DirectoryEntry.Bind()
       em System.DirectoryServices.DirectoryEntry.get_AdsObject()
       em System.DirectoryServices.PropertyValueCollection.PopulateList()
       em System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       em System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       em Microsoft.UpdateServices.Internal.BaseApi.IisConfiguration.Load()
       em Microsoft.UpdateServices.Internal.BaseApi.IisConfiguration.UpdateRegistry()
       em Microsoft.UpdateServices.Administration.UseCustomWebSite.InstallAndConfigure(IisConfiguration& iisConfiguration, Int32 newPortNumber)
       em Microsoft.UpdateServices.Administration.UseCustomWebSite.CreateWebsite(Int32 newPortNumber)
       em Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       em Microsoft.UpdateServices.Administration.PostInstall.Run()
       em Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)

    29/ربيع الأول/1443 06:10 م

جميع الردود

  • Olá luiz pennywise

    ,

     

    Obrigado por participar da Comunidade TechNet.

     

    Com relação a sua consulta, te deixo abaixo um paso a paso para tentar resolver o problema,

    Para resolver : vá até o IIS que foi instalado e apague o site criado para o WSUS,  Feito isso rode novamente o assistente de configuração

     

    Sinta-se a vontade para consultar qualquer dúvida referente aos produtos Microsoft. Será um prazer ajudar-te.

     

    Obrigado.

     

    Vladimir Godoy

    ____________________________________________________________________________

    Por favor lembre-se de "Marcar como resposta" as respostas que solucionaram seu problema, é uma forma comum de reconhecer aquelas pessoas que te ajudaram, e faz com que seja mais fácil para os outros visitantes encontrar a solução depois.

     

    Microsoft oferece esse serviço de forma gratuita, com a finalidade de ajudar os usuários e ampliar a base de dados de conhecimentos relacionados com os produtos e tecnologias de Microsoft.

     

    Este conteúdo é proporcionado "tal qual" e não implica nenhuma responsabilidade por parte de Microsoft.

    30/ربيع الأول/1443 04:50 م
    المشرف