Wednesday, February 4, 2015

[Windows] - Fatal error occurred while trying to sysprep the machine


A FATAL ERROR OCCURRED WHILE TRYING TO SYSPREP THE MACHINE

1. Image:
 

2. Fix:

- Type regedit in the Start Search box to open Registry Editor,
- Set the value of GeneralizationState under

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus to 7

- Then run sysprep again.

If the same issue still persists, please unistall the MSDTC and Reinstall it through cmd console, and then try the sysprep.

- To uninstall MSDTC : msdtc -uninstall
- To reinstall  MSDTC : msdtc –install


Wednesday, August 8, 2012

[Windows] - Enable Administrator Account by command line

- Click Start -> run -> cmd
net user Administrator /active:yes

[Windows] - Enable Remote Desktop by using registry

To enable Remote Desktop remotely by using the registry

  1. Click Start, click Run, type regedit, and then click OK.
  2. On the File menu, click Connect Network Registry.
  3. In the Select Computer dialog box, type the computer name and then click Check Names.
  4. In the Enter Network Password dialog box, provide Domain Admins credentials for the domain of the server, and then click OK.
  5. After the computer name resolves, click OK.
  6. In the computer node that appears in the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.
  7. In the console tree, click Terminal Server and then, in the details pane, double-click fDenyTSConnections.
  8. In the Edit DWORD Value box, in Value data, type 0, and then click OK.
  9. To implement the change, reboot the server remotely, as follows:
    Open a command prompt, type the following, and then press Enter:
    shutdown -m \\ DomainControllerName -r