------------------------------------------------
Clear Print Spool Windows 7/Vista
If you have a long list of hung print jobs in Windows 7 or Vista, you
can clear the print queue easily by using these steps.
1. Click Start.
2. Type Command.
3. Right-click Command Prompt and select Run as administrator.
4. Type net
stop spooler then press Enter.
5. Type del
%systemroot%\System32\spool\printers\* /Q then press Enter.
6. Type net
start spooler then press Enter.
The print queue on your Windows 7/Vista system should now be cleared.
Type exit and press Enter to exit the command window.
------------------------------------------------
Batch File Admin Enable/Execute
To automate the above steps as an administrator do the following:
1. Create a batch file with the following entries:
net
stop spooler
del
%systemroot%\System32\spool\printers\* /Q
net
start spooler
2. Save the batch file to C:\Program Files\Batch Files
directory and then choose the option to create a shortcut on the
deskotp.
3. Right click on the shortcut and go to
"Properties". Check the box that says "Run as Administrator" and
then click "OK".
4. Now everytime you double click the shortcut it will run the batch file as an administrator.
NOTE: You can also rename the .bat file to .cmd to allow Windows to enable more functionality.
------------------------------------------------
Force/Kill Windows Process
sc
queryex SMTPSvc
This will give you the following information:
SERVICE_NAME: SMTPSvc
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE
: 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT
: 0x0
WAIT_HINT
: 0x0
PID
: 388
FLAGS
Look for the PID number, then execute the following command:
taskkill
/PID 388 /F
where the /F flag is needed to force the process kill (first try
without the flag).
------------------------------------------------
TrueCrypt - USB Key Encryption Steps
1.)
Plug in the USB Flash Drive into the computer and format it. (Do
not use the quick format option); format is NTFS if possible.
2.) Creat a Folder called TrueCrypt on the USB drive.
3.) Open the flash-drive and run TrueCrypt from the folder in the drive.
4.) Once Running You should see a button that says create volume. Click it.
5.) Select the create an encrypted file container option and click next.
6.) You will be given the option to creat a standard or hidden truecrypt volume; choose standard and click next.
7.)
Click Select File and set the location as the TrueCrypt folder on
the Flash-Drive and save it as file. Then click next.
8.) You will be given the option to change the encryption settings but the defaults will work fine. Click Next.
9.)
Set the size to the number of encrypted storage you want on the
drive. You can choose the full size of the drive or a partial
size as well. Click Next.
10.) Now you need to set your password. It is recommended that it be 20-40 characters long. Click Next.
11.)
Randomly move the cursor around the next window for 30 seconds
before clicking format. After about 3-4 minutes it will finish.
12.) Close the TrueCrypt window.
13.) Reopen TrueCrypt and Select a letter from the list at the main window.
14.) Click Select File and locate the file called file in the TrueCrypt folder on th flash-drive.
15.) Click mount and you will be prompted to enter your password. Click Mount.
16.)
Leaving the TrueCrypt window open go to the start menu and click
my computer. There will be a new drive called: Local Disk (letter
chosen in the last step) Open it.
17.) Copy the sensitive documents to the new drive.
18.)
Go back to the TrueCrypt Window and click dismount (it is
important to dismount the volume before removing the flash-drive).
19.) the files are now all encrypted and safe.
20.) Remove the flash-drive and put it in a safe place.