Saturday, September 26, 2009

Chat in secret

Tutorial for sending message through command prompt without downloading any kind of tool.This is how it works......

If you want a private chat with a friend or client on your Network, you don't need to download any fancy program!
All you need is your friends IP address and Command Prompt.

Firstly, open Notepad and enter:

@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A

Now save this as "Messenger.bat". Open the .bat file and in Command Prompt you should see:

MESSENGER
User:

After "User" type the IP address of the computer you want to contact.
After this, you should see this:

Message:

Now type in the message you wish to send.
Before you press "Enter" it should look like this:

MESSENGER
User: ***.***.***.***
Message: Hi

Now all you need to do is press "Enter", and start chatting

Disabling USB drives/Storage

This article will provide two topics in locking your USB, while still allowing the use of USB peripherals such as keyboard, mouse, printer or scanner. This can be use in preventing users from copying data from the computer or preventing them in plugging usb storage devices such as flash disk and usb hardisk.



Note: This article can be applied to Windows Vista and Windows Xp Service Pack 2.

Disable Writing to USB Drives in Windows Vista/Xp
1. Open the Notepad, copy and paste the settings below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000001


2. Open the File menu->Save As and Select "All Files (*.*)" from Save as type options. Input any file name with ".reg" extension, example "DisableWrite2USB.reg"

3. To Disable, just double click the file, click "Continue", if UAC is enabled and choose "Yes" for the confirmation.

To enable writing to usb storage, change first the value to zero and repeat the procedure above.

"WriteProtect"=dword:00000000

Disable plugging of USB storage such as flash drives/USB hardisks in Windows Vista/Xp

1. Open the Notepad, copy and paste the settings below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000004


2. Open the File menu->Save As and Select "All Files (*.*)" from Save as type options. Input any file name with ".reg" extension, example "DisableUSB.reg"

3. To Disable, just double click the file, click "Continue", if UAC is enabled and choose "Yes" for the confirmation.

To enable usb storage, change first the value to 3 and repeat the procedure above.

"Start"=dword:00000003

Note: Don't forget to restart your computer afterwards