programming4us
programming4us
DESKTOP

Windows Server 2008 : Working with Active Directory Accounts - Redirecting Computer Accounts, Redirecting User Accounts

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

1. Redirecting Computer Accounts

When a computer joins a domain, the computer account is added to the Computers container by default; however, you can change the default behavior with the redircmp command. The basic syntax is

redircmp target-DN

Tip

The target-DN can be any container or OU but is typically an OU.


For example, if you want new computers to be placed into an OU you’ve created called New Computers (shown in Figure 1), you can use the following command:

redircmp "ou=new computers,dc=pearson,dc=pub"

Figure 1. New Computers OU in ADUC

The primary reason to do this is to control the new computers with a Group Policy Object (GPO). You can create a GPO that configures security settings or install software for all new computers placed into this OU. As soon as a computer joins the domain, the GPO applies these settings.

Tip

You can link a GPO to an OU but not to a container such as the Computers container or the Users container.

2. Redirecting User Accounts

You can also redirect new user accounts that are created with the net user command. The basic syntax to redirect user accounts is

redirusr target-DN

Tip

If the user account is created with a DN (such as with dsadd, csvde, or ldifde), the target DN is already specified. The redirusr command does not override these commands. However, because the net user command doesn’t specify a DN, the redirusr command redirects these user accounts.


For example, the following command redirects all user accounts created with the net user command to the Sales OU:

redirusr "ou=sales,dc=pearson,dc=pub"

Most methods of creating user accounts identify the target location. For example, if you’re using ADUC, you simply right-click over the target OU and select New, User. If you’re using csvde or ldifde, the target OU is included in the DN.

It’s not as common to create accounts with the net user command, but it can be done. The basic syntax is

net user username [password] /add

For example, the following command creates an account for a user named Maria:

net user Maria P@ssw0rd /add

Tip

If you run the net user command on a DC, it adds the account to AD. If you run it on a member server or a standalone system, it adds it as a local account.

Other  
  •  Windows Server 2008 : Working with Active Directory Accounts - Using csvde to Export and Import Accounts
  •  Windows Server 2008 : Working with Active Directory Accounts - Using ldifde to Export, Import, and Delete Accounts
  •  Automating Windows 7 Installation : Preparing a System with Sysprep
  •  Automating Windows 7 Installation : Creating Bootable WinPE Media
  •  Automating Windows 7 Installation : Creating Your First Image, Using the Windows Automated Installation Kit
  •  Automating Windows 7 Installation : Getting Familiar with Microsoft Images (part 2) - Creating Operating System Images
  •  Automating Windows 7 Installation : Getting Familiar with Microsoft Images (part 1) - Creating a Bootable VHD Image
  •  Windows 8 : Scheduling Maintenance Tasks - Viewing and Managing Tasks on Local and Remote Systems
  •  Windows 8 : Detecting and Resolving Windows 8 Errors - Using the Event Logs for Error Tracking and Diagnosis, Viewing and Managing the Event Logs
  •  Windows 8 : Using Remote Assistance to Resolve Problems
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us