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
kentrg11
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Hi kentrg11,

Try this tutorial

http://www.codingvision.net/miscellaneous/c-edit-registry-keys-or-values/

and a pretty old article but good point to start
http://www.codeproject.com/Articles/3389/Read-write-and-delete-from-registry-with-C

Let me know if you need more help with it.

Regards,
Chinmay.
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Hi,

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!
Avatar of kentrg11
kentrg11

ASKER

thanks ill have a look.
its a domain environment and only admins should be able to do it
Avatar of kentrg11
kentrg11

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of kentrg11
kentrg11

ASKER

1
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo