Posts

Showing posts from July, 2010

Managing Message Tracking

Managing Message Tracking Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007 Topic Last Modified: 2009-06-03 A message tracking log is a detailed log of all message activity as messages are transferred to and from a computer that is running Microsoft Exchange Server 2007 and that has the Hub Transport server role, the Mailbox server role, or the Edge Transport server role installed. Exchange servers that have the Client Access server role or Unified Messaging server role installed don't have message tracking logs. You use message tracking logs for message forensics, mail flow analysis, reporting, and troubleshooting. You can use the Set-TransportServer cmdlet for all message tracking configuration tasks on a Hub Transport server or Edge Transport server. You can use the Set-MailboxServer cmdlet for all message tracking configuration tasks on a Mailbox server. For servers that have the Hub Transport server role and the

Command to get Dell Service tag [wmic]

wmic bios get serialnumber From remote C:\wmic /user:administrator /node:"remote-host" bios get serialnumber SerialNumber ABCDEF1 [Note: Replace remote-host with the machine name of your remote-host.]

Using icacls.exe command line utility to set NTFS permissions on folders and files

Below is the syntax for: Simple example: icacls C:\Windows /grant Administrator :F Will grant the user Administrator Full permission to C:\Windows folder Advanced example: icacls C:\Windows /grant Administrator :(OI) (CI)F /T /C Will grant the user Administrator Full permission to C:\Windows folder and subfolders and files, operation will continue on all file errors and set inheritance flag as Object interitance, Container inheritance inheritance rights may precede either form and are applied only to directories: (OI) - object inherit (CI) - container inherit (IO) - inherit only (NP) - don't propagate inherit /T indicates that this operation is performed on all matching files/directories below the directories specified in the name. /C indicates that this operation will continue on all file errors. Error messages will still be displayed.

Changing the default scripting engine from Wscript to Cscript

Change the default scripting engine from Wscript to Cscript. (The Xcacls.vbs script works best in Cscript.) To do this, type the following at a command prompt, and then press ENTER: cscript.exe /h:cscript Note Changing the default scripting engine to Cscript only affects how scripts write to the screen. Wscript writes each line individually to an OK dialog box. Cscript writes each line to the command window.

Backup and Restore DNS zones

With DNS, backing up primary and secondary zones independent of the system state is a pretty simple process. You can use the xcopy command to back up all zone text files on a DNS server. This command would back up the contents of the default DNS folder to the "D:\backups\dns" folder: xcopy %systemroot%\system32\dns d:\backups\dns /y Unfortunately, the process isn’t as simple for Active Directory-integrated DNS zones. For these zones, the support tool dnscmd.exe can get the job done. To back up any DNS zone with dnscmd.exe, you just need to use the /zoneexport switch with the command. To back up the MCPmag.com zone locally on a DNS server, you'd run: dnscmd /zoneexport mcpmag.com backup\mcpmag.com.dns.bak This command writes a copy of the mcpmag.com zone to the %systemroot%\system32\dns\backup\mcpmag.com.dns.bak file. Note that the command doesn't overwrite existing files, so if you’re including it with a backup script, be sure to move the file to an alternate lo

ConfigMgr components

Image
Below are the components of ConfigMgr: Out of Band Management Management Point Component Software Distribution Software Update Point Component Status Reporting System Health Validator Point Component

Enable Ping Replies from your Windows 2008 Server Server

Enable ICMP Replies via the local Command Prompt On your Server Core machine, at a command prompt, type the following: netsh firewall set icmpsetting 8 This will allow you to ping the Server Core server from a remote machine, and receive a reply. You can always run the following command in order to disable this option: netsh firewall set icmpsetting 8 disable

Soft reset Dell DRAC through SSH

Open Putty.exe Enter Hostname or IP address, port number leave as default (22). Open You will be connected to CLI of DRAC Issue the below command: racadm racreset Above command will perform soft reset of DRAC.

Logon scripts FAQ

Frequently Asked Questions About Logon Scripts:   1.How do I setup Logon scripts in a domain with Active Directory?   2.Why would I choose one method over another?   3.Can I use both methods to assign Logon scripts?   4.How do I setup Logon scripts so they support all of my clients?   5.How do I configure a Logon script for a user on the "Profile" tab in AD Users & Computers?   6.What languages can I use for Logon scripts?   7.Can I use a VBScript program for a Logon script on all clients in my domain?   8.How do I configure a Logon script with Group Policy?   9.What about Logoff, Startup, and Shutdown scripts in Group Policy?   10.What permissions are required for Logon scripts to run?   11.What can be done with a batch file Logon script, besides launch a VBScript program?   12.What about Logon scripts in an NT domain? Answers:  1. How do I setup Logon scripts in a domain with Active Directory?   There are two ways to assign Logon scripts. First, you can specify the Logo