immense / Remotely

A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
GNU General Public License v3.0
4.39k stars 1.61k forks source link

Reinstall agent after reinstall system create new device #714

Open AMotaPT opened 1 year ago

AMotaPT commented 1 year ago

Hi, what an amazing project.

I have a request if possible to add in the next update.

Sometimes computers need an operating system reinstallation, but when I reinstall the agent on the new system it creates a new device in the admin console, I need to remove the old one, otherwise the offline device keeps on the devices and accumulates devices that will no longer connect because the operating system has been reinstalled. If we have a big network, it's not easy to manage the "new" devices and remove the "old" devices.

Can the agent use the MBoard serial number, and/or disk serial number, to detect if the device already exists and reuse the same ID?

I hope my explanation was clear enough.

Best Regards

anbuzz commented 10 months ago

Remotely_Installer.exe -install -quiet -supportshortcut -organizationid "0b3d706b-9c5d-41e6-8ae9-5720d16324e6" -serverurl "https://remotely.mytechshop.com" -devicegroup "Customer Group 1" -devicealias "Front Desk" -deviceuuid "eebb4d87-5459-4976-989e-a7876dffc69c" You may want to consider a fixed deviceuuid for each machine first.

AMotaPT commented 10 months ago

@anbuzz Thank you very much for your answer

However, this way I need to manually access the server to see the deviceuuid, I would like there to be a way of automatic installation, for example a script that communicates with the server to find the "old" deviceuuid of the machine, but this is only possible if Remotely reads some hardware information when create the deviceuuid on the server, so can use the same hardware information to find it on the server if it has been installed before.