Friday, September 23, 2011
Microsoft Outlook - How to Backup and Restore an archive data.
You don't have to use a backup tool to save your data. Instead, you can copy the PST file and save it elsewhere. Find your PST file by doing the following:
1 Go to Account Settings from the Tools menu.
2 Select the Data Files tab and double-click the Personal Folder you wish to backup.
3 Put your cursor into the Filename box, click the box twice to highlight the line and Ctrl+C to copy it.
4 Right-click the Start button and select Explore.
5 Put your cursor into the folder location box and press Ctrl+V to paste the location of the personal folders file.
6 Delete the PST file name (Outlook.pst, for example) and press Enter to find the PST file.
7 Save the file to a network drive or online storage Web site.
To restore the data, do the following:
1 Locate the backup copy of the PST file. Right-click the file and choose Copy.
2 Right-click Start and select Explore.
3 Find the folder where the original PST file lives (default C:\Users\[your user name]\AppData\Local\Microsoft\Outlook\Outlook.pst) and press Ctrl+V to paste the file.
4 Open Outlook to confirm the data appears.
Archive Data
While it's nice to have e-mail messages available when you need them, having too many affects performance. Professional organizers advise getting rid of things you haven't touched in over a year. Archive items that you haven't opened in a year or two. At least, you can always get them later if a time comes when you need them. Rather than having to do the cleaning, let AutoArchive do the dirty work.
Use AutoArchive to automatically move important but infrequently used items to an archive file and to permanently delete expired items. The following is the default location and name for the archive file:
C:\Documents and Settings\[your user name]\Local Settings\Application Data\Microsoft\Outlook\Archive.pst
Archived items appear in the Archives Folder in the Outlook Folder List located in the Navigation Pane.
You may want to backup the archive file the same way as you backup the PST file. Recovering a PST file alone won't recover your archived file. Consider backing up both files at the same time.
You can manually archive items whenever you want by doing the following:
1 Select Archives from the File menu.
2 Select whether to archive folders according to AutoArchive settings or select the folders and subfolders to archive.
3 Select the date for archiving items, and click OK.
You can change the settings for AutoArchives using the following steps:
1 Select Options from the Tools menu.
2 Select the Other tab and click AutoArchive.
3 Modify the AutoArchive options to suit your needs and click OK twice to close the windows.
You can turn off AutoArchive to prevent it from running on all folders. Return to AutoArchives options and uncheck the box next to "Run AutoArchive every n days."
You may have folders with items that should stay in your Personal Folders instead of moving into the Archives Folder. To modify Outlook to skip archiving a folder, do the following:
1 Right-click the folder and select Properties.
2 Select the AutoArchive tab.
3 Select Do not archive items in this folder and click OK
Tuesday, May 10, 2011
Add or delete or set default printer from DOS
Windows XP provides a VBS script to manage local and network printers from Windows command line. This script is Prnmngr.vbs and can be found in the directory C:\Windows\System32. Using this script, we can add or delete network printers and set or change default printer. Below you can find the syntax and use cases of this script along with some examples.
Add a network printer from windows command line
You can add a network printer by specifying the server name and printer name as in the below command.
cscript C:\windows\system32\prnmngr.vbs -p "printername" -s "servername"
Get the list of printers added to the system from Windows command line(CMD).
cscript C:\windows\system32\prnmngr.vbs -l
Get the default printer details from command line.
cscript C:\windows\system32\prnmngr.vbs -g
Example:
C:\>cscript C:\windows\system32\prnmngr.vbs -g
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
The default printer is \\printer01\LASERJET_8150PRINTER
C:\>
Set default printer from windows command line.
You can run the below command to set default printer.
cscript C:\windows\system32\prnmngr.vbs -t -p "\\Servername\printername"
For example, to set the printer laserjet_02 connected to the server \\printer02 as default, we need to run the below command.
cscript C:\windows\system32\prnmngr.vbs -t -p \\printer02\laserjet_02
Note that double quotes are not required if there is no space in the printer name.
Delete a network printer from windows command prompt:
cscript C:\windows\system32\prnmngr.vbs -d "\\servername\printername"
Saturday, September 4, 2010
Command line scanner in the OfficeScan client
Here are the options that you can use:
| Option | Function |
| /? | Displays the “Help” |
| /S | Scan all files in specified directory and all subdirectories |
| /C | Clean virus-infected files without any prompting |
| /D | Delete virus-infected files without any prompting |
| /B | Scan boot/partition area only |
| /P | Scan hard disk partition only |
| /NM | Do not scan memory |
| /NB | Do not scan boot sector/partition are of disk |
| /NC | Scan only, do not take any action on virus files |
| /BK[+|-] | Clean virus-infected files backup switch |
| /P=path | Specify virus pattern path |
| /P=file[;file...] | Specify virus pattern file(s) |
| /LAPPEND | Open LOG file with append mode |
| /LR[=file] | Write standard report to the specified file Default name “report.log” |
| /LD[=file] | Write detected files to the specified file Default name “detect.log” |
| /LU[=file] | Write undetected files to the specified file Default name “undetect.log” |
| /LC[=file] | Write clean results to the specified file Default name “clean.log” |
| /LCF[=file] | Write clean fail results to the specified file Default name “cfail.log” |
| /VER | Display the version information |
| /I | Display more information about scanning results |
| /NV | Only display the files without virus infection |
| /CLEANALL | Scan and clean the file until no virus is found |
| /HOSPITAL=path - | Move the virus files to specific directory |
| /DISKIMAGE[=drive] | Scan disk images (with or without restoring) |
| /NZ | Do not scan zip files (e.g. PKZIP, ARJ) |
| /NLITE | Do not scan pklite files (e.g. PKLITE, LZEXE) |
| /NMICE | Do not scan some softmice files |
| /NMACRO | Do not scan macro files (e.g. DOC, XLS) |
| /NJAVA | Do not scan java files |
| /NSCRIPT | Do not scan script files |
| /NGENERIC | Do not use generic scan |
| /ZIPACTION | Enable zip virus action in callback |
| /ZIPBREAK | Enable zip virus break in callback |
| /VSCHAR=n | Set character environment type from “n” (1: Traditional Chinese; 2: Japanese) |
| /VSZIP=n | Set decompress layer |
| /ACTIVEACTION=n | Enable Active Action and se the ProjectID |
| /VSTEMP=path | Set the default temporary path |
| /VSEXT=file | Set/Add process extensions from file |
| /VSEXEXT=file | Set/Add exclude process extensions from file |
| /VIRUSNAME | List all detectable virus name (n: # to read) |
| /UNICODESCAN | Scanning and cleaning with Unicode files |
| /Q | Disable all output message |
| /RENAME | Rename virus-infected files without any prompting |
Product:
OfficeScan - 10.0, 7.0, 7.3, 8.0
Operating System:
Windows - 2000 Server Series SP4, 2003, 2003 Server Series SP1, Server 2008 Enterprise, Server 2008 Standard, Vista, XP
| Solution: Yes, the OfficeScan client has a command line scanner called VScanTM. You can run this from the OfficeScan client program file location: | |
|
| |
|
| vscanwin32 [/|-option] Drive:[path[filename|@script]] [Drive:[path[filename]] |
Friday, July 23, 2010
Disconnect-End a users session via Terminal Services Manager
Disconnect-End a user’s session via Terminal Services Manager
To start Terminal Services Manager
- Click “Start”
- Click “Administrative Tools”
- Then click “Terminal Services Manager”
Disconnect from a session:
To disconnect from a session, click “Users” or “Sessions” tab on the right pane, right click the server’s name of the session you want to disconnect from, and then click “Disconnect”.
The administrator can end a user’s terminal session for various reasons. To log the user off from the terminal session, click “Users” tab on the right pane, right click the server name of the user’s session need to be logged off, and then click “log off”. Click “OK” whenever you are promoted to confirm the action.
