Manage Active Directory (2008 SP2) using Powershell 2 on XP SP3

Hi All,

I want to be able to manage AD, specifically crate new users, using powershell from my workstation. I just can't get it to work. Here's what I've done so far, hopefully you can point out my mistake(s)?

My Domain Controller is SP2 and has DotNet 3.51 SP1 installed

1. Downloaded install guide from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=008940c6-0296-4597-be3e-1d24c1cf0dda&displaylang=en

2. As per guide, installed KB969166 on Domain Controller

3. As per guide, tried to install KB967574 on Domain Controller, but received error: "The update does not apply to your system"

4. As per guide, tried to install Windows6.0-KB968934-x64.msu on Domain Controller, but received error: "The update does not apply to your system"

5. Downloaded PSCX extension from http://pscx.codeplex.com/releases/view/45101on my workstation

6. As per instructions, installed files to 'My Documents\WindowsPowerShell\Modules' on my workstation

7. As per instructions, opened powershell window on my workstation and ran command "Import-Module Pscx" sucessfully

8. ran command "get-psprovider"

Name                 Capabilities                                      Drives
----                 ------------                                      ------
WSMan                Credentials                                       {WSMan}
Alias                ShouldProcess                                     {Alias}
Environment          ShouldProcess                                     {Env}
FileSystem           Filter, ShouldProcess                             {C, S, D, E...}
Function             ShouldProcess                                     {Function}
Registry             ShouldProcess, Transactions                       {HKLM, HKCU}
Variable             ShouldProcess                                     {Variable}
Certificate          ShouldProcess                                     {cert}
AssemblyCache        ShouldProcess                                     {Gac}
DirectoryServices    ShouldProcess, Credentials                        {}
PscxSettings         None                                              {Pscx}
FeedStore            ShouldProcess                                     {Feed}

I do not see the ActiveDirectory Provider


9. ran command "Get-PSDrive"

Name           Used (GB)     Free (GB) Provider      Root
----           ---------     --------- --------      ----
Alias                                  Alias
C                  21.49        251.34 FileSystem    C:\
cert                                   Certificate   \
Env                                    Environment
Feed                                   FeedStore
Function                               Function
Gac                                    AssemblyCache Gac
HKCU                                   Registry      HKEY_CURRENT_USER
HKLM                                   Registry      HKEY_LOCAL_MACHINE
Pscx                                   PscxSettings
Variable                               Variable
WSMan                                  WSMan

I do not see AD or anything else pointing to my Active Directory domain.


Any ideas what I'm doing wrong?
LVL 8
ragnarok89Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

soostibiCommented:
Have you tried Quest's software:
http://www.quest.com/powershell/activeroles-server.aspx

It need only client side installation.
0
soostibiCommented:
Anyway, the Management Gateway that you installed in step 1 is needed for the Windows Server 2008 R2/Windows 7 compatible Active Directory Module that is part of the AD RSAT tools.
0
mpilarczykCommented:
Install Quest CMDLets on your workstation.
By default these cmdlets will connect to any available domain controller with the credentials of the user that starts powershell - so you can run ps as domain admin.
Alternatively, most od cmdlets let you use -Service option for pointing DC you want to use.

The cmdlets are extremely helpful - here are some examples:
http://ss64.com/ps/quest.html
0
Defend Against the Q2 Top Security Threats

Were you aware that overall malware worldwide was down a surprising 42% from Q1'18? Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that analyzes the top threat trends impacting companies worldwide. Learn more by viewing our on-demand webinar today!

markpalinuxCommented:


From XP SP3, seems painful.  I am a consultant and every site I visit that the admins are still using XP ( as part of corporate image or something )  ... what I recommended is setting up a windows 2008 server on vmware or something so they can remote desktop and use powershell, Exchange 2010 management, etc.

more reading:
http://technet.microsoft.com/en-us/magazine/ee914610.aspx
For now, your client computer needs to be running Windows 7 or Windows Server 2008 R2, because it is not currently possible to install the Active Directory module on anything older.

I would expect even if you do get Powershell running on XP, there are things that would not work.
More reading:
http://technet.microsoft.com/en-us/magazine/ee914610.aspx
For now, your client computer needs to be running Windows 7 or Windows Server 2008 R2, because it is not currently possible to install the Active Directory module on anything older.

Here is a cool tool that requires Powershell:
Performance Analysis of Logs (PAL) Tool
http://pal.codeplex.com/

Mark

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike KlineCommented:
Agree with Mark about the Windows 7 management workstation.  If you are trying to run the AD cmdlets then take a look at Ashley's blog here

http://blogs.technet.com/b/ashleymcglone/archive/2011/03/17/step-by-step-how-to-use-active-directory-powershell-cmdlets-against-2003-domain-controllers.aspx

Did a nice job of spelling it out.

The Quest AD cmdlets also work well on XP systems.

Thanks

Mike
0
ragnarok89Author Commented:
soostibi,

I had installed this, but I wanted to be able to do it with the built-in powershell. In this way, I could execute a .PS1 script from any PC. Also, the management gateway was never installed (see step 3 and 4).

markpalinux:

assuming I get a Win7 workstation, from where do I download the AD module, and how do I install it?
0
markpalinuxCommented:

After reading this, I believe it is built in. Still requires a Windows 2008 R2 domain controller.
Active Directory Administration with Windows PowerShell
http://technet.microsoft.com/en-us/library/dd378937%28WS.10%29.aspx

Thanks,
Mark
0
soostibiCommented:
If you want to use the AD module, you have to install the
AD Management Gateway Service on the Domain Controller according to the Install Guide.

And onto a Windows 7 client install the RSAT tools from:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d

After you installed this, you'll be able to add the relevant component from Control Panel/Programs/Turn Windows Features on and off.

In this list you'll see among the Remote Server Administration Tools the Active Directory Module in the AD tools category.
0
SeaSenorCommented:
if you need the RSAT for  windows 7 with sp1   it's available now here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en

0
ragnarok89Author Commented:
We just got a Win7 PC, will be trying it tomorrow.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.