Fine SSID in registry and rename the key on remote computer

Posted on 2013-08-27
Medium Priority
Last Modified: 2013-09-12
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.
Question by:kentrg11
  • 3
  • 2
LVL 27

Expert Comment

by:Chinmay Patel
ID: 39444582
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.

LVL 23

Expert Comment

by:Roopesh Reddy
ID: 39445034

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!

Author Comment

ID: 39445198
thanks ill have a look.
its a domain environment and only admins should be able to do it
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.


Author Comment

ID: 39446424
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
LVL 27

Accepted Solution

Chinmay Patel earned 2000 total points
ID: 39446677

Author Comment

ID: 39486666

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question