System Administration

System Administration (106)

IT Consulting Tips for System Administrators

If you need assistance from a professional IT consultant , call 205.427.4368 or contact Fantasktek Computer Solutions.

Clear-MSOnlineAlternateRecipient Use the Clear-MSOnlineAlternateRecipient cmdlet to remove all alternate recipient settings for a user’s mailbox in Microsoft Online Services. Clearing these settings will stop incoming messages from being forwarded to a designated alternate e-mail address and will restore delivery to the original recipient’s mailbox. Syntax Clear-MSOnlineAlternateRecipient -Identity <String> -Credential <PSCredentials> Parameters ParameterRequiredTypeDescription Identity Required System.string E-mail address or UPN of user’s mailbox you want to modify. Credential Required System.string Administrator credentials for your company. Example This example removes all alternate delivery settings for a specific mailbox. Clear-MSOnlineAlternateRecipient -Identity This e-mail address is being protected from spambots. You need JavaScript enabled to view it -Credential $AdminCredentials
Wednesday, 28 March 2012 10:10

ADMT: Work Station Profile Migration

Written by Administrator
If you are using a migration tool (ADMT, Quest, NetIQ etc ) to migrate workstation and user profile, it will automatically translate the SID and assign the same profile to the target user account. The following procedure is used in the background to achieve this: · The C:\Documents and Settings\UserName originally has Source SID listed in the ACL. Target SID is added or Source SID is replaced with Target SID depends on your migration tool configuration. · The Target SID is added under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList and ProfileImagePath key is assigned the same value that ProfileImagePath has under Source SID. This ensures both source and target users will receive the same profile which is stored under C:\Documents and Settings\UserName. For some reason, if a migrated user gets a new profile (or lost the old profile) you can use the following procedure to re-assign the old profile back to the target account:…
Backing Up Active Directory Active Directory depends on the system state and the NTDS database among other things. So it is important to back these up on your domain controller. It is critically important to ensure that the system state data on a domain controller is backed up regularly since this contains all the core system files that are required to run a domain controller. Manually selecting what needs to be backed up will be extremely complicated and could be error prone – stay away from that path – just backup the entire system state. What needs to be backed up? – System State What kind of Backup needs to be run? – Full backup of the system state. How often is good enough? – Daily – You will thank me for this Restoring Active Directory (for experts who just need the short version) There are two types of restores:…
As migrating several hundred users to new accounts (with new passwords) would cause a huge number of support calls, I wanted to get the ADMT password migration DLL working. This took some time, but with the help of my enterprise support colleagues (effectively a PSS call), we found a way through. This is what was required: (For reference, both the source and target domains were in Windows Server 2003 domain and forest functional mode, running Windows Server 2003 with a mixture of service packs 1 and 2.) Make sure that there is a trust in place between the source and target domains. Install ADMT by running admtsetup.exe and follow the installation wizard on the computer that will be used for the migration (I used a domain controller in the source domain but ideally you would have dedicated computers for migration activities and it seems logical that this should be in…
Netdom.exe For each member, there is a discrete communication channel (the security channel) with a domain controller. The security channel is used by the Netlogon service on the member and on the domain controller to communicate. Netdom makes it possible to reset the security channel of the member. You can reset the member security channel by using the following command: netdom reset 'machinename' /domain:'domainname where 'machinename' = the local computer name and 'domainname' = the domain where the computer/machine account is stored.Suppose you have a domain member named DOMAINMEMBER in a domain called MYDOMAIN. You can reset the member security channel by using the following command: netdom reset domainmember /domain:mydomain You can run this command on the member DOMAINMEMBER or on any other member or domain controller of the domain, provided that you are logged on with an account that has administrator access to DOMAINMEMBER. Nltest.exe Nltest.exe can be used…
Internet Explorer uses its auto-complete feature to manage passwords that you have to enter in HTML forms. The advantage is that you can use different accounts for a specific Web site. You just have to start typing the user name, and Internet Explorer will fill out the form fields for the user name and the password automatically. Manually disable Internet Explorer saved passwords As mentioned in my last posts, storing passwords always poses a risk, especially if you use functions integrated in Windows. If your organization values security above all, then you should consider disabling Internet Explorer saved passwords. Users can turn off this feature themselves if they don’t want to be bothered by the AutoComplete feature. In Internet Explorer 8, you will find the AutoComplete settings in the Content Tab under Tools | Internet Options. Disable Internet Explored saved passwords with Group Policy If you don’t trust your users…
Monday, 30 January 2012 11:54

Exporting and Importing User Objects Using CSVDE

Written by Administrator
Every now and then a lab must be created that has the AD structure as your rpoduction environment for testing purposes. (As is my case) To fully test my ADMT tool, I recreated a production AD domain structure using the following commands: csvde -f \outusers.csv -d "dc=thebank,dc=com" -l "DN,objectClass,ou,description,distinguishedName,cn,department,title,mail,telephonenumber,mobile,physicalDeliveryOfficeName,sAMAccountName" -r "(objectClass=user)" csvde -f \outou.csv -d "dc=thebank,dc=com" -l "DN,objectClass,ou,description,distinguishedName,cn,department,title,mail,telephonenumber,mobile,physicalDeliveryOfficeName" -r "(objectClass=organizationalUnit)" csvde -f \outgroups.csv -d "dc=thebank,dc=com" -l "DN,objectClass,ou,description,distinguishedName,cn,department,title,mail,telephonenumber,mobile,physicalDeliveryOfficeName,sAMAccountName" -r "(objectClass=group)" csvde -f \outcomputers.csv -d "dc=thebank,dc=com" -l "DN,objectClass,ou,description,distinguishedName,cn,department,title,mail,telephonenumber,mobile,physicalDeliveryOfficeName" -r "(objectClass=computer)"   These commands effectivily export computer, group, ou and user objects from AD. To import them, issue the following command: csvde -i -k -f path_of_csv_file.csv NOTE: The -k switch just tells the command to ingnore errors.
Friday, 13 January 2012 13:04

Set default logon domain via Group Policy

Written by Administrator
How many of us have had a call that someone could not log on to their computer, only to find that they were trying to log on to the local machine instead of the domain? Worse yet, what if you have a forest with multiple domains? Server 2008 and Windows Vista, Windows 7 If you are the lucky administrator of a Windows 2008 or 2008 R2 Active Directory with just Windows Vista and Windows 7 clients then your job is easy. There is a group policy found in Computer Configuration\Administrative Templates\System\Logon called “Assign a default domain for logon“. Enable this policy, enter your domain’s name and you are finished. Server 2003 and Windows XP However, what if you are one of the many who still run an older version of  Active Directory or happen to have tens, hundreds or thousands of those faithful Windows XP clients operating? You will need…
This article will explain how to create multiple Global Address Lists and Assign them to a specific user base. This "Hack" came into play when a client of mine needed two different email entities in one organization. Meaning, that they worked for the same company but only emailed the people in their respective offices. The first thing to do to create a separate GAL is to run the powershell cmdlet as follows: New-GlobalAddressList -Name "New GAL"  -IncludedRecipients 'AllRecipients' -ConditionalStateorProvince 'AL' This does 2 things: It includes all recipient types and it only includes recipients in the state of Alabama. (Which is how these departments are devided) After Creating the new GAL and including only Recipients in the State of AL, I ran a second powershell script to modify the msExchQueryBaseDN user attribute. This is the LDAP attribute responsible for the DN of the GAL. My modifying this attribute, you point…
Here is a brief description of the default management role groups created automatically when you install Exchange 2010: Delegated Setup - This management role group gives members the ability to run the Exchange 2010 setup program and therefore deploy, but not administer, a new Exchange 2010 server. Deployment can only be performed on servers that have already been provisioned by an administrator with additional permissions. Discovery Management - A member of the Discovery Management role group has the ability to perform searches of all mailboxes within the Exchange organization as well as implement the Legal Hold feature of Exchange 2010. We shall be looking at this management role group in detail later in this article series. Help Desk - The Help Desk management role group gives members permissions that are typically required by members of a help desk, such as modifying users’ details such as their address and phone number.…
<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>
JPAGE_CURRENT_OF_TOTAL