About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
Finished custom actions
»
Backup Computer with Disk2VHD to network share
Active Topics
Search
Join Now
Login
Notification
Error
OK
Backup Computer with Disk2VHD to network share
Posted:
Friday, March 15, 2019 1:55:52 PM(UTC)
TheChadWasGreat
Member
Original Poster
Posts: 1
1
Like
This requires psexec and disk2vhd
https://docs.microsoft.c...rnals/downloads/disk2vhd
https://docs.microsoft.c...ernals/downloads/pstools
Place psexec.exe and disk2vhd.exe in your {actionpath} share.
Code:
{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.
Code:
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
#1
pryan67
Member
Posts: 41
posted:
10/7/2019 3:36:05 PM(UTC)
This is actually an awesome action...
The downside is that you can only do this to disks smaller than 127 gig.
But still an excellent tool, thank you
User Profile
View All Posts by User
View helpful posts
Active Discussions
Number Of Application Hang Event ID 1002 Count , Null
by
HRS
Last post:
11/29/2019 9:42:49 PM(UTC)
Change Windows domain PC Name
by
DaveDischord
Last post:
11/27/2019 10:36:02 PM(UTC)
LsRemote.exe Background Image Removal
by
Martin Frey
Last post:
11/27/2019 11:40:23 AM(UTC)
List of Software Publisher´s
by
fuesselorg
Last post:
11/22/2019 5:11:42 PM(UTC)
Infopath installer help
by
Dave Ward
Last post:
11/12/2019 11:16:51 AM(UTC)
Remote Registry 2019
by
gareauk
Last post:
10/24/2019 7:33:06 PM(UTC)
Deploy
by
CyberCitizen
Last post:
10/10/2019 2:31:27 AM(UTC)
Backup Computer with Disk2VHD to network share
by
pryan67
Last post:
10/7/2019 3:36:05 PM(UTC)