Avatar of kentrg11
kentrg11 asked on

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.
Microsoft DOSC#ASP.NET

Avatar of undefined
Last Comment

8/22/2022 - Mon
Chinmay Patel

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 Reddy


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!

thanks ill have a look.
its a domain environment and only admins should be able to do it
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

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 Patel

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question