Windows Server RAS Role Audit
Operating SystemList Machines with the RAS Server Role
Discover Windows devices in your IT environment that have the Remote Access Server (RAS) role installed on them and get an overview of all your servers that have the role installed. When Lansweeper scans a Windows machine, the installed features are also retrieved. By using the sorting options, you sort each column to find specific devices or use the filtering options.RAS Server Role Lansweeper Classic Query
Select Top 1000000 tblAssets.AssetID, tblAssets.AssetName, tblAssets.Domain, tblAssets.Username, tblAssets.Userdomain, Coalesce(tsysOS.Image, tsysAssetTypes.AssetTypeIcon10) As icon, tblAssets.IPAddress, tsysIPLocations.IPLocation, tblAssetCustom.Manufacturer, tblAssetCustom.Model, tsysOS.OSname As OS, tblAssets.Version, tblFeatureUni.featureName As FeatureName, tblFeatureUni.featureCaption As FeatureCaption, Case When tblErrors.ErrorText Is Not Null Or tblErrors.ErrorText != '' Then 'Scanning Error: ' + tsysasseterrortypes.ErrorMsg Else '' End As ScanningErrors, tblAssets.Lastseen, tblAssets.Lasttried From tblAssets Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype Inner Join tsysIPLocations On tsysIPLocations.LocationID = tblAssets.LocationID Inner Join tblState On tblState.State = tblAssetCustom.State Inner Join tblFeature On tblAssets.AssetID = tblFeature.AssetId Inner Join tblFeatureUni On tblFeatureUni.featUniID = tblFeature.featUniId Left Join tsysOS On tsysOS.OScode = tblAssets.OScode Left Join (Select Distinct Top 1000000 tblErrors.AssetID As ID, Max(tblErrors.Teller) As ErrorID From tblErrors Group By tblErrors.AssetID) As ScanningError On tblAssets.AssetID = ScanningError.ID Left Join tblErrors On ScanningError.ErrorID = tblErrors.Teller Left Join tsysasseterrortypes On tsysasseterrortypes.Errortype = tblErrors.ErrorType Where tblState.Statename = 'Active' and featureName = 'RemoteAccessServer' Order By tblAssets.Domain, tblAssets.AssetName