Thursday 4 December 2014

Reset DSRM Password

 Reset DSRM Password with Ntdsutil

  1. On your machine and login with  Administrators, select Run from the Start menu, type ntdsutil and click OK. Ntdsutil
  2. At the Ntdsutil command prompt, type set dsrm password.
  3. At the DSRM command prompt, run the Reset Password command, passing the name of the server on which to change the password, or use the null argument to specify the local machine. For example, to reset the password on server thanos, enter the following command:
    reset password on server test 
    To reset the password on the local machine, specify null as the server name:
    reset password on server null
    
    
  4. You'll be prompted twice to enter the new password.
  5. Type q to exit the DSRM command prompt.
    reset DSRM password
  6. At the Ntdsutil command prompt, type q to exit.
You can now use the local administrator account to log on to the Directory Services Restore Mode using the new password. 
 Ex.   username :    .\administrator
         password :     xxxxxxxx     

Tuesday 2 December 2014

How to prevent copy paste file from Remote deskto

By default we can copy and paste file/folder form Remote Desktop. We can prevent this service by using Group Policy/ Local Policy.

Follow below step and prevent copy and paste data from RDP easy.


  1. Press Window + R > Run > TYPE gpedit.msc
  2. Navigate to: Computer Configuration \ Administrative Templates \ Windows Components
     \ Remote Desktop Services \ Remote Desktop Session Hosts  \ Device and Resource Redirection \ Do not allow clipboard redirection \ Enable it
  3. Open Command prompt \ TYPE gpupdate /force \ Enter
  4. Reboot system