dsquery & RSAT errors

I'll describe the error I got when enabling RSAT command line options on my laptop later.

More urgent: how to fix error below:
C:\>dsquery computer ou=DEPT,dc=bbbprod,dc=com,dc=sg
dsquery failed:A referral was returned from the server.
type dsquery /? for help.
sunhuxAsked:
Who is Participating?
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.

oBdACommented:
The OU needs to be enclosed in double quotes:
dsquery computer "ou=DEPT,dc=bbbprod,dc=com,dc=sg"

Open in new window

0
sunhuxAuthor Commented:
Got the command correct, it's:
  dsquery computer ou=DEPT,ou=Desktop dc=bbbprod,dc=com,dc=sg

Attached the RSAT error when I tried to enable on the laptop (I found a desktop that had got it enabled previously)

I've tried rebooting but no joy
dsquery_rsatEnablerror.JPG
0
oBdACommented:
Try it from the command line to see if you get an error that is actually useful:
Installing or Removing Remote Server Administration Tools for Windows 7
https://technet.microsoft.com/en-us/library/ee449483(v=ws.10).aspx
1

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
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
Windows Batch

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.