
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2018
11:22 AM
- last edited on
‎06-30-2023
03:34 PM
by
ErikT
This is a short deployment package to deploy a .reg file containing one or multiple registry keys and rescan the asset after deployment.
Please note that you will have to generate this .reg file yourself first and place it in the {packageshare}\Registry folder. Should you have your .reg file in a different folder of the packageshare, you can modify the path in step 1.
Additionally, in this package they file is named Key.reg. Should your .reg file be name differently, you will have to modify step 1 to reflect this.
- Labels:
-
Share(d) Packages

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2022 06:06 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2021 06:38 AM
net use * /d /y
if manual it is working but via lansweeper type : command , it is not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2021 12:06 PM
i have my .reg file inside C:\Program Files (x86)\Lansweeper\PackageShare\Installers in my server
delnetworkdrives.reg
******
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Network]
******
and type: command
regedit.exe /S {packageshare}\Installers\delnetworkdrives.reg
Installer logs shows
Result: Deployment ended: The operation completed successfully. Stop(Success).
but drives still exist
If i manually execute the .reg its working properly

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2021 05:08 PM
Rmon wrote:
i tried to follow this step
i have my .reg file inside C:\Program Files (x86)\Lansweeper\PackageShare\Installers in my server
delnetworkdrives.reg
******
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Network]
******
and type: command
regedit.exe /S {packageshare}\Installers\delnetworkdrives.reg
Installer logs shows
Result: Deployment ended: The operation completed successfully. Stop(Success).
but drives still exist
If i manually execute the .reg its working properly
Never trust the logs, sometimes, they say my deploiment failed but actually worked fine, can't you do it using a .ps1 file or batch instead of .reg? (I mean, take a test to draw new conclusions), maybe it's lansweeper thing... cheers and good luck.
