Knowledge Base » Windows Servers

Category > Windows Servers

DNS zone of a domain alias cannot be edited because the domain alias is turned off

Saturday, March 3rd, 2012

Sometimes activating the DNS zone of a domain can give the error “DNS zone of a domain alias cannot be edited because the domain alias is turned off”. To correct this, open up command prompt in Remote Desktop and type the command

cd %plesk_bin%

Next, enter the command below (in one line) replacing domain.com with the affected domain

dbclient.exe --direct-sql --sql="update dns_zone set status=0 where name='domain.com';

You can then switch off and on the DNS and it should resolving fine.

How to reset the Plesk admin password

Wednesday, November 23rd, 2011

To reset the Plesk admin password on Windows servers, from the Plesk bin folder %plesk_bin% run the command plesksrvclient.exe

"%plesk_bin%\plesksrvclient.exe"

It will produce a pop-up box in which you can enter a new password. You will then be able to login to Plesk as admin using the new password.

You can also see the existing password using the command below

"%plesk_bin%\plesksrvclient" -get

List running processes (command line)

Tuesday, November 8th, 2011

The following command-line outputs the list of running processes (with the complete command-line arguments used for each process) to a text file:

Click Start, Run and type CMD

Type the command given below exactly:

WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid

or

WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline

Now, open the file C:\ProcessList.txt. You can see the details of all the processes in that file.

Windows site asking for password

Wednesday, January 17th, 2007

Login to plesk, select the domain, click web directories. Here, select the the protection tab and click remove protection if enabled.

If that does not work, try resetting the FTP password from the setup section.

If the site still asks for login, connect using remote desktop, run cmd and then enter the commands:

cd %plesk_bin%
websrvmng --update-anon-password --domain-name=

This can also be run for all domains in one go with the command

websrvmng --update-anon-passwords-all

Plesk login error

Wednesday, January 17th, 2007

========================
DefPackageMng() constructor failed: defpackagemng failed: Access is denied. (Error code 5) at CreateProcess 'C:\WINDOWS\system32\cmd.exe /c ""C:\Program Files\SWsoft\Plesk\admin\bin\defpackagemng.exe" --get"'
at execUtil C:\Program Files\SWsoft\Plesk\admin\bin\defpackagemng.exe --get on c:\windows\system32\inetsrv(PleskSrvClient::execUtil line 435)
at execute console command --get(vconsoleapp::start line 128)
at execute "C:\Program Files\SWsoft\Plesk\/admin/bin/defpackagemng" --get(vconsoleapp::run line 138)

========================

To correct this error, check permissions of the file
c:\windows\system32\cmd.exe

The user SYSTEM should be set to allow all permissions (it may be set on deny).