Base de connaissances: Windows, Office, Outlook, Scripts, etc. ...
Copies et Sauvegardes: |
||||||||||||||||||||||||||||||
Robocopy | ||||||||||||||||||||||||||||||
cd\ @Echo Off color 3f SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% cls NET USE T: \\IP_SERVER\FOLDER T: MD %$date% SET Source="C:\FOLDER_TO_BCK" SET Destination="T:" ROBOCOPY "%Source%" "%Destination%" /E /Z /SEC /NP /ETA /W:0 /R:0 /LOG:"d:\Robocopy_file_%$date%.log" NET USE T: /D /Y
|
||||||||||||||||||||||||||||||
Sauvegarde de Base SQL | ||||||||||||||||||||||||||||||
C: cd\WAVESOFT\SAUVEGARDES\LAST\ DEL NOM-CLIENT_OLD7.BAK REN NOM-CLIENT_OLD6.BAK NOM-CLIENT_OLD7.BAK REN NOM-CLIENT_OLD5.BAK NOM-CLIENT_OLD6.BAK REN NOM-CLIENT_OLD4.BAK NOM-CLIENT_OLD5.BAK REN NOM-CLIENT_OLD3.BAK NOM-CLIENT_OLD4.BAK REN NOM-CLIENT_OLD2.BAK NOM-CLIENT_OLD3.BAK REN NOM-CLIENT_OLD1.BAK NOM-CLIENT_OLD2.BAK "C:\Program Files\Microsoft SQL Server\120\Tools\Binn\OSQL" -S SRV-TSE\WAVESOFT -U sa -P wavesoft -Q "BACKUP DATABASE NOM-CLIENT TO DISK='C:\WAVESOFT\SAUVEGARDES\LAST\NOM-CLIENT_OLD1.BAK' WITH INIT" |
||||||||||||||||||||||||||||||
Script de Sauvegarde RTD vers HDD Externe | ||||||||||||||||||||||||||||||
#################################################################################### ################################## MTS ECOPARC ################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\Program Files\MTS Systems" SET DST="%lecteur%:\BCK\ECOPARC\MTS-CD08\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y #################################################################################### ################################## MTS ECOPARC ################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\Program Files\MTS Systems" SET DST="%lecteur%:\BCK\ECOPARC\MTS-CD09\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y #################################################################################### ################################## MTS ECOPARC ################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\Program Files (x86)\MTS Systems\*.*" SET DST="%lecteur%:\BCK\ECOPARC\MTS-CD10\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y #################################################################################### ################################# MICRO DURETE ################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\Program Files\STRUERS\DURAMIN4\Measure" SET DST="%lecteur%:\BCK\GAVANIERE\MicroDurete\%$date%\Program" SET SRC2="C:\Documents and Settings\%UserName%\RTD" SET DST2="%lecteur%:\BCK\GAVANIERE\MicroDurete\%$date%\Data" xcopy %SRC% %DST% /E /I /Q /Y xcopy %SRC2% %DST2% /E /I /Q /Y #################################################################################### ##################################### TESA ####################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\Program Files (x86)\Pro-Measure\*.*" SET DST="%lecteur%:\BCK\RTD\TESA\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y #################################################################################### ################################## SPECTRA ####################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\pel_apps" SET DST="%lecteur%:\BCK\GAVANIERE\SPECTRA\%$date%\Program" SET SRC2="C:\pel_data" SET DST2="%lecteur%:\BCK\GAVANIERE\SPECTRA\%$date%\Data" xcopy %SRC% %DST% /E /I /Q /Y xcopy %SRC2% %DST2% /E /I /Q /Y #################################################################################### ################################## MTS RTD ####################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\Program Files\MTS Systems\TestWorks" SET DST="%lecteur%:\BCK\GAVANIERE\MTS\%$date%\Program" SET SRC2="C:\Program Files\MTS Systems\TestWorks" SET DST2="%lecteur%:\BCK\GAVANIERE\MTS\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y xcopy %SRC2% %DST2% /E /I /Q /Y #################################################################################### ################################### TROMBO ####################################### cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% SET SRC="C:\ISO 4049 project" SET DST="%lecteur%:\BCK\GAVANIERE\TROMBO\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y |
||||||||||||||||||||||||||||||
RTD - Script de Sauvegarde Unique | ||||||||||||||||||||||||||||||
cd\ c: cd c:\windows @Echo Off color 3F cls set /p lecteur= Sur quelle lettre de lecteur se trouve votre support de sauvegarde ? Echo Sur quel site s'execute cette sauvegarde ? Echo [1] RTD GAVANIERE Echo [2] RTD ECOPARC Set /p site= if %site% == 1 ( SET site=GAVANIERE ) else ( if %site% == 2 ( SET site=ECOPARC ) else ( goto quit ) ) Echo Quelle machine sauvegardez-vous ? Echo [1] GAVANIERE - TESA Echo [2] GAVANIERE - MICRO Echo [3] GAVANIERE - SPECTRA Echo [4] GAVANIERE - TROMBO Echo [5] GAVANIERE - MTS Echo [6] GAVANIERE - MARCEL AUBERT Echo [7] ECOPARC - MTS08 Echo [8] ECOPARC - MTS09 Echo [9] ECOPARC - MTS10 Set /p machine= SET $date=%date:~-4%-%date:~3,2%-%date:~0,2% if %machine% == 1 ( SET machine=TESA if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\Program Files (x86)\Pro-Measure\*.*" SET DST="%lecteur%:\BCK\RTD\TESA\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y ) ) else ( if %machine% == 2 ( SET machine=MICRO if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\Program Files\STRUERS\DURAMIN4" SET DST="%lecteur%:\BCK\GAVANIERE\MicroDurete\%$date%\Program" SET SRC2="C:\Documents and Settings\utilisateur\Mes documents\rtd" SET DST2="%lecteur%:\BCK\GAVANIERE\MicroDurete\%$date%\Data" xcopy %SRC% %DST% /E /I /Q /Y xcopy %SRC2% %DST2% /E /I /Q /Y ) ) else ( if %machine% == 3 ( SET machine=SPECTRA if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\pel_apps\*.*" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" SET SRC2="C:\pel_data\*.*" SET DST2="%lecteur%:\BCK\%site%\%machine%\%$date%\Data" xcopy %SRC% %DST% /E /I /Q /Y xcopy %SRC2% %DST2% /E /I /Q /Y ) ) else ( if %machine% == 4 ( SET machine=TROMBO if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\ISO 4049 project" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y ) ) else ( if %machine% == 5 ( SET machine=MTS if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\Program Files\MTS Systems\TestWorks" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y ) ) else ( if %machine% == 6 ( SET machine=FORET if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\VideoCAD\*.*" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" SET SRC2="C:\Documents and Settings\Marcel Aubert\Desktop\plan foret\*.*" SET DST2="%lecteur%:\BCK\%site%\%machine%\%$date%\Data" xcopy %SRC% %DST% /E /I /Q /Y xcopy %SRC2% %DST2% /E /I /Q /Y ) ) else ( if %machine% == 7 ( SET machine=MTS-CD08 if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\Program Files\MTS Systems" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y ) ) else ( if %machine% == 8 ( SET machine=MTS-CD09 if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\Program Files\MTS Systems" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y ) ) else ( if %machine% == 9 ( SET machine=MTS-CD10 if exist "%lecteur%:\BCK\%site%\%machine%\%$date%" ( Echo Sauvegarde déjà faite ! pause>nul goto quit ) else ( SET SRC="C:\Program Files\MTS Systems" SET DST="%lecteur%:\BCK\%site%\%machine%\%$date%\Program" xcopy %SRC% %DST% /E /I /Q /Y ) ) else ( goto quit ) ) ) ) ) ) ) ) ) :quit |
||||||||||||||||||||||||||||||
Script PowerShell d'envoi de mail des Sauvegardes | ||||||||||||||||||||||||||||||
<# .SYNOPSIS Windows Backup Mail Report Written by Joakim, .DESCRIPTION Version 4.1 - Updated 2016-05-31 This script will mail a report from the latest Windows Backup job, can also fetch and generate reports from remote servers. The script requires at least PowerShell v3. .EXAMPLE To automate this script, setup a scheduled task. Name: Backup Email Task Description: Notifies backup admin of scheduled backup status Run whether user is logged on or not Trigger > On event > Log=Microsoft-Windows-Backup/Operational > Source=Backup > Event ID(s)= 4,5,8,9,17,22,49,50,52,100,517,518,521,527,528,544,545,546,561,564,612 Action: Start a Program Program: Powershell Arguments: -Command "C:\Scripts\WBJobReport.ps1" -ExecutionPolicy Bypass #> Add-PSSnapin Windows.ServerBackup -ErrorAction SilentlyContinue ####################################### #-------- Variables to change --------# # Uncomment the two rows below and row 207 to enable "Remote Report" generation. $Servers = New-PSSession -Computername SRV-AD.CAZEAUX.local #Server01, Server02, Server03 Invoke-Command -Session $Servers { # Set your Company name $Company = "CAZEAUX ELECTRICITE" # Set the recipient/sender email-address $MailTo = "support@cystm.fr" #$MailCc = "s.bulidon@cystm.fr" $MailFrom = "$Company Backup |
||||||||||||||||||||||||||||||
Ergonomie Windows 10: |
||||||||||||||||||||||||||||||
Trouver sa clé Windows | ||||||||||||||||||||||||||||||
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey" |
||||||||||||||||||||||||||||||
Visionneuse Windows 7 sous Windows 10 | ||||||||||||||||||||||||||||||
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Applications\photoviewer.dll] [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell] [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open] "MuiVerb"="@photoviewer.dll,-3043" [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25, \ 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00, \ 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25, \ 00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00, \ 25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f, \ 00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00, \ 6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c, \ 00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00, \ 5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25, \ 00,31,00,00,00 [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget] "Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print] [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25, \ 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00, \ 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25, \ 00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00, \ 25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f, \ 00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00, \ 6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c, \ 00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00, \ 5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25, \ 00,31,00,00,00 [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget] "Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}" |
||||||||||||||||||||||||||||||
Préparation de Profil Utilisateur | ||||||||||||||||||||||||||||||
Echo off break on cls REM ce script est a lancer sur la session utilisateur pour la fin de son parametrage REM Attention d'executer ce script en tant qu'utilisateur et une seconde fois en tant qu'Administrateur REG ADD "HKU\.DEFAULT\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f REM ctivation du verrou numérique au démarrage REG ADD "HKU\.DEFAULT\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f REG ADD "HKCU\Control Panel\Keyboard" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f REM Ajouter icone CE PC sur le bureau des utilisateurs #Windows10 (1 cache 0 affiche) REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f REM Ajouter icone CE PC sur le bureau des utilisateurs #Windows7 REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f REM afficher les icones dans la barre des tâches REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 0 /f REM Définir Panneau de configuration AllitemsIconView=Grandes icones Startuppage=Icones plutot que catégories REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f REM Désactiver la mise en veille du poste powercfg -change -standby-timeout-ac 0 powercfg -change -monitor-timeout-ac 15 powercfg -change -standby-timeout-dc 0 powercfg -change -monitor-timeout-dc 15 powercfg -h off REG ADD "HKCU\Software\Microsoft\Office\16.0\Word\Security\ProtectedView" /v DisableInternetFilesInPV /t Reg_Dword /d 1 /f REG ADD "HKCU\Software\Microsoft\Office\16.0\Word\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t Reg_Dword /d 1 /f REG ADD "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableInternetFilesInPV /t Reg_Dword /d 1 /f REG ADD "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableUnsafeLocationsInPV /t Reg_Dword /d 1 /f tskill explorer |
||||||||||||||||||||||||||||||
Fin de Préparation de Poste Client | ||||||||||||||||||||||||||||||
@ cls @echo off cls Echo Ce script lance l'installation de TeamViewer et l'installation d'OCS 2.6 Echo Si il n'y a pas d'installation Eset presente, le script proposera l'installation d'Eset NOD 32 ou Endpoint Echo Active le pave numerique au demarrage de l'ordinateur Echo Ajouter icone CE PC sur le bureau des utilisateurs Echo Afficher toutes les icones dans la barre des taches Echo Defini le Panneau de configuration sur Grandes icones Echo Desactive la mise en veille du poste Echo Verifie l'activation windows Echo Verifie les mises a jour Windows 10, les installe mais ne redemarre pas le pc Echo. Echo. goto check_Permissions Echo. Echo. Echo Merci de renseigner votre Nom d'utilisateur AD ainsi que votre mot de passe Echo. Echo. :check_Permissions echo Controle des droits administrateur net session >nul 2>&1 if %errorLevel% == 0 ( color 0A echo Succes: Administrative permissions confirmed. ) else ( color 04 echo Echec: Vous n'avez pas les droits administrateurs, merci de relancer le script en tant qu'admin. pause exit ) msiexec.exe /qb- /l*vx REBOOT=ReallySuppress UILevel=67 ALLUSERS=2 /i \\192.168.130.248\Install_Shares\AcroRdrDC1901220034_fr_FR\AcroRead.msi start /wait \\192.168.130.248\Install_shares\TeamViewer_CYSTM_Host_Setup.exe /S /norestart start /wait \\192.168.130.248\Install_shares\OCS\OcsPackage.exe if exist "c:\Program Files\ESET" ( Echo Eset est deja installe ) else ( Echo Quelle version d'Eset souhaitez vous installer ? Echo [1] Eset NOD32 Antivirus Echo [2] Eset Endpoint Echo [3] J'en veut pas de ton antivirus Set /p Eset= ) if %Eset% == 1 ( start /wait \\192.168.130.248\Install_shares\ESET_Antivirus\64\eav_nt64.exe --silent --accepteula --language 1036 --msi-property-ehs PRODUCTTYPE=eav --CFG_POTENTIALLYUNWANTED_ENABLED 1 --CFG_LIVEGRID_ENABLED 1 ) else ( cls ) if %Eset% == 2 ( start /wait \\192.168.130.248\Install_Shares\ESET_Antivirus\Endpoint\eea_nt64.exe --silent --accepteula --language 1036 --CFG_POTENTIALLYUNWANTED_ENABLED 1 --CFG_LIVEGRID_ENABLED 1 ) else ( cls ) powershell.exe -noprofile -executionpolicy bypass -file "\\192.168.130.248\Install_shares\MAJ_windows.ps1" REM Redémarrage de l'explorateur windows tskill explorer REM Verification de l'activation Windows slmgr /xpr REM Windows Update (Scan/install/Ne Redemarre pas) powershell.exe "start ms-settings:windowsupdate" Usoclient StartInteractiveScan |
||||||||||||||||||||||||||||||
Nettoyage de Profil Outlook | ||||||||||||||||||||||||||||||
Ordinateur\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity\Identities Ordinateur\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Profiles |
||||||||||||||||||||||||||||||
Afficher les périphériques cachés dans le Gestionnaire de périphérique | ||||||||||||||||||||||||||||||
set DEVMGR_SHOW_NONPRESENT_DEVICES=1 devmgmt.msc |
||||||||||||||||||||||||||||||
Activation Windows Server | ||||||||||||||||||||||||||||||
slmgr /ato F2JP9-G6NPC-TJR92-76FPH-3J477 |
||||||||||||||||||||||||||||||
Emplacement des Fonds d'accueil Windows 10 | ||||||||||||||||||||||||||||||
C:\Users\Cyril\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets |
||||||||||||||||||||||||||||||
Lancer le Bureau à distance en mode console | ||||||||||||||||||||||||||||||
mstsc -v:C0348-007 /F |
||||||||||||||||||||||||||||||
Réseaux: |
||||||||||||||||||||||||||||||
Nettoyage de config Réseau | ||||||||||||||||||||||||||||||
net stop dns ipconfig /release ipconfig /flushdns nbtstat -R ipconfig /registerdns ipconfig /renew net start dns netsh int set int name="lan" admin=disabled netsh int set int name="lan" admin=enabled |
||||||||||||||||||||||||||||||
Déployer TeamViewer par GPO | ||||||||||||||||||||||||||||||
msiexec.exe /i "\\192.168.16.3\GPOcystm$\TVHost15.1.3937_CYSTM.msi" /qn CUSTOMCONFIGID=58ub2b4 APITOKEN=7649089-J14JyviRYHZTkrhvUdlG ASSIGNMENTOPTIONS="--grant-easy-access --group AECR" |
||||||||||||||||||||||||||||||
Lien de téléchargement des OS clients OEM | ||||||||||||||||||||||||||||||
https://www.microsoft.com/fr-fr/software-download/windows7 https://www.microsoft.com/fr-fr/software-download/windows10 |
||||||||||||||||||||||||||||||
PowerShell Exchange: |
||||||||||||||||||||||||||||||
Pack Office: |
||||||||||||||||||||||||||||||
NETLOGON: |
||||||||||||||||||||||||||||||
NDV - Script Eleves.cmd | ||||||||||||||||||||||||||||||
echo off beak off cls Robocopy /E /mir "\\172.16.0.18\applications$" "%USERPROFILE%\Desktop\Applications" REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t Reg_Dword /d 1 /f REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t Reg_SZ /d 172.16.0.1:3128 /f REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /t Reg_SZ /d www.google.fr /f REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop /t Reg_SZ /d %USERPROFILE%\Desktop /f REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Desktop /t Reg_SZ /d %USERPROFILE%\Desktop /f SET SRVDATA=172.16.0.18 SET SRVAPP=172.16.0.10 @ net use T: /d /y @ net use w: /d /y @ net use w: \\%SRVAPP%\win_apps goto %USERNAME% REM ########## 1ere1 ########## :ADIGERY :AYMARD :BECHARD :CASSE :COUSIN :DRIJARD :FAURE :FRANÇOIS :GAUTHIER :GAUVERIT :GIRAUD1 :GRANGE :GULLON :HAMITOUCHE :JIMENEZ :LANTERI :LORENZON :LUDWIG :MALLARD :MATTA :MICOL :MOMBRUN :MOREL :NEGNY :PIERROT :PIVOT :RIOU :ROCHETTE :SAADE :SABON :SCHNEIDER1 :YAN set class=1ere1 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## 1ere2 ########## :AFONSO :ALLAGNAT :BERGERE :BOUCHET :BRECHET :CARANANA :CRESCIONE :DELAVEAUD :DELORE :DENEEF :DENEEF1 :DURAND :LIBRIZZI :MARGARON :MAURICE :MERCIER :MITHIEUX :PIERROT1 :PIETTE :PLANTIER :RAVATIN :SCHWARTZ :SCHWARTZ1 :THEMEZE :TIRARD :TORTEROLO :TREVISANUT :WENDLING set class=1ere2 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## 1ere3 ########## :AMIRAULT :ANGOT :ARLAUD :BENHAMOU :BERTRUME :BONAIME1 :BOUTROS :CAUMETTE :CHOLLAT-NAMY :CIZERON :COURCON1 :DUBOUIL :DURAND1 :FERRIER :FOROT :FRANCON1 :GIRAUD-DEMIRLEAU :LANGON :LEDUC :LORMELET :LORQUIN :MAIZI :MICHEL :PATRIA :PEYREMORTE :RICKARD :TABOUROT :THIRION :WILLEMIN :WISTUBA set class=1ere3 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## 1ere4 ########## :BASSAC :BOEHM :BOULAY :BOYER :CASTRO :CHAPPEL :COTTET-PUINEL :DEBRA :DESMARETS :DUSSAUGE :EKOBO :FIOTMORNAND :GARCIN :LAURE :LHUILIER :MERLESANZ :MERLESANZ1 :MOREAU :PEYRACHE :PIERROT2 :PIETRI :RASPAUD :ROUSSILHES :SARRA :SERWINSKI :SEYMARC :SOOS :TARDU :TRONQUIT :VOLLARD set class=1ere4 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## 1st2s1 ########## :BAGUET :BLONDIN :CELIK :CHARPENAY :COUILLAUD :ESCLANGUIN :FLACHER :LEBLANC :LUCAS1 :MEBARKI :MICHELDITLABOELLE :PICARD :ROCHE :ROUVIERE :TAILLEFER :TAILLEFER2 :TAMBE :THIEBLEMONT set class=1st2s1 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## 1st2s2 ########## :BAER :BARTHOMEUF :CABOT :DIENNET :FAVEREAU :GIROD :GIRY :GMEINER :GUILLERAULT :KAUFFMANN :KUMPF :MARZOUGUI :MORASSUTTI :PAYET :RENARD :SABADELJAMET :VIGARIOS :YVARS set class=1st2s2 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## 1stmg ########## :BELHOUIDEG :BELLE :COLLOMB :DEJONG :DIENNET2 :DORIZON :ELIA :EXCOFFON :FLEURY :GABRIEL :GOUVERNEYRE :GOY :HEGO :JACOLIN :JUGE :LIANDRAT :MARZEC :MATHON :MITHIEUX1 :MUFFATO :OLMOS :PERRIN1 :PEYRACHE1 :PIRAUD :ZANCHETTA set class=1stmg @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G21 ########## :BARDIN :BARLAGNE :BASTIDE :BERGER :BOUCHUT :CHESTA-CARTY :COLLET :DEMAREZ :DURAND2 :GUIER :HUGONNETDUSERT :LABET :LACOUR :LIMOUSIN :MASSAMBI :MICHALLET :MICHELDITLABOELLE1 :PAGE :ROPRAZ :THEVENET set class=G21 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G22 ########## :BAPTISTAT :BETHENOD :CAETANO :COEUR :DELAUNOY :DESPRES :DIVITA :FELAHI :FERNANDES :FERREIRA :FOURRIER :GENUIST :GUINET :HAOUAS :JONVILLEMARTINEZ :LONGUEEPEE :MESSORI :MOREAUPINCHON :NANIA :NKAOUA :POIDATZ :RETEUX :SANDEVILLE :SORANZO :THOMAS1 :TIRARD-COLLET :VENZAL :VILMENBOURRY :WALDRUCHE set class=G22 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G23 ########## :BENSALEM :BIE :BONNEVILLE :BRAILLON :BRON :BRUNOX :CHATAIN :COQUARD :COSMIDES :COURTITARAT :DARMOIS :DELEMONTEZ :DESSENNE :FATH :FODOR :HESTIN :KLOBODANOVIC :LAGNEZ :LEGUAY :MARCHIANTI :MATHIANMURAT :MORENOMORENO :PUGNET :REPELLIN :SANOUILLER :THOMAS :VINCENT :VIOLET :ZRIDA set class=G23 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G24 ########## :BALCET :BARBIER :BLANCHARD :CAMPIGLIOLECLERCQ :CARILLO :CASTILLANVIRY :CHARVET :CHIROSSEL :COTTETPUINEL1 :DALLERY :DELMONACO :DERNIAUX :DEROOSE :DIDONATO :FIOTMORNAND2 :FORQUES :GARNIER :GRAVRAND :GUELY :HULIN :IMBERT :JOUBERTDESOUCHES :JUST :LEGROS :MARTIRE :MILANDOU :PEGUET :PIERREMONT :RASPAUD1 :ROUFFAUD :SANTACATALINA set class=G24 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G25 ########## :BOUDROT :BRUN :CANTOURNET :CARRIO :CHAIX :CLEMENTE :CROLLARD :DOURON :DUCRUIX :EYMARD :JAECK :JOUBERT :JOUIN :JUHEL :LENNE :LOCATELLI :MAGAT :MOURE2 :PLASSON :RAEV :RENARD2 :ROBERT :ROY :SABY :SILIGARIS :TINNES :TOUNSI :VIDAL :WEBB :ZEMZEMI set class=G25 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G26_A ########## :ACLOQUE :ALLAIZEAU :ARNAUD-DONNAY :BALDINO :BOIDO :BOUCHEZ :BUISSIER-GUIGUE :CHAARI :CHAVANT :CHUILON-CANTOURNET :COPPOLA :DJOUAD :DUVAL :FERNANDES :GOMIS :HAMITOUCHE :HERVE :KOCH :LAVILLE set class=G26_A @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G26_B ########## :LAYER :LEYENDECKER :LOCATELLI :LOCATELLI2 :MIGUET :PERRIN-DECLIPPELEIR :PLAYT :POIROT set class=G26_B @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## G26_C ########## :RAES1 :REY :ROUX-GNEMMI :SABOT :SAGE :TIVOLLIER :VIAL :VILLISEK set class=G26_C @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## T1L ########## :ASTIER :BALCET1 :BARNIER :BAZARD :BLEU :BORCOBELLO :BOUSSOUF :BOYADJIAN :BRUNET-MANQUAT :CHARREL :CHENEVAS-PAULE :COLLET1 :DELEUZIERE :DESSENNE1 :DUCRUIX1 :ELHAIKALI :ELSABBAGH :EYRAUD :FOURRIER1 :GALAMAND1 :GUELY1 :GUILLAUD :GUIOT :HUBAUT :HUGUET :JANECKI :LAMBERSEND :LARUE :LIBER :LOCATELLI1 :OLIVER :PINTOS :PRADEILHE :RETEUX1 :SAINT-SUPERY set class=T1L @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## T2S ########## :ARNOULD :BELLION-JOURDAN :BOBANT :BONZI :BOUHOUAYI :BOUVIER1 :CHAPAT :COUTURIER :DECONYNCK :DUMOULIN :GACHET :GUERRE-CHALEY :GUTTIN :HATCHIKIAN :HEITER :HERRY :JAECK1 :KUZBINSKI :LAURENT :LEBECHENNEC :LEBHAR :MARTINS :MOISSET :MORATA :MOREL1 :MOUGIN :MOURE1 :PALIARD :PARISI :PRIERE :ROUBAUD :SABON1 :VOITURIN1 :ZEIN set class=T2S @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## T3S ########## :BAUER :BERGER1 :BERTRAND :BONNETERRE :BRUN1 :CHARAT :CUENOT :DEBBOUZA :DEJOYE :DESPRES1 :DURAND3 :FONTANELLE :GACHET1 :GODERE :HAZANI :JAS :JOUIN1 :LE NADAN :LOPEZ-RUA :MESSINA :MILLET :MISSUE :MORALES :OLLIVIER :POULBOT :ROBIN :ROUX :SCHWARTZ2 :THOMASSON :TINNES1 :VANDENBOSSCHE :VIAL :VIOLET1 :WELFONDER :ZITI set class=T3S @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## TST2S1 ########## :BINAUD :BOUTEILLON :CARANANA1 :CHARVET1 :DICHIARA :DUTEL :ELIA1 :FERREIRA1 :FUZET :GAHERY :GERBOUD :GODEAU :HACHEICHIA :HEUSTACHE-MARMOUX :JAYET-LAVIOLETTE :LO-NOBILE :MARTINET :MATHON1 :PAVIER :PAWLAK :RABATEL1 :SALVI :SALVI1 :SAPET :SEIGLE-BUYAT :SILVIN :STOLL :VIAL1 :VIFOREL :ZICARI set class=TST2S1 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## TST2S2 ########## :ARUFE :ARZERI :BATKO :BATTAIL :BISCH :BLANC :BOEUF :BOULEY :CHATTI :DROUAULT :FABBRI :FOIREST :GUILLAUD-BATAILLE :HOCINE :HONNORE :JOLLIVET :LEFEBVRE :LEMAIRE :LIERMAIN :MANCINO :MEUNIER-CURTINET :MOREAU1 :PICOT :RABILLOUD :RAVETON :REBOUD :REY :VINAY set class=TST2S2 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## TSTMG ########## :ANGIBAUD :BALDINO :BAUCHAU :BAZUS :BEAUFORT :BELLE1 :BOISSIN :BOUTIN :BUTILLON :CARRONCABARET :DAVID :DECARLO :DEOLIVEIRALEAO :FALLA :FLANDRIN :GIRAUDDRAGON :GRIMM :GRIVET :GUDERZO :GUEBEY :LEBON :LETELLIER :PICARDO :PUGNET1 :REBOUD1 :SALVI3 :VIVIA set class=TSTMG @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles ##################################################################### REM ########## C31 ########## :AKOMATSRI :ALTHUSER :BERTRAND3 :BILLON :BISILLON :BISSAY :BONNETERRE2 :BUQUET-TAIN :CASTAINGS-OTTO :CHAUVAIN :COLAS :DERRADJI :EUPHRASIE :FALQUET :GAUDREAU1 :GIROD :MENDES :MILLAND :NAVARDIN :NGOUWA-ELANDO :PENISSON :PITARCH-GRANEL :POITEVIN :REMY :RENZY :RICHARD :SEON set class=C31 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C32 ########## :AGUD-GARDET :BLANC1 :BOUDROT1 :BOURHIS :BOUTHORS :CHOMAT :COUET :DEMANGE :DURAND5 :DURAND-GARDIAN :DURON :EYMERY :FERRER :FERRIOL :GARCIA :GONON-AGONI :GUILLOTIN :HASLER :MACHIN :MILLET1 :MUNARI :PARATORE :PEYRON :PROUVEE :RANA :ROMAIN :WEPIERRE set class=C32 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C33 ########## :ANNEQUIN :BARBIER1 :BARNES-DAVIN :BERNARD-SAVARY :BOWLER :BUSI :CHAPAY :COL :COUET1 :COURDAVAULTDUPRAT :COVILLERS :DIAS :FAILLY :GAGNAIRE :LAGARRIGUE :PEYRACHE2 :POIROUX :RIGOLT :SANCHEZ :SAUSA-CHAMARD :SAUVIGNET :SAVAJOL :SCELERS :THOMASSON1 :VANDENBOSCH :YVARS2 set class=C33 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C34 ########## :ADAM :AMIRAULT2 :BUHOT :CHICHA-DOUVIER :CORBO :DAVID2 :DURAND6 :EGEA :ELAOUFIR :GARCIA-BARON :GAUTHIER2 :GAYTAN :GONCALVES :GONCALVESVIEIRA :LEVEL :MARION :MIGUET :NOGUEIRA :PELLETIER2 :PERRICHON :ROUX2 :SALORT :SAUSA-CHAMARD2 :TARRAJAT :UGNONFLEURY : : set class=C34 : @ net use Z: /d /y : @ net use Z: \\%SRVDATA%\Eleves\%class% /y : cd Z: : MD %USERNAME% : @ net use T: \\%SRVDATA%\%class%$ /y : @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y : @ net use R: \\%SRVAPP%\_commun /y : goto CheckSalles : :REM ########## C41 ########## : :AKOMATSRI2 :ATAMNA :BARCELO :BASTIDE2 :BOUDABOUS :BOUSLOUGHA :BURDIN :CHENNA :CONSTANT :COUVERT :DAROCHA :DURAND7 :EKANGAEHAWA :FAYE :FERREIRA2 :FIEVET :FONTANELLE2 :GALLAUZIAUX2 :GALLAUZIAUX3 :GASDEBLAY :GRUAT-LAFORME :GRUWIER-DEBREILLY :GUILBAUD :HACHACHENIA :IBANEZ :KOUAKOU-HEUGUE :LACOUR3 :LEMOINE2 :MOIROUD :PRIMAVERA2 :TRONQUIT2 :TUTTOLOMONDO set class=C41 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C42 ########## :ANCION :BARDELLI :BARNIER2 :BELLIER :BEY :BOULET :BOUSSOUF2 :CAMPIONE :CHARVET2 :CHAUMERON :CHAZEL-DUMONTAUX :DUPARD :FIGUET :FILEPPI :FODOR2 :FORQUES2 :HADAD :MULOT :ROUX3 :SALICE :TORTEROLO2 :VALLINI :VANDENBOSSCHE2 :VEILLAT :ZIGNA-RAOELINA :ZILS :ZOUAOUI set class=C42 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C43 ########## :AGUDGARDET2 :AIDI :BONAIME2 :BOUVIER2 :COUCHET2 :DEGREZ-PETIT :DEROOSE2 :EGEA2 :ELHAIKALI :EYMARD2 :FIOTMORNAND :FOULON :GLORIES-PENCU :GUERIN :HERCE :LAMIDIEU :LECOMTE2 :MATHAIS :MERCIER2 :MONTALVO :MOREL2 :MUNZ :PEYREMORTE2 :RIBA :ROCHE2 :VIRGONE set class=C43 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C44 ########## :BARBE :CADDOUX :CHRISTIN-GRANDIN :COLAS2 :COSTACURTA :COTTAIS :DERNIAUX2 :DUAULT :DURRETGRAIN2 :EONO :GUILLARD-SANS :HERRY2 :JANECKI2 :LASSALLE :LEBEAU :LEDUC2 :LUCAS2 :MAUDET :MEZIANE :MOURIER :PERREAU :PERROD :ROUSSEL :SABALY-KASSE :TEROSIET :WILLEMIN2 set class=C44 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C51 ########## :ABBANI :ALTHUSER :BENLAMRI :BERRUYER :BILLES :BONNETERRE3 :BOUHOUT :BRUNET-MANQUAT :BUHOT :BUHOT :CANEPARO :CESTONARO :CHABOSEAU :CHARRIER :CHICHA-DOUVIER2 :DANGELI :DAVREUX :DELAFON :ENYEDI :FAYARD-BORRIONE :FODIL :GALLAUZIAUX2 :GISEL :KHELIFA :MARTINET :MEUNIER-CARUS :MISSONNIER :NGUYEN :PERSON :PHENGPHACHANH :RIVAL :SALVI4 :VAINQUEUR :VEYRON set class=C51 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C52 ########## :ABREU :AUDRAIN :BLANC2 :BLEU2 :BONNET :BOUCHON :CANICATTI :CHAARI :COURCON2 :CUCHET :DANY :DARMOIS2 :DEROO :DESISSAIRE :DJELLOULI :FERRER3 :GAHERY2 :GALAMAND2 :GALLIEN-GUEDY :GONTARD :JOBFOUILLAND :JUBE :LEMOINE3 :LIANDRAT2 :LOUVATPEREKOVIC :LURIN :MARION2 :PERPETUA :RANA :RAVANAT :SESTIER :TIRARD2 :UGNON-FLEURY :WONDREGITZ-NOWACKI set class=C52 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C53 ########## :ARUFE2 :BEAUDOUIN :BENABDELJELIL :BROCHU :CAZEAUX :CHASTEL :CHUILON :COLIN :DARRE2 :DEGIORGI :DUCLOT2 :DURRETGRAIN :EYSSAUTIER :FAURE3 :FILEPPI2 :FOURNERET :GABRIEL3 :GAUTHIER3 :GUILBOT :KEBKOUB :LEBRUN :MONANGE :MUNARI2 :PETIT :RAMI :STUCKEMANN :THOMAS3 :VAILLON :VANTORHOUDT2 :VICHERY :ZEIN2 set class=C53 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C61 ########## :AUBRON :BERTRAND2 :BIE2 :BISILLON3 :BOUCHARD :BOUHOUT2 :BOUVIER3 :BUFALINO :CAPRE-BORIES :COL2 :COLLES :CORNELIS1 :DAVID-ESSAGA :DELAFON2 :FORT :GEORGELIN :GISEL2 :GUICHARD :HATTON-GEHIN :JUST2 :LECOMTE-ONETTI :LUDWIG2 :MANCOSU :MARION3 :MARTIGONZALEZ :MATHIAN-MURAT :POUPON :RADISSON :ROSA-DI2 :THIEL set class=C61 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C62 ########## :ANDRO :ARGOD :BOTTIER-REYNIER :BOUCHET2 :BOUJRAD :BRON2 :BURNETBOMPARD :CAETANO2 :CAMPIGLIO-LECLERCQ :CARRE :DEGREZ-PETIT2 :DIALLO :DIANA :DUCREY :GLORIESPENCU :GONCALVESVIEIRA :GONCALVESVIEIRA2 :GROS-FLANDRE :HERCE2 :JACQUIER :LAMIDIEU2 :LANCELON :MARTINS2 :PISANO :PRIMARD :PROUVEE2 :TEROSIET2 :TOUATI :TSOUBA :VAILLON2 :WILLEMIN3 set class=C62 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles REM ########## C63 ########## :BARBIER2 :BLANPIED :BONNEVILLE3 :BOREL :BRIEL2 :CRESCIONE2 :DEVILLIERS :DUTOIT :FALQUE :FRAISSENON :GARIN :GIROUD-GARAMPON :GONON-AGONI2 :HADAD2 :HAZANI2 :JAMET :KRECKE :MACHIN2 :MANSOURI :MICHALAT :NGUYEN2 :PERROD2 :ROLFO :SABALYKASSE :SABON2 :SAUVIGNET2 :SOUVERVILLE-LEFRANC :TIELLES-GAIDO :TSOUBA2 :VEILLAT2 :VINCENT2 set class=C63 @ net use Z: /d /y @ net use Z: \\%SRVDATA%\Eleves\%class% /y cd Z: MD %USERNAME% @ net use T: \\%SRVDATA%\%class%$ /y @ net use U: \\%SRVDATA%\Eleves\%class%\%USERNAME% /y @ net use R: \\%SRVAPP%\_commun /y goto CheckSalles ##################################################################### ##################################################################### ##################################################################### :CheckSalles @ net use Z: /d /y @ net use O: /d /y @ net use P: /d /y goto %COMPUTERNAME% :NDV-101791-LB1 :NDV-101792-LB1 :NDV-101793-LB1 :NDV-101794-LB1 :NDV-101795-LB1 :NDV-101796-LB1 :NDV-101797-LB1 :NDV-101798-LB1 :NDV-101799-LB1 :NDV-101800-LB1 :NDV-101801-LB1 :NDV-101802-LB1 :NDV-101803-LB1 :NDV-101804-LB1 :NDV-101805-LB1 :NDV-101806-LB1 :NDV-101807-LB1 :NDV-101808-LB1 :NDV-101809-LB2 :NDV-101810-LB2 :NDV-101811-LB2 :NDV-101812-LB2 :NDV-101813-LB2 :NDV-101814-LB2 :NDV-101815-LB2 :NDV-101816-LB2 :NDV-101817-LB2 :NDV-101818-LB2 :NDV-101819-LB2 :NDV-101820-LB2 :NDV-101821-LB2 :NDV-101822-LB2 :NDV-101823-LB2 :NDV-101824-LB2 :NDV-101825-LB2 :NDV-101826-LB2 :NDV-101827-LB2 :NDV-101828-LB1 :NDV-101829-LB1 :SPC_01 :SPC_02 :SPC_03 :SPC_04 :SPC_05 :SPC_06 :SPC_07 :SPC_08 :SPC_09 :SPC_10 :SPC_11 :SPC_12 :SPC_13 :SPC_14 :SPC_15 :SPC_16 :SPC_17 :SPC_18 :SPC_19 :SPC_20 :SPC_21 :SPC_22 :SPC_23 :SPC_24 :SPC_25 :SPC_30 :SPC_31 :SPC_SPARE :SPC2_01 :SPC2_02 :SPC2_03 :SPC2_04 :SPC2_05 :SPC2_06 :SPC2_07 :SPC2_08 :SPC2_09 :SPC2_10 :SPC2_11 :SPC2_12 :SPC2_13 :SPC2_14 :SPC2_15 :SPC2_16 :SPC2_17 :SPC2_18 :SPC2_19 :SPC2_20 :SPC2_21 :SPC2_22 :SPC2_23 :SPC2_24 :SPC2_25 :SPC2_26 :SPC2_27 :SPC2_28 :SPC2_29 :SPC2_30 :SPC2_31 :SPC2_32 :SPC2_33 :SPC2_34 :SPC2_35 :SPC2_36 :SVT_01 :SVT_02 :SVT_03 :SVT_04 :SVT_05 :SVT_06 :SVT_07 :SVT_08 :SVT_09 :SVT_10 :SVT_11 :SVT_12 :SVT_13 :SVT_14 :SVT_15 :SVT_16 :SVT_17 :SVT_18 :SVT_19 :SVT_20 :SVT_21 :SVT_22 :SVT_23 :SVT_24 :SVT_25 :SVT_26 :SVT_27 :SVT_28 :SVT_29 :SVT_30 :SVT_31 :SVT_32 :SVT_33 :SVT_34 :SVT_36 :SVT_37 :SVT_38 :SVT_44 :SVT_45 :SVT2_01 :SVT2_02 :SVT2_03 :SVT2_04 :SVT2_05 :SVT2_06 :SVT2_07 :SVT2_08 :SVT2_09 :SVT2_10 :SVT2_11 :SVT2_12 :SVT2_13 :SVT2_14 :SVT2_15 :SVT2_16 :SVT2_17 :SVT2_18 :SVT2_19 :SVT2_20 :SVT2_21 :SVT2_22 :SVT2_23 :SVT2_24 :SVT2_25 :SVT2_26 :SVT2_27 :SVT2_28 :SVT2_29 :SVT2_30 :SVT2_31 :SVT2_32 :SVT2_33 :SVT2_34 :SVT2_35 :SVT2_36 :SVT2_37 :SVT2_38 :SVT2_39 :SVT2_40 :SVT2_41 :SVT2_42 :SVT2_43 :SVT2_44 :SVT2_45 :SVT2_46 :SVT2_47 :SVT2_48 :SVT2_49 :SVT2_50 :SVT2_51 :SVT2_52 :SVT2_53 :SVT2_54 :SVT2_55 :SVT2_56 :SVT2_57 :SVT2_58 :SVT2_SPARE02 :SVTTEST @ net use P: \\SERVRES\SVTELEV$ /y @ net use O: \\SERVRES\SPCELEV$ /y Robocopy /E /mir "\\172.16.0.18\DEPLOIEMENT_RACCOURCIS$\SPC admin" "%USERPROFILE%\Desktop\SPC admin" Robocopy /E /mir "\\172.16.0.18\DEPLOIEMENT_RACCOURCIS$\SVT admin" "%USERPROFILE%\Desktop\SVT admin" goto fin :exit :fin |
Développé par Cyril GUICHOU Avril 2020
Mise en page © 2008
Elephorm et
Alsacréations.
La plus grande force d'une équipe, c'est le partage des connaissances de chacun des membres!
CYST'M contribue chaque jour aux échanges entre ses salariés pour garantir une progression permanente du savoir dont nous ferons profiter nos clients.
Suivez-nous, vous ne le regretterez pas !