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.
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.
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!
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!
ASKER
thanks ill have a look.
its a domain environment and only admins should be able to do it
its a domain environment and only admins should be able to do it
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
I will need to query AD somehow and return the correct SID. Then rename it
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
1
Try this tutorial
http://www.codingvision.ne
and a pretty old article but good point to start
http://www.codeproject.com
Let me know if you need more help with it.
Regards,
Chinmay.