Outils pour utilisateurs

Outils du site


sysadmin:windows:commandes-winre

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
sysadmin:windows:commandes-winre [2020/02/21 15:29] – créée yoannsysadmin:windows:commandes-winre [2021/09/08 13:13] (Version actuelle) yoann
Ligne 1: Ligne 1:
-{{tag>windows commande recovery winpe winre todo}}+{{tag>windows commande recovery repair winpe winre todo réparation}}
  
-====== WindowsRE: principales commandes ======+====== WindowsRE: Principales commandes ======
  
 +WindowsRE pour Windows Recovery Environment.
 Liste des principales commandes disponibles depuis l'environnement de restauration en ligne de commande WinRe. Liste des principales commandes disponibles depuis l'environnement de restauration en ligne de commande WinRe.
  
-Name +Name      WinPE WinRE Explanation/Notes                                                          | 
- WinPE +arp       | Yes   | Yes   The TCP/IP address resolution protocol maps between MAC and IP addresses   | 
- WinRE +assoc     | Yes   | Yes   | Manage associations between file extensions and file types/applications    | 
- Explanation/Notes +bcdedit   | Yes   | Yes   | Manipulate Windows Vista Boot Configuration Data store                     | 
-arp +bootcfg   | Yes   | No    Enables users to manage contents of the boot.ini file (Vista uses BCD but maps to boot.ini)           | 
- Yes +bootrec   | No    Yes   | WinRE’s premiere boot recovery tool (along with bootcfg)                   | 
- YesX +cd        Yes   | Yes   |  Change/list directory command                                             | 
- The TCP/IP address resolution protocol maps between MAC and IP addresses +chkdsk    Yes   | Yes   | Checks layout and structure of Windows disks, with some repair capability  | 
-assoc +chknfts   | Yes   | Yes   | Checks layout and structure of NTFS volumes at boot time                   | 
- Yes +cls       | Yes   | Yes   | Clears the command window                                                  | 
- Yes +color     | Yes   | Yes   | Lets users set foreground (text) and background color in the command window| 
- Manage associations between file extensions and file types/applications +copy      Yes   | Yes   | File copy command                                                          | 
-bcdedit +date      Yes   | Yes   | View or set today's date                                                   | 
- Yes +del       | Yes   | Yes   | File delete command                                                        | 
- Yes +dir       | Yes   | Yes   | List directory contents                                                    | 
- Manipulate Windows Vista Boot Configuration Data store +| [[sysadmin:windows:cli:diskpart|diskpart]] Yes   | Yes   | Create, modify, and manage disk partitions at the command line             | 
-bootcfg +doskey    Yes   | Yes   | Command line editing, recall, and macro definition tool                    | 
- Yes +echo      Yes   | Yes   | Repeats input text verbatim                                                | 
- No +endlocal  Yes   | Yes   | Ends localization of variables in a batch environment                      | 
- Enables users to manage contents of the boot.ini file (Vista uses BCD but maps to boot.ini) +erase     | Yes   | Yes   | Deletes one or more files                                                  | 
-bootrec +exit      Yes   | Yes   | Closes command window environment                                          | 
- No +find      Yes   | Yes   | Search for input text string in one or more target files                   | 
- Yes +format    Yes   | Yes   | Format hard disk, UFD, or floppy disk                                      | 
- WinRE’s premiere boot recovery tool (along with bootcfg) +ftp       | Yes   | Yes   Invoke command line File Transfer Protocol client services                 | 
-cd +ftype     | Yes   | Yes   | Use to display filetypes or to manipulate files by type                    | 
- Yes +ipconfig  Yes   | Yes   Display or manage Windows TCP/IP configuration                             | 
- Yes +md        Yes   | Yes   | Make new directory (same as mkdir which is not listed here but works)      | 
- Change/list directory command +more      Yes   | Yes   | Manages screen output in screen-size chunks                                | 
-chkdsk +mountvol  Yes   | Yes   | List, create, or delete a volume mount point                               | 
- Yes +move      Yes   | Yes   | Move files, renames files and directories                                  | 
- Yes +net       | Yes   | Yes   A whole family of network service and function controls                    | 
- Checks layout and structure of Windows disks, with some repair capability +netsh     | Yes   | Yes   Another whole family of network service and function controls              | 
-chknfts +nbtstat   | Yes   | Yes   Display statistics related to NetBIOS over TCP/IP traffic on the network   | 
- Yes +netstat   | Yes   | Yes   Display general TCP and UDP connections, port assignments, and activities  | 
- Yes +path      Yes   | Yes   | Show or manipulate contents of the Windows path variable                   | 
- Checks layout and structure of NTFS volumes at boot time +pathping  Yes   | Yes   | Send an orderly sequence of PING commands to all nodes on a network path   | 
-cls +ping      Yes   | Yes   | Send an ICMP echo request to some target address to assess reachability and response time | 
- Yes +popd      Yes   | Yes   | Changes to directory specified in the pushd command (command extensions must be enabled)| 
- Yes +print     | Yes   | Yes   | Provides access to print services from the command line                    | 
- Clears the command window +prompt    Yes   | Yes   | Changes command prompt shown in the command window to solicit input (command extensions must be enabled) | 
-color +pushd     | Yes   | Yes   | store desired directory target for popd (command extensions must be enabled)| 
- Yes +recover   | Yes   | Yes   | recover readable data from a damaged or defective disk drive               | 
- Yes +reg       | Yes   | Yes   | command line registry editing/inspection tool                              | 
- Lets users set foreground (text) and background color in the command window +regedit   | Yes   | Yes   | Both WinRE and WinPE will open the built-in Windows Registry Editor        | 
-copy +regsvr32  Yes   | Yes   | use to register or unregister OLE and ActiveX controls, important for troubleshooting| 
- Yes +rem       | Yes   | Yes   | inserts a text comment into a batch or script file                         | 
- Yes +ren       | Yes   | Yes   | same as rename; use to rename files or directories                         | 
- File copy command +replace   | Yes   | Yes   | replace one or more files in a source directory from a target directory    | 
-date +rmdir     | Yes   | Yes   | delete directory (also rd)                                                 | 
- Yes +robocopy  Yes   | Yes   | robust file copy for Windows offers wide range of copy controls/checks     | 
- Yes +route     | Yes   | Yes   inspect and manage the contents of TCP/IP static routing table             | 
- View or set today's date +rundll32  Yes   | Yes   | manages relationships between DLLs and devices on a PC; important troubleshooting tool | 
-del +set       | Yes   | Yes   | inspect, add, alter, or delete global environment variables                | 
- Yes +setlocal  Yes   | Yes   | inspect, add, alter, or delete local environment variables                 | 
- Yes +| [[sysadmin:windows:cli:sfc|sfc]] | Yes   | No    system file checker; use with /verifyonly to check Windows OS files        | 
- File delete command +start     | Yes   | Yes   | opens a separate window to run a program or command                        | 
-dir +subst     | Yes   | Yes   | use to associate a path with a virtual drive letter                        | 
- Yes +time      Yes   | Yes   | view or set current time                                                   | 
- Yes +title     | Yes   | Yes   | sets title for command window                                              | 
- List directory contents +tracert   | Yes   | Yes   traces all routers between sending and target Internet hosts               | 
-diskpart +| [[sysadmin:windows:cli:type | type]]      | Yes   | Yes   | Afficher le contenu d'un fichier texte dans la console.                    | 
- Yes +ver       | Yes   | Yes   | displays Windows version in use (6.0.6001 for Vista SP1)                   | 
- Yes +verify    Yes   | Yes   | verifies accuracy of file copies upon completion                           | 
- Create, modify, and manage disk partitions at the command line +vol       | Yes   | Yes   | display or alter disk/volume name                                          | 
-doskey +xcopy     | Yes   | Yes   | tool for copying multiple files and entire directory structures            |
- Yes +
- Yes +
- Command line editing, recall, and macro definition tool +
-echo +
- Yes +
- Yes +
- Repeats input text verbatim +
-endlocal +
- Yes +
- Yes +
- Ends localization of variables in a batch environment +
-erase +
- Yes +
- Yes +
- Deletes one or more files +
-exit +
- Yes +
- Yes +
- Closes command window environment (reboots WinPE, closes WinRE command window) +
-find +
- Yes +
- Yes +
- Search for input text string in one or more target files +
-format +
- Yes +
- Yes +
- Format hard disk, UFD, or floppy disk +
-ftp +
- Yes +
- YesX +
- Invoke command line File Transfer Protocol client services +
-ftype +
- Yes +
- Yes +
- Use to display filetypes or to manipulate files by type +
-ipconfig +
- Yes +
- YesX +
- Display or manage Windows TCP/IP configuration +
-md +
- Yes +
- Yes +
- Make new directory (same as mkdir which is not listed here but works) +
-more +
- Yes +
- Yes +
- Manages screen output in screen-size chunks +
-mountvol +
- Yes +
- Yes +
- List, create, or delete a volume mount point +
-move +
- Yes +
- Yes +
- Move files, renames files and directories +
-net +
- Yes +
- YesX +
- A whole family of network service and function controls +
-netsh +
- Yes +
- YesX +
- Another whole family of network service and function controls +
-nbtstat +
- Yes +
- YesX +
- Display statistics related to NetBIOS over TCP/IP traffic on the network +
-netstat +
- Yes +
- YesX +
- Display general TCP and UDP connections, port assignments, and activities +
-path +
- Yes +
- Yes +
- Show or manipulate contents of the Windows path variable +
-pathping +
- Yes +
- Yes +
- Send an orderly sequence of PING commands to all nodes on a network path +
-ping +
- Yes +
- Yes +
- Send an ICMP echo request to some target address to assess reachability and response time +
-popd +
- Yes +
- Yes +
- Changes to directory specified in the pushd command (command extensions must be enabled) +
-print +
- Yes +
- Yes +
- Provides access to print services from the command line +
-prompt +
- Yes +
- Yes +
- Changes command prompt shown in the command window to solicit input (command extensions must be enabled) +
-pushd +
- Yes +
- Yes +
- store desired directory target for popd (command extensions must be enabled) +
-recover +
- Yes +
- Yes +
- recover readable data from a damaged or defective disk drive +
-reg +
- Yes +
- Yes +
- command line registry editing/inspection tool +
-regedit +
- Yes +
- Yes +
- Both WinRE and WinPE will open the built-in Windows Registry Editor +
-regsvr32 +
- Yes +
- Yes +
- use to register or unregister OLE and ActiveX controls, important for troubleshooting +
-rem +
- Yes +
- Yes +
- inserts a text comment into a batch or script file +
-ren +
- Yes +
- Yes +
- same as rename; use to rename files or directories +
-replace +
- Yes +
- Yes +
- replace one or more files in a source directory from a target directory +
-rmdir +
- Yes +
- Yes +
- delete directory (also rd) +
-robocopy +
- Yes +
- Yes +
- robust file copy for Windows offers wide range of copy controls/checks +
-route +
- Yes +
- YesX +
- inspect and manage the contents of TCP/IP static routing table +
-rundll32 +
- Yes +
- Yes +
- manages relationships between DLLs and devices on a PC; important troubleshooting tool +
-set +
- Yes +
- Yes +
- inspect, add, alter, or delete global environment variables +
-setlocal +
- Yes +
- Yes +
- inspect, add, alter, or delete local environment variables +
-sfc +
- Yes +
- No +
- system file checker; use with /verifyonly to check Windows OS files +
-start +
- Yes +
- Yes +
- opens a separate window to run a program or command +
-subst +
- Yes +
- Yes +
- use to associate a path with a virtual drive letter +
-time +
- Yes +
- Yes +
- view or set current time +
-title +
- Yes +
- Yes +
- sets title for command window +
-tracert +
- Yes +
- YesX +
- traces all routers between sending and target Internet hosts +
-type +
- Yes +
- Yes +
- writes contents of target file to command window display +
-ver +
- Yes +
- Yes +
- displays Windows version in use (6.0.6001 for Vista SP1) +
-verify +
- Yes +
- Yes +
- verifies accuracy of file copies upon completion +
-vol +
- Yes +
- Yes +
- display or alter disk/volume name +
-xcopy +
- Yes +
- Yes +
- tool for copying multiple files and entire directory structures+
  
 ===== Références ===== ===== Références =====
  
   * https://www.tomsguide.com/us/winpe-winre-bootable,review-1191-7.html   * https://www.tomsguide.com/us/winpe-winre-bootable,review-1191-7.html
sysadmin/windows/commandes-winre.1582298987.txt.gz · Dernière modification : 2021/02/01 21:51 (modification externe)