Select the product you need help with
Debugging User Profiles and System Policies in Windows NT 4.0Identificativo articolo: 154120 - Visualizza i prodotti a cui si riferisce l?articolo. importante : questo articolo contiene informazioni sulla modifica del Registro di sistema. Prima di modificare il Registro di sistema, eseguire una copia di backup e assicurarsi di sapere come ripristinarlo in caso di problemi. Per ulteriori informazioni su come eseguire il backup, ripristinare e modificare il Registro di sistema, fare clic sul numero dell'articolo della Microsoft Knowledge Base riportato di seguito: 256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Descrizione del Registro di sistema di Microsoft Windows SommarioLa versione controllata di Userenv.dll, in combinazione con una voce del Registro di sistema, crea un file registro utili nella risoluzione dei problemi e il debug di problemi con i profili comuni e i criteri di sistema sui client di Microsoft Windows NT versione 4.0. InformazioniPer attivare il file di registro:
Di seguito è riportato un esempio che Userenv.log in base alle seguenti informazioni.
Username = profile
Profile path defined in User Manager =
PDCServerName\Profiles\%username%
Domain Controller = PDCServerName
System Policy Path: PDCServerName\Netlogon
Profile is not reachable, error = 2 -------------------------------------------------------------------------- LoadUserProfile: Entering, hToken = <0xa8>, lpProfileInfo = 0x12f4e8 LoadUserProfile: lpProfileInfo->dwFlags = <0x2> LoadUserProfile: lpProfileInfo->lpUserName = <profile> LoadUserProfile: lpProfileInfo->lpProfilePath = <\\PDCServerName\profiles\profile> LoadUserProfile: lpProfileInfo->lpDefaultPath = <\\PDCServerName\netlogon\Default User> LoadUserProfile: lpProfileInfo->lpServerName = <\\PDCServerName> LoadUserProfile: lpProfileInfo->lpPolicyPath = <\\PDCServerName\netlogon\ntconfig.pol> ParseProfilePath: Entering, lpProfilePath = <\\PDCServerName\profiles\profile> ParseProfilePath: Tick Count = 60 ParseProfilePath: FindFirstFile found something with attributes <0x10> ParseProfilePath: Found a directory LoadUserProfile: ParseProfilePath returned a directory of <\\PDCServerName\profiles\profile> RestoreUserProfile: Entering RestoreUserProfile: Profile path = <\\PDCServerName\profiles\profile> RestoreUserProfile: User is a Admin IsCentralProfileReachable: Entering IsCentralProfileReachable: Testing <\\PDCServerName\profiles\profile\ntuser.man> IsCentralProfileReachable: Profile is not reachable, error = 2 IsCentralProfileReachable: Testing <\\PDCServerName\profiles\profile\ntuser.dat> IsCentralProfileReachable: Found a user profile. RestoreUserProfile: Central Profile is reachable RestoreUserProfile: Central Profile is floating GetLocalProfileImage: Found entry in profile list for existing local profile GetLocalProfileImage: Local profile image filename = <%SystemRoot%\Profiles\profile> GetLocalProfileImage: Expanded local profile image filename = <C:\WINNT\Profiles\profile> GetLocalProfileImage: Found local profile image file ok <C:\WINNT\Profiles\profile\ntuser.dat> Local profile is reachable Local profile name is <C:\WINNT\Profiles\profile> RestoreUserProfile: About to call UpdateToLatestProfile UpdateToLatestProfile: Entering. Central = <\\PDCServerName\profiles\profile> Local = <C:\WINNT\Profiles\profile> UpdateToLatestProfile: Central and local profile times match. RestoreUserProfile: About to Leave. Final Information follows: Profile was successfully loaded. lpProfile->szCentralProfile = <\\PDCServerName\profiles\profile> lpProfile->szLocalProfile = <C:\WINNT\Profiles\profile> lpProfile->dwInternalFlags = 0x112 RestoreUserProfile: Leaving. UpgradeProfile: Entering UpgradeProfile: Build numbers match UpgradeProfile: Leaving Successfully ApplyPolicy: Entering ApplyPolicy: PolicyPath is: <\\PDCServerName\netlogon\ntconfig.pol>. ReconcileFile: \\PDCServerName\netlogon\ntconfig.pol ==> C:\WINNT\Profiles\Policy\ntconfig.pol [OK] ApplyPolicy: Local PolicyPath is: <C:\WINNT\Profiles\Policy\ntconfig.pol>. ApplyPolicy: Leaving succesfully. LoadUserProfile: Leaving with a value of 1. hProfile = <0x90> -------------------------------------------------------------------------- Below is a successful logoff and update by the client of the server- based roaming profile. -------------------------------------------------------------------------- UnloadUserProfile: Entering, hProfile = <0xe0> UnloadUserProfile: Succesfully unloaded profile UnloadUserProfile: Copying profile back to \\PDCServerName\profiles\profile CopyProfileDirectory: Entering, lpSourceDir = <C:\WINNT\Profiles\profile>, lpDestinationDir = <\\PDCServerName\profiles\profile>, dwFlags = 0x32 ReconcileFile: C:\WINNT\Profiles\profile\NTUSER.DAT ==> \\PDCServerName\profiles\profile\NTUSER.DAT [OK] ReconcileFile: C:\WINNT\Profiles\profile\ntuser.dat.LOG ==> \\PDCServerName\profiles\profile\ntuser.dat.LOG [OK] CopyProfileDirectory: Leaving with a return value of 1 UnloadUserProfile: Leaving with a return value of 1 -------------------------------------------------------------------------- ProprietàIdentificativo articolo: 154120 - Ultima modifica: mercoledì 1 novembre 2006 - Revisione: 1.3 Le informazioni in questo articolo si applicano a:
Traduzione automatica articoli Il presente articolo è stato tradotto tramite il software di traduzione automatica di Microsoft e non da una persona. Microsoft offre sia articoli tradotti da persone fisiche sia articoli tradotti automaticamente da un software, in modo da rendere disponibili tutti gli articoli presenti nella nostra Knowledge Base nella lingua madre dell?utente. Tuttavia, un articolo tradotto in modo automatico non è sempre perfetto. Potrebbe contenere errori di sintassi, di grammatica o di utilizzo dei vocaboli, più o meno allo stesso modo di come una persona straniera potrebbe commettere degli errori parlando una lingua che non è la sua. Microsoft non è responsabile di alcuna imprecisione, errore o danno cagionato da qualsiasi traduzione non corretta dei contenuti o dell?utilizzo degli stessi fatto dai propri clienti. Microsoft, inoltre, aggiorna frequentemente il software di traduzione automatica. Clicca qui per visualizzare la versione originale in inglese dell?articolo: 154120
(http://support.microsoft.com/kb/154120/en-us/
)
LE INFORMAZIONI CONTENUTE NELLA MICROSOFT KNOWLEDGE BASE SONO FORNITE SENZA GARANZIA DI ALCUN TIPO, IMPLICITA OD ESPLICITA, COMPRESA QUELLA RIGUARDO ALLA COMMERCIALIZZAZIONE E/O COMPATIBILITA' IN IMPIEGHI PARTICOLARI. L'UTENTE SI ASSUME L'INTERA RESPONSABILITA' PER L'UTILIZZO DI QUESTE INFORMAZIONI. IN NESSUN CASO MICROSOFT CORPORATION E I SUOI FORNITORI SI RENDONO RESPONSABILI PER DANNI DIRETTI, INDIRETTI O ACCIDENTALI CHE POSSANO PROVOCARE PERDITA DI DENARO O DI DATI, ANCHE SE MICROSOFT O I SUOI FORNITORI FOSSERO STATI AVVISATI. IL DOCUMENTO PUO' ESSERE COPIATO E DISTRIBUITO ALLE SEGUENTI CONDIZIONI: 1) IL TESTO DEVE ESSERE COPIATO INTEGRALMENTE E TUTTE LE PAGINE DEVONO ESSERE INCLUSE. 2) I PROGRAMMI SE PRESENTI, DEVONO ESSERE COPIATI SENZA MODIFICHE, 3) IL DOCUMENTO DEVE ESSERE DISTRIBUITO INTERAMENTE IN OGNI SUA PARTE. 4) IL DOCUMENTO NON PUO' ESSERE DISTRIBUITO A SCOPO DI LUCRO. |




Torna all'inizio








