Fine SSID in registry and rename the key on remote computer

Hi guys ,
Im trying to  create a small program in C# sharp  that will prompt a user for a username and computer name.  It will need to get the SID of the user entered. Then go into the registry of a provided computer and rename the key to .bak

Any hits would be appreciated , im fairly new to C$ and not sure where to start.
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.

Chinmay PatelChief Technical NinjaCommented:
Hi kentrg11,

Try this tutorial

and a pretty old article but good point to start

Let me know if you need more help with it.

Roopesh ReddyIT AnalystCommented:

One thing you need to consider is the security!

All computers doesn't allow you to peep in to the registry unless you have Admin previliges! Moreover, if you just take the computer name, then what is the scope of search?

I mean  - Local LAN/WAN!
kentrg11Author Commented:
thanks ill have a look.
its a domain environment and only admins should be able to do it
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

kentrg11Author Commented:
can you point me in the right direction in regards to obtaining the SID of the username that's been entered.
I will need to query AD somehow and return the correct SID. Then rename it
Chinmay PatelChief Technical NinjaCommented:

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
kentrg11Author Commented:
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
Microsoft DOS

From novice to tech pro — start learning today.