Windows VE/CT EFD mount/check

Was having a problem with a Windows Virtuozzo VE/CT and needed to check the VE/CT virtual disk for file system corruption.

URLs:

Commands issued to check the virtual disk file for errors:

C:\Documents and Settings\Administrator>vzcfgt get 100 GUID
{A88D866B-0382-47FC-9BFB-37056F286745}

C:\Documents and Settings\Administrator>vzdskctl mount d:\vz\private\100\root.ef
d {A88D866B-0382-47FC-9BFB-37056F286745}
SUCCESS

C:\Documents and Settings\Administrator>chkdsk /f \\?\Volume{A88D866B-0382-47FC-
9BFB-37056F286745}

C:\Documents and Settings\Administrator>vzdskctl umount {A88D866B-0382-47FC-9BFB
-37056F286745}
SUCCESS

Whilst the virtual disk is mounted you can browser the file system in VZDRIVE:\vz\private\100\root

IIS6 and passive mode FTP

Make sure that IIS is setup to allow the meta base to be edited whilst running and then run:

cd Inetpub\AdminScripts
adsutil.vbs set /MSFTPSVC/PassivePortRange “5500-5520”
iisreset

Then you need to open the ports in the firewall.  If using the inbuilt firewall you can add the manually like:

C:\Inetpub\AdminScripts>NETSH FIREWALL ADD PORTOPENING TCP 5500 PassFTP
Ok.

C:\Inetpub\AdminScripts>NETSH FIREWALL ADD PORTOPENING TCP 5501 PassFTP
Ok.

etc.