Thursday, January 31, 2008

Viewing Full Header Information in MS Outlook 2007

The following information is useful in checking suspicious email messages:

Viewing Full Header Information in MS Outlook 2007:


For Outlook 2007:

  1. Open Outlook.
  2. Open a message.
  3. On the Message tab, in the Options group, click the Dialog Box Launcher icon image.
  4. In the Message Options dialog box, the headers appear in the Internet headers box.

For older versions of Outlook:

  1. Open Outlook.
  2. Open the message you'd like to view headers for.
  3. Click the View menu, and select Options....

The full headers will appear in a new window.




Digg!

Monday, January 28, 2008

SQL Server How To - FAQ

SQL Server How To - FAQ -

Yet another little resource for those of you out there working with (or trying to) SQL Server.


http://www.cryer.co.uk/brian/sqlserver/sqlsvrhowto.htm




Digg!

Emulate the Out of Office Assistant in Microsoft Outlook

If you find that for one reason or another, your Out Of Office Assistant tool stops working correctly, use the following instructions provided by Microsoft to emulate it:

http://support.microsoft.com/kb/311107/#kb1#kb1


Digg!

Enabling IMFv2 in MS Exchange 2003

Enabling IMFv2 in Exchange SP2(As a reference after SP2/IMF v2 has been installed)


To enable IMFv2 filtering in MS Exchange SP2 you must first browse to Administrative Groups -> First Administrative Group -> Servers -> SMT-DC -> Protocols -> SMTP –> Default SMTP Server

Right-click on Default SMTP Server and select Properties

In the General Tab, click on Advanced -> Edit

Check the box for Apply Intelligent Message Filter and click OK.
You have now enabled IMFv2 for MS Exchange SP2.

To adjust the Gateway Blocking Configuration and Store Junk Email Configurations browse to Global Settings -> Message Delivery
Right-click on Message Delivery and click on Properties
Select the Intelligent Message Filtering tab and adjust the Gateway and Store Junk Email options

The Gateway portion is blocked immediately at the server level and users will not see those emails. Store Junk Email portion is all email which passes through the Gateway but will be deposited in the user’s MS Outlook Junk Email folder for their review if necessary. Remember, the lower the number, the more SPAM is blocked.


Digg!

Installing PGP 8.3

Step By Step PGP 8.3 Installation Tutorial


To download PGP 8.3, click on the link provided below:

http://www.pgpi.org/products/pgp/versions/freeware/

When prompted, select “Save to Desktop”

Double-click on the new install file, PGP8_3.zip, to proceed with the install

You will see the screen above, click NEXT

Click YES to accept

Click NEXT


Select NO to create a new key pair (Public/Private)

Click NEXT

Select only the PGPDisk Volume Security option, then click NEXT

Click NEXT

You will see PGP installing

Select YES to reboot your PC, click FINISH

After reboot PGP will automatically startup to complete the process.

You will be prompted to enter license information to which you may simply click “LATER”.

You will be greeted with the Welcome to PGP screen. Click NEXT to continue.

Enter your Full Name and email address. (This information is used to configure your key. You will not be sent solicitations)

Select Attempt to Find, click NEXT

Enter a “private” passphrase which will be for your use only. Do not share this passphrase with others. This passphrase is your key to opening encrypted documents. Click NEXT when finished entering.

Click NEXT

Click FINISH and your installation is complete.




To Exchange PGP Public Keys


You will first need to EXPORT your PGP Public Key

Right-click on the PGP lock icon in the lower right side of your screen. Click on PGPKeys to open your key ring.

Right-click on your PGP Key and click on EXPORT

A second window will appear asking where you wish to export to, select desktop.

You will now see your PGP public key on your desktop area.

Simply attached that public key to an email as you would a normal file.




To Encrypt A File Using PGP


Right-click on the file you wish to encrypt

Click on PGP option -> Encrypt


Double-click on the recipient you wish to encrypt to.

Choose where you wish to put the encrypted file (DESKTOP suggested)

You will see the newly encrypted file (ex: on your DESKTOP)

To Create An SDA (Self Decrypting Archive) PGP File

(SDAs are used when the recipient does not have PGP Encryption software installed)

To send an encrypted document to a selected recipient, right-click on the file

Right-click on the file you wish to encrypt

Click on PGP option -> Create SDA

You will see a window appear requesting that you enter a separate passphrase to encrypt this document. This passphrase should not match your private passphrase (the private passphrase you use to decrypt files with). This is a passphrase which you will share with the recipient so that he/she can open the file after it is received.


Select where you wish to place the newly encrypted file (DESKTOP suggested), click SAVE


You will now see your newly encrypted file (ex: on your DESKTOP)


Digg!

View user Session on a Domain

Viewing Computer/User Sessions

To view a user’s Session(s):

Go to Programs ->Administrative Tools -> Computer Management

Once you are in Computer Management, expand Shared Folders

Click on Sessions

In the main window you should see a list of current user/computer information. From there you can either this information, decide to force a user off or simply give the user a call. this is also useful when a database is locked and you need to know who is in it at that moment in time.

Exit out when finished.



Digg!

Quick Reports for Domain Users and Groups

Quick Reports for Domain Users and Groups:

