Stuff…

I know I will forget.

Stuff… header image 4

Entries Tagged as 'Windows'

Delete service / get plesk password

May 29th, 2008 · No Comments

How do you get the Plesk administrator password in Windows: C:\Documents and Settings\Administrator>cd %plesk_bin% C:\SWSoft\Plesk\admin\bin>plesksrvclient -get How do you remove a service listed in the services if it no longer exists? C:\>sc delete MSSQL$SQLEXPRESS [SC] DeleteService SUCCESS This was particularily useful when trying to re-install/upgrade SQL Express.

[Read more →]

Tags: Operating System · Windows

Adding a user to Windows via command line

May 6th, 2008 · No Comments

Useful if you need access to a Windows Virtuozzo virtual environments RDP. net user YOURUSER YOURPASS /ADD net localgroup Administrators YOURUSER /ADD

[Read more →]

Tags: Operating System · Windows

Removing the MBR/partition information

May 5th, 2008 · No Comments

Note: By running any of the following commands you may cause your system to become un-bootable. Best make backups of the MBR prior to trying anything within. Use at your own discretion. URLs: http://linuxgazette.net/issue63/okopnik.html http://www.cgsecurity.org/wiki/TestDisk http://en.wikipedia.org/wiki/Master_boot_record Ben Okopnik wrote a good article on the linux gazette site called “Clearing out the Master Boot Record”. I [...]

[Read more →]

Tags: Linux · Operating System · Windows

SQL Express

January 24th, 2008 · No Comments

Had to migrate a site from a remote server onto a Windows virtual server (Virtuozzo) running Plesk. The site had a database running on SQL Server 2005, but, by default Windows Plesk virtual servers only run MSDE. The database also had stored procedures, which, MSDE doesn’t support. So, needed to install SQL Express 2005. I [...]

[Read more →]

Tags: SQL · Windows