Techno Chat|Tech Blog!! Chat with style.. :P

6Oct/081

Tiny USB Pendrive/HDD Blocker UBlock v0.3

Posted by Saugata

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, so, i did make this.. Hope this might helpful to you all..

Download Link:

252 views
1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 4.83 out of 5)
Loading ... Loading ...
6Oct/081

OS Dependent Logoff/Logon Script run via GPO

Posted by Saugata

Use following VBS script Startup or Shutdown script.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Option Explicit
Dim objItem, colItems, objWMIService, strComputer, objShell
strComputer = "."
Set objShell = CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
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 InStr(LCase(objItem.Caption),Lcase("XP")) Then
                                'Add your command line here for 2000
                                objShell.Run "calc", 1, True
                End If
		If InStr(LCase(objItem.Caption),Lcase("2003")) Then
                                'Add your command line here for 2000
                                objShell.Run "notepad", 1, True
                End If
Next


with above script, on Windows 2000 it will execute regedit.exe, on Windows XP it will execute calc.exe, and on Windows 2003 it will execute notepad.exe.

You can change the file as you wish..

209 views
1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 4.71 out of 5)
Loading ... Loading ...