# .restart (restart the process)

### Command

> .restart

### Syntax

> .restart&#x20;

### Description

Restarts a program (the previously started program using the '[.start](https://docs.hyperdbg.org/commands/meta-commands/.start)' command) with the specific parameters and breaks when the PE file reaches the entrypoint.

### Parameters

None

### Examples

Imagine we want to restart a program that we previously started using the '[.start](https://docs.hyperdbg.org/commands/meta-commands/.start)' command.

```
0: kHyperDbg> .restart 
```

### IOCTL

The IOCTL description is the same as the '[.start](https://docs.hyperdbg.org/commands/meta-commands/.start)' command.

### Remarks

This command will continue the debuggee for some time (in Debugger Mode). This means that you lose the current context (registers & memory) after executing this command.

### Requirements

None

### Related

[.start (start a new process)](https://docs.hyperdbg.org/commands/meta-commands/.start)

[.attach (attach to a process)](https://docs.hyperdbg.org/commands/meta-commands/.attach)

[.detach (detach from the process)](https://docs.hyperdbg.org/commands/meta-commands/.detach)

[.switch (show the list and switch between active debugging threads)](https://docs.hyperdbg.org/commands/meta-commands/.switch)

[.kill (terminate the process)](https://docs.hyperdbg.org/commands/meta-commands/.kill)
