C# : set 'log on as a service' rights on a remote computer
$30-40 USD
Anulowano
Opublikowano około 13 lat temu
$30-40 USD
Płatne przy odbiorze
create a C# solution like [login to view URL] (a CLI utility allowing to set security rights on a local or remote machine)
## Deliverables
**General**
create a C# solution like [login to view URL] (a CLI utility allowing to set security rights on a local or remote machine).
This solution will need to grant 'log on as a service' rights to a selected account on a local or remote machine.
**Solution Components**
- This will be a winform application with one (1) form.
- The form will include the following components:
1. TextBox1 for the account name (e.g. DOMAIN\ACCOUNT)
2. TextBox2 for the remote machine IP address. If TextBox2 is empty, set rights on local machine.
3. Button named 'Start' to set the rights according to data in TextBox1 and TextBox2.
**Solutions Procedure**
1. Enter an account name (e.g. DOMAIN\ACCOUNT)
2. Enter IP address of remote machine (Empty means local machine)
3. Press the 'Start' button set the rights according to entered information.
**Example**
You enter an account named testdomain\admin and the remote IP address 192.168.1.50.
Once clicking the 'Start' buttom that specific user will be granted the 'log on as a service' rights on the reemote machine 192.168.1.50.
**General guidelines & hints**
you can you the 'LsaAddAccountRights' to perform the operation.
**Requirements**
- the solution will be written in C# (with invoke if needed).
- the solution can be winform of console
- the results will be tested in Microsoft Visual Studio 2010.
- the solution will allow the user to wake from sleep or hibernate before the auto wake set by the solution.
- The solution will be approved after all tests will be performed successfully on the required operating system as set in the requirements.
- Maximum allowed .NET Framework in 2.0 (if applicable)
- This procedure will work on the following operating systems: Windows XP, Windows 7, Server 2003, Server 2008 (x86 / x64) on any of Microsoft service packs.