Auteur de questions
Script logon (Windows 10)

Discussion générale
-
Bonjour,
Depuis l'upgrade windows 7 à windows 10 Pro, le script de mapping des lecteur (GPO) ne s'execute plus au démarrage, sa fonctionne pour tout les autres machines sauf les machine en Windows 10, la GPO est bien configuré.
Pourquoi en Windows 10 le script s'execute pas au démarrage comme pour les autre machines Windows 7 ?
quel est la solution pour résoudre ce problème ?
Bien à vous
- Type modifié Emile Supiot vendredi 18 septembre 2015 12:20 en attente de retour
Toutes les réponses
-
Bonjour calidroopy,
Je travaille en domaine avec ma machine en Windows 10 entreprise, et je n'ai eu aucune modification à faire pour que les scripts de logon me mappent bien les lecteurs réseaux.
C'est un VBS qui est exécuté, un .bat, un PS1 ?
Si tu exécutes le script à la main sur la machine, est ce que ça te fait une erreur ? Que dit l'observateur d’événement ?
Cordialement,
Chris.
-
-
Bonjour,
C'est un fichier .cmd :
@echo off rem set the name of the servers set ITSERVER=S-Dome set NEW_SERVER=nas-01 rem Effacer les anciens lecteurs NET USE L: /DELETE /YES NET USE M: /DELETE /YES rem NET USE N: /DELETE /YES NET USE U: /DELETE /YES NET USE W: /DELETE /YES NET USE X: /DELETE /YES NET USE L: "\\%ITSERVER%\Plateformes - Data" /PERSISTENT:YES NET USE M: \\%NEW_SERVER%\DEV_APPLICATIONS /PERSISTENT:YES rem NET USE N: "\\%ITSERVER%\Connexions maintenance" /PERSISTENT:YES NET USE U: \\%NEW_SERVER%\bck_archives /PERSISTENT:YES NET USE W: \\%NEW_SERVER%\Secretariat /PERSISTENT:YES NET USE X: \\%NEW_SERVER%\Data /PERSISTENT:YES
Une GPO sur Windows server 2008 lance le fichier au démarrage (logon), il a toujours fonctionné sur cette machine jusqu'à ce que je le passe de Windows 7 à a Windows 10, pour les autres machines toujours en Windows 7 sa fonctionne correctement.
Si je lance manuellement le fichier .cmd sur Windows 10 sa fonctionne, le probleme c'est que la GPO lance plus le fichier automatiquement au démarrage uniquement sur Windows 10.
Bien à vous,
- Modifié calidroopy mercredi 2 septembre 2015 07:47
-
-
-
Bonjour calidroopy,
Regardez bien l'heure sur votre poste, à laquelle vous ouvrez votre session.
Ouvrez l'observateur d'événements et allez regarder par rapport à l'heure d'ouverture, les journaux suivants :
Observateur d'événements\Journaux Windows\Système
Observateur d'événements\Journaux Windows\Application
Venez indiquer ici si vous voyez des erreurs, ou des avertissements.
Cordialement,
Chris.
-
Bonjour,
Donc voila j'ai copier les erreurs de l'observateur d'événements pour Système et pour Application, je me suis connecté sur mon pc un peu avant 9h30
Application :
Log Name: Application Source: ATIeRecord Date: 4/09/2015 09:27:45 Event ID: 16396 Task Category: EEU Level: Error Keywords: Classic User: N/A Computer: LAP201412.A-Tech Description: ATI EEU PnP start/stop failed Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="ATIeRecord" /> <EventID Qualifiers="49152">16396</EventID> <Level>2</Level> <Task>16</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:27:45.000000000Z" /> <EventRecordID>2472</EventRecordID> <Channel>Application</Channel> <Computer>LAP201412.A-Tech</Computer> <Security /> </System> <EventData> </EventData> </Event>
Log Name: Application Source: .NET Runtime Date: 4/09/2015 09:31:37 Event ID: 1026 Task Category: None Level: Error Keywords: Classic User: N/A Computer: LAP201412.A-Tech Description: Application: IAStorDataMgrSvc.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeInitializationException Stack: at PSI.PsiSystemDataModel.LoadSavedSystemStateFromXml() at IAStorUtil.SystemDataModelListener.LoadSavedSystemState() at IAStorDataMgr.EventRelay.<Start>b__0(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1026</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:31:37.000000000Z" /> <EventRecordID>2527</EventRecordID> <Channel>Application</Channel> <Computer>LAP201412.A-Tech</Computer> <Security /> </System> <EventData> <Data>Application: IAStorDataMgrSvc.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeInitializationException Stack: at PSI.PsiSystemDataModel.LoadSavedSystemStateFromXml() at IAStorUtil.SystemDataModelListener.LoadSavedSystemState() at IAStorDataMgr.EventRelay.<Start>b__0(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() </Data> </EventData> </Event>
Log Name: Application Source: Application Error Date: 4/09/2015 09:31:39 Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: LAP201412.A-Tech Description: Faulting application name: IAStorDataMgrSvc.exe, version: 12.8.6.1000, time stamp: 0x523cdbc0 Faulting module name: KERNELBASE.dll, version: 10.0.10240.16384, time stamp: 0x559f3b2a Exception code: 0xe0434352 Fault offset: 0x000b3e28 Faulting process id: 0x1e58 Faulting application start time: 0x01d0e6e3ba71a0ce Faulting application path: C:\Program Files\Intel\Intel(R) Rapid Storage Technology\IAStorDataMgrSvc.exe Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll Report Id: 04f013a5-5087-4fac-bf7a-4db8cb5c42c3 Faulting package full name: Faulting package-relative application ID: Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:31:39.000000000Z" /> <EventRecordID>2529</EventRecordID> <Channel>Application</Channel> <Computer>LAP201412.A-Tech</Computer> <Security /> </System> <EventData> <Data>IAStorDataMgrSvc.exe</Data> <Data>12.8.6.1000</Data> <Data>523cdbc0</Data> <Data>KERNELBASE.dll</Data> <Data>10.0.10240.16384</Data> <Data>559f3b2a</Data> <Data>e0434352</Data> <Data>000b3e28</Data> <Data>1e58</Data> <Data>01d0e6e3ba71a0ce</Data> <Data>C:\Program Files\Intel\Intel(R) Rapid Storage Technology\IAStorDataMgrSvc.exe</Data> <Data>C:\WINDOWS\SYSTEM32\KERNELBASE.dll</Data> <Data>04f013a5-5087-4fac-bf7a-4db8cb5c42c3</Data> <Data> </Data> <Data> </Data> </EventData> </Event>
Système :
Log Name: System Source: Microsoft-Windows-Kernel-Boot Date: 4/09/2015 09:27:16 Event ID: 29 Task Category: None Level: Error Keywords: User: SYSTEM Computer: LAP201412.A-Tech Description: Windows failed fast startup with error status 0xC00000D4. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Kernel-Boot" Guid="{15CA44FF-4D7A-4BAA-BBA5-0998955E531E}" /> <EventID>29</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:27:16.800635900Z" /> <EventRecordID>1727</EventRecordID> <Correlation /> <Execution ProcessID="4" ThreadID="8" /> <Channel>System</Channel> <Computer>LAP201412.A-Tech</Computer> <Security UserID="S-1-5-18" /> </System> <EventData> <Data Name="FailureStatus">3221225684</Data> <Data Name="FailureMsgId">4748687642254960</Data> </EventData> </Event>
Log Name: System Source: EventLog Date: 4/09/2015 09:27:40 Event ID: 6008 Task Category: None Level: Error Keywords: Classic User: N/A Computer: LAP201412.A-Tech Description: The previous system shutdown at 5:31:40 PM on 9/3/2015 was unexpected. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="EventLog" /> <EventID Qualifiers="32768">6008</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:27:40.000000000Z" /> <EventRecordID>1737</EventRecordID> <Channel>System</Channel> <Computer>LAP201412.A-Tech</Computer> <Security /> </System> <EventData> <Data>5:31:40 PM</Data> <Data>9/3/2015</Data> <Data> </Data> <Data> </Data> <Data>26100</Data> <Data> </Data> <Data> </Data> <Binary>DF0709000400030011001F0028000A00DF070900040003000F001F0028000A00600900003C000000010000006009000001000000B00400000100000000000000</Binary> </EventData> </Event>
Log Name: System Source: Microsoft-Windows-Kernel-Power Date: 4/09/2015 09:27:22 Event ID: 41 Task Category: (63) Level: Critical Keywords: (35184372088832),(2) User: SYSTEM Computer: LAP201412.A-Tech Description: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" /> <EventID>41</EventID> <Version>3</Version> <Level>1</Level> <Task>63</Task> <Opcode>0</Opcode> <Keywords>0x8000200000000002</Keywords> <TimeCreated SystemTime="2015-09-04T07:27:22.969630700Z" /> <EventRecordID>1748</EventRecordID> <Correlation /> <Execution ProcessID="4" ThreadID="8" /> <Channel>System</Channel> <Computer>LAP201412.A-Tech</Computer> <Security UserID="S-1-5-18" /> </System> <EventData> <Data Name="BugcheckCode">0</Data> <Data Name="BugcheckParameter1">0x0</Data> <Data Name="BugcheckParameter2">0x0</Data> <Data Name="BugcheckParameter3">0x0</Data> <Data Name="BugcheckParameter4">0x0</Data> <Data Name="SleepInProgress">6</Data> <Data Name="PowerButtonTimestamp">0</Data> <Data Name="BootAppStatus">3221225684</Data> </EventData> </Event>
Log Name: System Source: Service Control Manager Date: 4/09/2015 09:27:59 Event ID: 7001 Task Category: None Level: Error Keywords: Classic User: N/A Computer: LAP201412.A-Tech Description: The Net.Tcp Listener Adapter service depends on the Net.Tcp Port Sharing Service service which failed to start because of the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> <EventID Qualifiers="49152">7001</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8080000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:27:59.461101700Z" /> <EventRecordID>1788</EventRecordID> <Correlation /> <Execution ProcessID="788" ThreadID="884" /> <Channel>System</Channel> <Computer>LAP201412.A-Tech</Computer> <Security /> </System> <EventData> <Data Name="param1">Net.Tcp Listener Adapter</Data> <Data Name="param2">Net.Tcp Port Sharing Service</Data> <Data Name="param3">%%1058</Data> <Binary>4E006500740054006300700041006300740069007600610074006F0072000000</Binary> </EventData> </Event>
Log Name: System Source: Service Control Manager Date: 4/09/2015 09:31:45 Event ID: 7034 Task Category: None Level: Error Keywords: Classic User: N/A Computer: LAP201412.A-Tech Description: The Intel(R) Rapid Storage Technology service terminated unexpectedly. It has done this 1 time(s). Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> <EventID Qualifiers="49152">7034</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8080000000000000</Keywords> <TimeCreated SystemTime="2015-09-04T07:31:45.790183800Z" /> <EventRecordID>1808</EventRecordID> <Correlation /> <Execution ProcessID="788" ThreadID="896" /> <Channel>System</Channel> <Computer>LAP201412.A-Tech</Computer> <Security /> </System> <EventData> <Data Name="param1">Intel(R) Rapid Storage Technology</Data> <Data Name="param2">1</Data> <Binary>49004100530074006F00720044006100740061004D00670072005300760063000000</Binary> </EventData> </Event>
Merci Chris.
Cordialement,
Calidroopy
- Modifié calidroopy vendredi 4 septembre 2015 14:46
-
Bonjour calidroopy,
Je ne vois pas d'erreur en particulier dans les événements que tu as envoyé.
Est ce que tu peux faire un test, en refaisant une autre GPO pour mapper les lecteurs réseaux :
- avec un VBS (tu trouveras des exemples assez simple sur le net)
- avec une GPP
Cordialement,
Chris.
-
Bonjour calidroopy,
Est-ce que votre problème persiste ?
Cordialement,
Emile
Votez! Appel à la contribution TechNet Community Support. LE CONTENU EST FOURNI "TEL QUEL" SANS GARANTIE D'AUCUNE SORTE, EXPLICITE OU IMPLICITE. S'il vous plaît n'oubliez pas de "Marquer comme réponse" les réponses qui ont résolu votre problème. C'est une voie commune pour reconnaître ceux qui vous ont aidé, et rend plus facile pour les autres visiteurs de trouver plus tard la résolution.
-
-
Bonjour Calidroopy,
Je te conseille de laissé tomber les batchs file. Utilise plutôt des script POWERSHELL ou Directement avec une GPP en intégrant le ciblage si nécessaire.
Lecteur réseau en powershell : http://www.it-connect.fr/chapitres/creer-un-lecteur-reseau-en-powershell/
Lecteur Réseau en GPP : http://www.howtogeek.com/99403/it-how-to-map-network-drives-on-windows-clients-via-group-policy/
Moi je n'ai pas de préférence entre powershell ou gpp. Mais les gens trouvent plus simple la GPP.
SM