Disabling print screen using vbscript

Copy and paste the below code in notepad, =========================================================== ‘Disable Print Screen Function const HKEY_LOCAL_MACHINE = &H80000002 strKeyPath = “SYSTEM\CurrentControlSet\Control\Keyboard Layout” strComputer = “.” BinaryValueName = “Scancode Map” iValues = Array(&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H03,&H00,&H00,&H00,&H00,&H00,&H37,&He0,&H00,&H00,&H54,&H00,&H00,&H00,&H00,&H00) Set oReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & strComputer & “\root\default:StdRegProv”) ps=oReg.SetBinaryValue(HKEY_LOCAL_MACHINE,strKeyPath,BinaryValueName,iValues) =========================================================== Then save file as .vbs file. after runing the script , you need to reboot the  machine to take effect.

Leave a comment

Disabling Print screen using registry File

Copy n paste the below code in a note pad. ================================================================== Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] “Scancode Map”=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,37,e0,00,00,54,00,\ 00,00,00,00 ================================================================== Then save the file as PSDisable.reg. The above code works with windows 7, vista,XP,2k3,2k8 NOTE: For windows 98, ME, NT 4.0, [also works with XP and 2k] replace the first line with REGEDIT4  

Leave a comment

How to enable remote desktop in windows 7 from system properties

How to enable remote desktop in windows 7? 1)      Go to Run by typing Windows Logo Key and R 2)      Then type sysdm.cpl which will open the system properties [Fig 1]                     Fig 1   3)     Click on the remote Tab 4)      By default, remote desktop connection is disabled. (Fig 2)                         (Fig 2) 5)      Select the option Allow connections from … More ->

Leave a comment

Run Commands for Windows 7

List of Run Commands for Windows 7 Windows logo key + R  Administrative Tools Administrative Tools = control admintools Authorization Manager = azman.msc Component Services = dcomcnfg Certificate Manager = certmgr.msc Direct X Troubleshooter = dxdiag Display Languages = lpksetup ODBC Data Source Administrator = odbcad32 File Signature Verification Tool = sigverif Group Policy Editor = gpedit.msc Add Hardware Wizard = hdwwiz.cpl iSCSI Initiator = iscsicpl Iexpress Wizard = iexpress Local Security Settings = secpol.msc Microsoft Support Diagnostic Tool = … More ->

Leave a comment

Error Message: Unable to open the service ‘Tomcat6’

While accessing “Configure Tomcat” or “Monitor Tomcat”, If you get the following error message, then please use the option “Run as Administrator” option. Error Message: Unable to open the service ‘Tomcat6’  Please note this is applicable for Windows 7 and you should have admin access in the machine.  

Leave a comment