
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2019 01:55 PM - last edited on ‎04-01-2024 04:36 PM by Mercedes_O
This requires psexec and disk2vhd
- https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd
- https://docs.microsoft.com/en-us/sysinternals/downloads/pstools
Place psexec.exe and disk2vhd.exe in your {actionpath} share.
{actionpath}psexec \\{computer} {actionpath}backup.cmd
A domain user account is used to map drives, no other permissions are needed on the domain. Secure that however you see fit for your environment but keep in mind the password is stored in clear text and by default everyone has read permissions to the {actionpath} share.
Create backup.cmd with the below code and place it in the {actionpath} share.
net use x: \\IMAGESERVER\share PASSWORD /user:DOMAINNAME\ACCOUNT
net use y: \\LANSWEEPER\lansweeper$ PASSWORD /user:DOMAINNAME\ACCOUNT
y:\disk2vhd.exe * x:\{computer}.vhdx -accepteula
pause
net use * /delete /y
- Labels:
-
API & Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2019 04:36 PM
The downside is that you can only do this to disks smaller than 127 gig.
But still an excellent tool, thank you
