Disable USB Pendrive/HDD in ur Computer for security, it’s more effective if you have cybercafe, u can easily able to block USB access, and prevent file copy, and protect your computer from virus. Actually one of my friend have a cybercafe, he request me to make something which can disable USB Pen drive access from all of his client PC,
Category: Tutorials
This is the place for all the in-house tutorials and developments.
OS Dependent Logoff/Logon Script run via GPO
Use following VBS script Startup or Shutdown script. vb Option Explicit Dim objItem, colItems, objWMIService, strComputer, objShell strComputer = “.” Set objShell = CreateObject(“WScript.Shell”) Set objWMIService = GetObject(“winmgmts:\” & strComputer & “rootcimv2”) Set colItems = objWMIService.ExecQuery(“Select * from Win32_OperatingSystem”,,48) For Each objItem in colItems If InStr(objItem.Caption,”2000″) Then ‘Add your line here for 2000 objShell.Run “regedit”, 1, True End If If

