VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Aug 28, 2008 3:39 PM by etung  

cannot change Suspend Guest Operation System Script from default to custom script posted: Aug 15, 2008 4:31 AM

Click to view OMEGA2ReD's profile Lurker 5 posts since
Aug 9, 2008
hello,

i want my VM(windows xp) to copy some files to a share before i suspend the guest.

so i edit the C:\Program Files\VMware\VMware Tools\suspend-vm-default.bat file by clicking the Edit button on the Scripts tab from within the VMWare Tools Properties.

and set the property to Custom script.

But every time when i open the Script tab the setting is back to Default Script.

So i am unable to run the Custom Script when i Suspend the Guest.

thanks!
Click to view etung's profile Guru 11,098 posts since
Oct 15, 2006
Are you sure it's not actually running your custom script? I believe the default/custom check might only be if it's in the default location or not. By choosing a custom script but leaving the path alone, you're actually editing the default script. Instead, you could (should?) make a copy of the script somewhere else and edit it.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities