By David Wiseman (Administrator)Created 29 Jan 2006
My Rating:
Vote
Rating:
Not Rated
Views:2229
Downloads:26

Read Remote Control Settings

Language:  VBScript

Compatibility

Windows XP Unknown Windows 2003 Yes
Windows 2000 Unknown Windows NT Unknown
Vista Unknown Windows 2008 Unknown
Description

Code

Line Numbers: On  Off      Plain Text
Dim objUser
'<<<< Bind to the user object using the distinguished name >>>>
set objUser = getobject("LDAP://cn=test.3,cn=users,dc=wisesoft,dc=co,dc=uk")

'<<<< Read >>>>
 
select case objuser.EnableRemoteControl
	case 0
		wscript.echo "Enable remote control: Disabled"
	case 1
		wscript.echo "Enable remote control: Enabled" & vbcrlf & _
		     	"Require user's permission: Enabled" & vbcrlf & _
			"Level of control: Interact with the session"
	case 2
		wscript.echo "Enable remote control: Enabled" & vbcrlf & _
		     	"Require user's permission: Disabled" & vbcrlf & _
			"Level of control: Interact with the session"
	case 3
		wscript.echo "Enable remote control: Enabled" & vbcrlf & _
		     	"Require user's permission: Enabled" & vbcrlf & _
			"Level of control: View the user's session"
	case 4
		wscript.echo "Enable remote control: Enabled" & vbcrlf & _
		     	"Require user's permission: Disabled" & vbcrlf & _
			"Level of control: View the user's session"

end select

 


Got a useful script? Click here to upload!


 

  Post Comment
Order By:  
User Comments
      

Posted On: 9/23/2019 9:13:13 AM

The specific events I have ever seen and making the great objectives and involves the essential topics. Thanks to dissertation writing help uk site for great essay methods and college dissertation thoughts as well,thanks.

christinejohn
Posted On: 10/8/2019 8:05:36 AM [Edited 10/8/2019 8:05:53 AM]

The exact events I have ever realized and creation the excellent purposes and involves the essential subjects. I also income it for my web online dissertation service that always give brilliant information.

amyabbott090
Posted On: 11/15/2019 5:36:17 AM

This task has been a triumph because of its kin. Not simply those coming to encounter the fascination and in this way improve the nearby economy, yet similarly as significant are those living and working in the territory. Without the network support, the uncommon kites may never have been acknowledged nor allowed to breed and spread. Online Dissertation Writing Service

MichealRobert
Posted On: 11/16/2019 10:25:14 AM

I recently have gotten help by getting critical essay writing service in one of my projects. And by reading above the query I think it might be helpful for you to get help from the researchers I have gotten help. I am sure they will help you out too.

jabirsheikh
Posted On: 12/3/2019 10:32:49 AM

Best resume online services all available now at cheap prices, don't waste your time and visit the website now and avail the offer.

gabrielwelch190
Posted On: 2/4/2020 6:54:43 AM

Quiet is great for ending the genuine quietness throughout everyday life, Best task help consistently makes that sort of archives and we have arrived at that kind of nature which we empower in ourselves. You have characterized right now route with the standards of life. Online Content Writing Services

finn
Posted On: 2/6/2020 11:04:19 AM


lailasheikh
Posted On: 3/16/2020 8:54:42 AM

It reminded me of my university days when I was a computer science student, and I was stuck in my Final Year Project(FYP) Report writing then I contact to take help from Online Thesis Writers in Lahore and then finally I got high marks in the FYP report writing.

gabrielwelch190
Posted On: 6/9/2020 10:27:46 AM

Superior Essays offers #1 Best Essay Writing Services UK with highly qualified Essay Writers. Get Essay Help UK with in your budget!