(The NET commands and the Windows Resource Kit ADDUSERS.EXE and PERMS.EXE utilities can be used to create limited administrative reports by piping the output to a text file.)

Limited report generation is possible through the following commands:

Note: Removal of the /domain switch will generate a report for the local machine.


NET USERS /DOMAIN >USERS.TXT

This command will return the user accounts from the Primary Domain Controller (PDC) of the current domain, and write them to a file called USER.TXT
-

NET ACCOUNTS /DOMAIN >ACCOUNTS.TXT

This command will return the account policy information from the PDC of the current domain, and write it to a file called ACCOUNTS.TXT
-

NET CONFIG SERVER >SERVER.TXT

This command will return the server name, version of Windows, active network adapter information/MAC address, Server hidden status, Maximum Logged On Users, Maximum open files per session, Idle session time, and assign it to a file called SERVER.TXT
-

NET CONFIG WORKSTATION >WKST.TXT

This command will return the workstation name, user name, version of Windows, network adapter, network adapter information/MAC address, Logon domain, COM Open Timeout, COM Send Count, COM Send Timout, and write it to a file called WKST.TXT.
-
NET GROUP /DOMAIN >DGRP.TXT

This command will return the global groups on the PDC of the current domain, and write them to a file called GRP.TXT.
-

NET LOCALGROUP >LGRP.TXT

This command will return the local groups on the local machine, and write them to a file call LGRP.TXT.
-
NET VIEW /DOMAIN:DOMAINNAME >VIEW.TXT

This command will return the resources in the specified domain, and write them to a file called VIEW.TXT.

Using Resource Kit Tools

ADDUSERS \\COMPUTERNAME /D USERINFO.TXT

This Windows Resource Kit command will return a comma delimited file (for spreadsheets) containing user and group information, and write it to a file called USERINFO.TXT.
-

PERMS COMPUTERNAME\USERNAME C:\*.* /S >PERMS.TXT

This Windows Resource Kit command will return the username permissions on all files in all subdirectories on the c:\ drive of the computername, and write it to a file called PERMS.TXT
In addition to these user management tools, there are many tools and scripts out there to help in querying, creating, modifying and deleting user objects in the directory. You should explore the Support Tools from the Windows 2000 product CD and the Windows 2000 Resource Kit to get acquainted with some of them at least, since they can really ease your work sometimes. Here is a quick description of some of those tools:
The Windows 2000 Resource Kit offers us some scripts for handling users:
ClassifyMembers.vbs

Will list objects in a container/OU or a domain.
-

ListProperties.vbs

This script can be used with the WinNT: namespace against Windows NT, Member or Workstation machines, or with the LDAP: namespace for Active Directory Domain Controllers. Pay attention that this script is case-sensitive in its syntax.
As for enumerating group membership, there are several tools, such as:

FindGrp.exe
IfMember.exe
ShowGrps.exe

Each gives different results, so you might want to run them and compare the outputs of each tool. ShowGrps.exe, for example, can also query for group membership of computer objects:

FindGrp.exe \$
If you want to search for users satisfying a given criteria, you can try out

chkusers.vbs

This script checks your domain for users that satisfy a certain criteria that you define.
-

Cscript CHKUSERS.VBS /A:WinNT:YourDomainName /P:FullName;Description/C:"((LastLogin:>4/3/01 or LastLogin:<8/4/01) and AccountDisabled:=False)"
This will output the full name and description of all active users whose last login was between 4/3/01 to 8/4/01.
-

Using LDIFDE

From the support tools we can find LDIFDE.exe, which is a tool for bulk import and export of Active Directory Objects. You can use LDIFDE to import new user records into the directory, or export specific information on specific users into a text file. LDIFDE defaults to export mode (reading From the Directory). When you add the -i option it can be used to write changes into the Directory. Also, if you want to export and extract only specific details, such as the user name, title and login name for all the users in a specific OU (Organizational Unit), you can run the following command:

ldifde
-f C:\ldif\ExportUsers.ldf –s SERVERNAME -d
"OU=YourOUname,dc=YourDomainName,dc=com" -p subtree -r
"(objectClass=User)" -l "cn,givenName,Title,SamAccountName"

Original Info Source:
http:www.petri.co.il/list_all_users_and_groups_in_domain.htm



Digg!

File Access Permission (in a Domain)

To adjust, set or regain file/access permissions:


Folder Permissions:

When permissions are lost on a file or folder, Administrator must take ownership of it to recover/adjust to the proper permissions.

Right click on the file in question and select Security.
When prompted with a warning that "you only have rights to view", click ok.
Click on the Advanced Tab.
Click on the Ownership Tab
To change ownership, select Administrator and click OK.
Click OK again to close the window.
Now,
Right-click on that file again and adjust the rights to what they should be.


Digg!

How To Correct A PC Name Conflict on Domain

If you accidentally name your PC the same as one that already exists on the Domain, you will receive a PC Name Conflict (Windows) error.

  • First - Rename your PC and reboot.
  • Second - Find the PC you conflicted with and perform the following steps.
1. Take that PC off the Domain (reboot)
2. Unplug from the network
3. Rename that PC with an unused PC name (reboot)
4. Re-join that PC to the Domain (reboot)

Your PC should now be fully functional again on the network Domain.

Digg!