How to run virtual machine as windows services

September 7, 2009

If you are a user of VM workstation, you can run virtual machine as windows service. So that log out from host machine does not impact on running guest OS. Even if you reboot host, it will automatically restart guest machine. So there will be no manual intervention. How to do that?

Step1 download windows resource tool kit and install in host 

Step2 go to start menu>All Program>windows resource kit tool and open windows resource kit

instsrv.exe TEST “c:\Program
Files (x86)\Windows Resource Kits\Tools\srvany.exe”

image

For this Article, I will add a “TEST” service.

Step3 start menu>run>regedit.exe>ok

HKLM>system>CurrentControlSet>Services>Test

right click on to TEST>New>Key and name it as parameters

image

right click on parameters>string value and name it as Application

image

right click application>modify and type

“C:\Program Files (x86)\VMware\VMware Workstation\vmware.exe” –X “D:\WINVM\test.vmx”

Here, D:\winvm\test.vmx is the location and .vmx file of guest machine.

image

Apply and start the service.

Start menu>All program>VMware>VMware Workstation>Edit>Preferences>Check Keep VMs running after workstation closes.

image


How to ban inappropriate URL or contents/keywords using MS ISA

September 7, 2009

You can ban inappropriate URL or contents that contain keywords such as pornography, torrentz etc using signature blocking option in MS ISA.

Step1 create an allow access policy as follows

name Action Protocols listener To Condition
Allow users Allow HTTP
HTTPS
Internal
Local Host
External All Users

 keyword1 keyword2 keyword3 keyword4 keyword5 keyword6 keyword7 

Step2 Right click on Allow policy you just created>Configure HTTP>Signature>Add

keyword8

keyword9

 keyword10

Click ok>Apply>Ok>Apply on ISA Management console

keyword11

Similarly, you add more signature to block. Now the entire contents/url will be blocked whenever any user search or browse it.


Follow

Get every new post delivered to your Inbox.

Join 338 other followers