
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2015 05:56 PM
I needed to restart a service on a computer today. I went into Lansweeper > Computer > Config > Windows > Services and was looking for the name of the service and noticed only the display name is listed. Can you add the actual service name to this as well? Thanks.
Labels:
- Labels:
-
Product Feedback
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2015 05:03 PM
Hey keys_it--thanks for this! I had thought about adding a PowerShell action but just never got around to it. I might just go this route for now.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2015 10:37 PM
I know this is not using Lansweeper directly but you can utilize PowerShell to your advantage if you are on Domain and Firewall is not an issue on your internal network but you can use the following commands in a PowerShell console:
To find running services -
To restart the service remotely -
To make accessing PowerShell easier for my guys, I have added a custom action to open PowerShell from the Asset Pages (see attachement). You can do this by going to Asset Pages under Configuration and adding the following action:
Description: Open PowerShell
Action: Powershell.exe
Icon: <choose one>
Sortorder: <chose one>
Hope this helps.
To find running services -
Get-Service -ComputerName <remote computer name> | sort Status
To restart the service remotely -
Get-Service -ComputerName <remote computer name> -Name <service name column from results> | Restart-Service
To make accessing PowerShell easier for my guys, I have added a custom action to open PowerShell from the Asset Pages (see attachement). You can do this by going to Asset Pages under Configuration and adding the following action:
Description: Open PowerShell
Action: Powershell.exe
Icon: <choose one>
Sortorder: <chose one>
Hope this helps.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2015 07:16 PM
The report doesn't work for me. When a user calls in, I usually just search for their computer and remote in from there. I like being able to see everything from that page. Having to generate a report would be a little tedious. Thanks though.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2015 06:42 PM
The service name is not currently being displayed on the web console, but you can get it by creating a report. The following report lists details about services.
We might add the service name to the web console later.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblServicesUni.Caption As Service,
tblServicesUni.Name,
tblServicesUni.Startname,
tblServices.Started,
tblServiceStartMode.StartMode,
tblServicesUni.Pathname
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblServices On tblAssets.AssetID = tblServices.AssetID
Inner Join tblServicesUni On tblServicesUni.ServiceuniqueID =
tblServices.ServiceuniqueID
Left Join tblServiceStartMode On tblServiceStartMode.StartID =
tblServices.StartID And tblServiceStartMode.StartID = tblServices.StartID
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName,
Service
We might add the service name to the web console later.
