The command with the dashes identifying the options is the correct syntax. But since it is a remote computer, you need to be authenticated to that computer with an account with sufficient privileges to perform this operation. If it is part of a domain, you will need to authenticate with a domain administrator account. If it is part of a workgroup, you will need to authenticate to the remote machine with its local administrator account or an account with administrative privileges.