You can use the following methods:
- Connecting to Remote Registry Service
- Using a script
The first method is easy but includes a lot of efforts. You can navigate to the following location in registry after connecting to remote registry:
The above registry key includes the list of shared folders in right pane.
To check on a Remote Computer:
You can use the below script to check the list of shared folders on a remote computer:
Echo Computer Name, Shared Folders Lists >> Result.csv
For /F “Tokens=*” %%a In (%srvlist%) Do (
REG.exe Query %RegQry% > CheckCC.txt
FOR /f “Skip=4 Tokens=1” %%b in (CheckCC.txt) DO (
Echo %Share_name% >> Result.csv
The above script will check remote computer for each registry entry in the right pane fto check the share name and the results will be saved in a CSV format file.
आलेख ID: 556023 - पिछली समीक्षा: 14/02/2017 - संशोधन: 1