Tuesday, October 23, 2012

How to reset Mac OS X app trials

http://web.archive.org/web/20091004032150/http://bluman.wordpress.com/2009/09/20/just-a-little-bit-longer/


sudo fs_usage grep applicationName grep open

Just a little bit longer

September 20, 2009Leave a commentGo to comments
There are many commercial Mac applications out there, which offer a free demo for download. Often you can use the full featured program for a limited time or a limited number of tasks. If you want to use the software after the trial period, you have to buy a licence for it. Sometimes I want to test these applications just a little bit longer, so I looked for a way to extend the trail period.
Since Mac OS doesn’t use something similar to the registry in Windows, the information about how many days are left for testing has to be stored somewhere in a file. If you knew the location of this file, you could just delete it and the trail period will start from the beginning. Of course, software developers don’t want you to do that. Therefore, these files are normally in locations you wouldn’t look and have meaningless names.
Fortunately, there is a tool which can help called fs_usage. This command line tool reports filesystem activity in real-time. Since there normally is a lot of activity going on, it is useful to filter out entries coming from the application of interest by grepping. You will also get information about what kind of activity is performed, allowing further filtering. With the following command you should be able to find the file of interest:
sudo fs_usage | grep applicationName | grep open
I deleted the file and was able to test the software further on, before making the decision to pay for it. If you want to test the application even longer without having to repeatedly deleting the file, you can try to change the file permissions (with chmod) such that the file is not writable anymore. Of course, this will only work if the number of uses are counted there, not if the date of first program start is stored. Have fun!
  1. Issac
    October 2, 2009 at 19:18 | #1
    “fs_usage tool”, is this an App, a Download, etc? Where is the command; “sudo fs_usage | grep applicationName | grep open” to be entered? Thank you for your post! I’m trying to decide if this App is for me..
  2. October 2, 2009 at 20:44 | #2
    fs_usage is a terminal command, which should be included in MacOS. Fire up Terminal.app and type in the command provided in the article (substituting applicationName with the application name ;) ). The output will help you fix the demo. Let me know if you need help!

Monday, October 22, 2012

Uninstalling Applications in Mac OS X / To manually remove an application and all associated files

http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X

Uninstalling applications in Mac OS X is very different than uninstalling in a Microsoft Windows environment because Mac OS X has nothing like the Windows Registry. While most Windows programs include an uninstaller that can be run through using the Add/Remove Programs control panel, no such feature exists in Mac OS X and so most users simply move application bundles (see below) to the Trash. However, often times there is more to uninstalling than a simple drag-and-drop to the trash. This article will guide you on how to fully uninstall applications.


Application Bundles

Control-click or RIght-click on any application to see if it is a bundle
Enlarge
Control-click or RIght-click on any application to see if it is a bundle
Most Mac OS X applications (anything that ends in .app), like Safari and iTunes, are bundles. The application icon you see in Finder (typically the Applications Folder) is usually a special folder itself, made to appear as a single double-clickable file. These "folders" contain all, or at least most, of the files needed to run the application, ie they are self-contained. This means that to uninstall these applications, you only have to drag them to the Trash. If you control-click (or right-click) on an Application icon, and you see "Show Package Contents", then it is a bundle.
[edit]

Additional Files

Applications will leave behind preference files, and sometimes application support files, neither of which are stored in application bundles. Preference files can be safely deleted, but they usually take up negligible disk space — and, if you decide to reinstall the application again later, keeping the preference file means your settings will still be there. They are stored in the Preferences folder within your user's Library folder (~/Library/Preferences), or may also be stored in the system-wide Library located at the root of the system volume (/Library/Preferences/).
Application support files can take up anywhere from a few kilobytes to several gigabytes of space, depending on the application installed. Examples of applications that have large support files are multimedia programs such as Garageband and DVD Studio Pro. They are located in the Application Support folder within your user's Library folder, or in "/Library/Application Support/".
To remove an application's icon from the dock make sure that the program is not running at the time, then simply drag the icon off of the dock and let go. There will be a puff of smoke animation and the icon will be gone. This will only remove the dock icon/shortcut, and will not touch the application itself or any of its support files.
[edit]

Using Finder to remove Application Bundles and Additional Files

Using Finder to remove applications and all preference files
Enlarge
Using Finder to remove applications and all preference files
Adapted from a forum post by GGJstudios
To manually remove an application and all associated files:
  • Launch Activity Monitor and change "My Processes" at the top to "All Processes", then make sure the app you want to remove is not running. If it is, quit the process before proceeding.
  • Launch Finder and search for the app name (hopefully unique, such as Skype)
  • You can narrow the search to specific folders or search your whole Mac
  • Searching "File Name" vs "Contents" usually provides better results.
  • Click the + button below the search term to add criteria
  • Click the search criteria drop-down and select "Other...", then "System files"
  • Click the "don't include" and change to "include"
  • Sort by name, kind, date, etc. to identify components of the app, such as folders, .plist files, cache files. etc.
  • Delete all files and folders related to the app.
  • Don't empty your Trash until you've determined that everything is working OK, in case you need to restore something you deleted by accident.
  • A reboot might be necessary to completely remove some apps.
[edit]

Applications with Installers/Uninstallers

If you ran an installer to install an application, you may wish to try running the installation program again to see if an uninstall option is available at any point during installation (many times in a drop-down menu). Check the installation CD or disk image for the original installer file. Some vendors have included simple Perl scripts that will run in the command line to uninstall applications, and may be named "uninstaller.pl".
[edit]

Third Party Uninstallers

Be aware that third party uninstallers, including those listed below, do not completely remove all files/folders associated with apps. Many will remove small files, such as .plist files, but leave behind much larger files. For more information, read this. For complete removal of all files/folders associated with uninstalled apps, use Finder and the manual method described above.
Caution is advised when using any automated method of deleting files, as such methods could result in files being deleted that you didn't want deleted. Many have reported problems caused by the use of apps like CleanMyMac and MacKeeper, so avoidance of these apps altogether may be wise.
Third party uninstallers exist which will search for these preference files for you, such as AppCleaner, AppTrap, AppZapper, CleanApp and TrashMe, but these apps will not remove all components of installed apps.


To manually remove an application and all associated files:



To manually remove an application and all associated files:
  1. Launch Activity Monitor and change "My Processes" at the top to "All Processes", then make sure the app you want to remove is not running. If it is, quit the process before proceeding.
  2. Launch Finder (see image below) and search your entire hard drive for the app name (hopefully unique, such as Skype)
  3. In Finder, select View > "as List", if you haven't already done so. Do not use "as Icons" for this procedure.
  4. You can narrow the search to specific folders or search your whole Mac, which is preferred
  5. In Snow Leopard and earlier, click "File Name" instead of "Contents" for better results.
    In Lion and later, click the + button below the search term, then select "Name" "Contains" and enter the app name. (see image)
    Click image for larger version

Name: Name Contains.png
Views: 417
Size: 51.8 KB
ID: 357383
  6. Click the + button below the search term to add criteria, then click the search criteria drop-down and select "Other...", then "System files"
  7. Click the "aren't included" and change to "are included"
  8. Sort by name, kind, date, etc. to identify components of the app, such as folders, .plist files, cache files. etc.
  9. Delete all files and folders related to the app.
  10. Don't empty your Trash until you've determined that everything is working OK, in case you need to restore something you deleted by accident.
  11. A reboot might be necessary to completely remove some apps.
Click image for larger version

Name: Fully Delete Apps.png
Views: 4835
Size: 98.0 KB
ID: 338830
Click here to see a video demonstration of this procedure, created by simsaladimbamba.


[edit]

Wednesday, October 10, 2012

Uninstall Oracle Java 7



Uninstalling the JRE

To uninstall the JRE, you must have Administrator privileges and execute the remove commands either as root or by using the sudo(8) tool.
Remove one directory and one file (a symlink), as follows:
  • Navigate to /Library/Internet Plug-Ins and remove the JavaAppletPlugin.plugin directory.
  • Navigate to /Library/PreferencePanes and remove JavaControlPanel.prefpane.
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.

How do I uninstall Java 7 and restore Java 6 for my Mac?


This article applies to:
  • Platform(s): Macintosh OS X
  • Java version(s): 7.0

Uninstall Oracle Java 7
Following the steps listed will uninstall Oracle Java 7 from your system.
Note: To uninstall Java 7, you must have Administrator privileges.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on the sidebar
  3. In the Search box enter JavaAppletPlugin.plugin
  4. This will find the JavaAppletPlugin.plugin file
  5. Right click on JavaAppletPlugin.plugin and select Move to Trash
Restore Apple's Java after uninstalling Oracle Java 7
If you find an issue using Java 7 and would like to continue using Apple's Java on your Mac, you will need to first uninstall Java 7, then restore Apple's Java
Note: To restore Apple's Java, you must have Administrator privileges and execute the command either as root or by using sudo.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on sidebar
  3. Click on the Utilities folder
  4. Double-click on the Terminal icon
  5. In the Terminal window Copy and Paste the command below:
    sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

MORE TECHNICAL INFORMATION 

Alternative method to Uninstall Oracle Java 7 using the Terminal
This is an alternative method for uninstalling Java 7 for advanced users familiar with entering commands on Terminal window.
Following the steps listed will uninstall Oracle Java 7 from your system.
Note: To uninstall Java 7, you must have Administrator privileges and execute the remove command either as root or by using the sudo.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on sidebar
  3. Click on the Utilities folder
  4. Double-click on the Terminal icon
  5. In the Terminal window Copy and Paste the command below:
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jre.html


http://java.com/en/download/help/mac_uninstall_java.xml


Sunday, September 30, 2012

Parallels Desktop 8 for Mac Trial Key

How can I check my license keys if I’m asked by support?

Unable to activate Parallels Desktop for Mac with valid activation key


How can I check my license keys if I’m asked by support?

Article ID: 5680 
Created On: Nov, 3 2008
Last Review: Aug, 30 2012
Views:
 
Was this article helpful?
No Yes
APPLIES TO:
  • Parallels Desktop 8 for Mac
  • Parallels Desktop 7 for Mac
  • Parallels Desktop 6 for Mac
  • Parallels Desktop 5 for Mac
  • Parallels Desktop 4 for Mac
  • Parallels Desktop Licensing, Activation and Registration

NOTE FOR PARALLELS DESKTOP 7 FOR MAC / PARALLELS DESKTOP 8 FOR MAC USERS


Parallels Desktop 7 and Parallels Desktop 8 key will not be shown in licenses.xml file. 

Instead, 14-digits secure code will be displayed in the following format: XXXX-XXXXX-XXXXX. This code is called Product ID. You can find more information about it here:

http://kb.parallels.com/111826

Once you follow the instructions below and locate your Parallels Desktop 7 / Parallels Desktop 8 Product ID, please contact Parallels Customer Support to decode Product ID and get your Parallels Desktop 7 / Parallels Desktop 8 activation key.


RESOLUTION

Your Parallels Desktop license key(s) will be located in the following file:

/Library/Preferences/Parallels/licenses.xml

NOTE:
 In case you have Mac OS X Lion installed, you need to click on Go in the top Mac menubar, choose Computerand follow the path above.

If you upgraded to the current version of Parallels Desktop from a previous version, all previous keys will also be stored in that file.

You can open the file in the TextEdit application.

The content of the file that holds your key(s) is similar to the one bellow:



  
  
  
      XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
  


When asked by support, please provide the information between the tags


  
  
  
      XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
  



For information on retrieving license keys for Parallels Desktop for Mac versions 2.x or 3.x, please see the following article: http://kb.parallels.com/4661


Unable to activate Parallels Desktop for Mac with valid activation key

Article ID: 113647 
Created On: Apr, 6 2012
Last Review: Jul, 31 2012
Views:
 
Was this article helpful?
No Yes
APPLIES TO:
  • Parallels Desktop 7 for Mac
  • Parallels Desktop 6 for Mac
  • Parallels Desktop 5 for Mac


Symptoms

1. Unable to activate Parallels Desktop for Mac with a valid, correct activation key.

2. Every time Mac restarts Parallels Desktop prompts for an activation key.


Cause

Parallels Desktop activation key that is present in the licenses.xml file is not getting recognized by the Parallels Desktop.

Resolution

1. Unable to activate Parallels Desktop for Mac with a valid, correct activation key.

Please perform these actions to solve the issue:

1.    Open Terminal application on Mac located in /Applications/Utilities
   
2.    Paste the command into Terminal as is and hit return (type your password when prompted):

      sudo launchctl stop com.parallels.desktop.launchdaemon

3.    Open Finder, go to Macintosh HD /Library/Preferences/Parallels and move licenses.xml file to Trash

Important notice: Library folder may be hidden, so you need to make it visible first

4.    Paste another command into Terminal and hit return:

      sudo launchctl start com.parallels.desktop.launchdaemon

These steps are needed to restart Parallels Service and they are safe for Mac OS X .

After the above steps have been followed, please activate Parallels Desktop 7 for Mac again.


Instructions for activation with a Full key: http://kb.parallels.com/111757

Activation with Upgrade key: http://kb.parallels.com/111789


To activate Parallels Desktop 5.0 please follow this KB

2. Every time Mac restarts Parallels Desktop prompts for an activation key.

1. Quit Parallels Desktop.
2. Go to Applications folder -> Utilities -> Terminal.
Run the following commands in Terminal window:
sudo launchctl stop com.parallels.desktop.launchdaemon
sudo launchctl start com.parallels.desktop.launchdaemon

Thursday, September 13, 2012

Internet Fax Service

http://office.microsoft.com/en-us/providers/available-fax-services-HA001003575.aspx


Available Fax Services

Concord Business Fax Suite Concord Internet Fax for Microsoft Office directly plugs into your Microsoft Outlook 2003 or Microsoft Office 2007 applications enabling you to send and receive faxes worldwide. Concord provides leading reliability and redundancy features enabling businesses to be compliant with any disaster recovery requirements. Received faxes are securely transmitted to your Outlook inbox whenever you are online. Sign up for your own personal local or toll free fax numbers or contact Concord for a solution for your entire company. Concord provides free online and telephone support for this service. Sign Up with Concord.*
eXtreme Fax provides you with a complete and affordable Internet Fax service for your business. Included with your eXtreme Fax plan is free fax software for signing, managing, and editing faxes electronically, and eXtreme Fax works with all Microsoft Office applications. Brought to you by RingCentral - a leader in communications technology since 1993 - eXtreme Fax makes sending and receiving faxes easy, secure, affordable, and convenient. Sign Up with eXtreme Fax Service.*
InterFAX enables Microsoft Office users to send faxes directly from Microsoft Office System applications with no installation of fax modems, fax software, or phone lines. InterFAX lets users send and receive faxes from any workstation on the office network, directly from Office applications. With no learning curve, InterFAX is easy to install and use. Sign Up with InterFAX Fax Service.*
MyFax is an online fax service that lets you send faxes directly from Microsoft Outlook, Word, Excel or PowerPoint; and receive faxes directly to your Inbox. MyFax saves you the cost of a fax machine, a dedicated fax line, paper, toner, maintenance and long-distance charges. Choose a toll-free fax number at no extra cost and your customers also avoid long distance charges. For only $10 monthly you get 100 outgoing fax pages and 200 incoming pages per month. Try MyFax now free for one month. Sign Up with MyFax.*


RapidFAX lets you send and receive faxes from anywhere using Microsoft® Outlook® or an easy to use online interface. RapidFAX will convert almost any attached document into a fax or you can use our plug-in and fax directly from Microsoft Office. RapidFAX saves you time and money since you won’t need a fax machine, toner or paper. Local and Toll-Free numbers are available at no extra charge. Click now to get the RapidFAX No Worry offer including up to 300 pages for only $9.95 a month. Sign Up with RapidFAX.*
RingCentral has an award-winning fax service that lets you electronically sign, send and receive faxes, as well create cover pages with your logo. One phone number is all you need for your main number, fax, and voicemail. With an easy Web-based portal, you can forward your calls to multiple numbers during select times of the day/days of the week. No additional hardware required. Free Trial. Sign up with RingCentral.*
Venali integrates directly into your Microsoft Office applications, letting you send faxes over the Internet, without separate fax machines, fax servers, phone lines, or maintenance. Send and receive fax documents to or from any fax number worldwide directly from your desktop, laptop, or wireless device as easily as you send and receive e-mail. Includes your own fax number and Venali’s patented Junk Fax Filter.Sign Up with Venali Fax Service.*

Saturday, August 25, 2012

Consumer security software providers

Windows 7 consumer security software providers

Antimalware apps for Windows 8 Consumer Preview and Release Preview


Using Microsoft MSDN Subscriber Downloads

http://msdn.microsoft.com/en-us/subscriptions/aa948864.aspx


Using ISO Image Files Many products are posted as ISO-9660 image files. An ISO-9660 image file is an exact representation of a CD or DVD, including the content and the logical format. The most common use of an image file is to write it to a blank CD-R or DVD-R, resulting in an identical copy of the original disc including file name and volume label information. ISO image files may also be opened and their contents copied to a local folder, much like ZIP files. ISO files may also be virtually mounted and accessed as a device. These three methods of using ISO images are described below. Note: you may have to rename the file extension from .IMG or .UDF to .ISO, depending on your software. Writing ISO files to CD-R or DVD-R Most CD-R/DVD-R writing software includes a feature to create a disc from an image file. Note: you must use the special "copy image to CD" or "burn image" functionality. See your software’s Help for detailed information. Writing ISO images to CD-Rs and DVD-Rs The Windows Server 2003 Resource Kit includes the DVDBURN.EXE command line tool. Though it has not been tested by Microsoft, many customers also report success using ISO Recorder. Testing CD-Rs and DVD-Rs After your CD/DVD-R has been written, you can compare your download copy to the original to verify that the process was successful. For this purpose, Subscriber Downloads provides the SHA-1 hash value for the download’s ISO image; to view the SHA-1 hash value, click “Details” in the download’s listing on Subscriber Downloads. To verify your copy, you can use the Sigcheck tool, available from Sysinternals, to generate its SHA-1 hash value by running Sigcheck with the –h option; then compare the value you generated against the original to verify your copy. In addition, many freeware programs can calculate an SHA-1 hash value; use your favorite Internet search engine to look for sha1 hash to find them. Accessing ISO images via Virtual Drives Certain tools exist which create a virtual disc drive on your PC and mount an ISO image on that drive. These tools typically assign a new drive letter to this drive, and the contents of the image can be accessed by opening “My Computer” and double clicking on the new drive. Though they have not been tested nor are supported by the Subscriptions team, customers report that Daemon Tools offer such capability. Other products like IsoBuster and WinRar can access the contents of ISO images directly and verify ISO files, but also have not been tested nor are supported by the Subscriptions team.


http://msdn.microsoft.com/en-us/subscriptions/aa948864.aspx

Monday, August 20, 2012

Locating the virtual machine bundle in VMware Fusion

kb.vmware.com/kb/1007599

kb.vmware.com/kb/1021016


Fusion creates a virtual machine as a bundle, which is a set of files grouped together as a package. Each virtual machine bundle contains the virtual machine's virtual disks (data) and settings files. Note: Before you alter the virtual machine's files, VMware recommends copying the virtual machine's bundle to a safe location (either on an external hard drive or anywhere else on the Mac's hard drive) to backup the virtual machine. For more information, see Best practices for virtual machine backup (programs and data) (1013628). By default, virtual machine bundles are stored in Macintosh HD/Users//Documents/Virtual Machines. Depending on your version of Fusion and your Mac OS Settings, this last folder name may be Virtual Machines.localized. Note: Virtual machines running off of Boot Camp partitions are stored in Macintosh HD/Users//Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp. Only Fusion's virtual machine settings files for the Boot Camp partition are stored here; Fusion uses the Boot Camp partition as the virtual disk. If you have used the virtual machine in VMware Fusion, you can locate its bundle. To locate a virtual machine bundle: Launch Fusion. If the Virtual Machine Library window is not visible, go to Window > Virtual Machine Library. From the list on the left side, press Ctrl and click the virtual machine for which you want to locate the files. Note: In Fusion 4.x, press Ctrl and click the thumbnail of the virtual machine for which you want to locate the files. Click Show in Finder. If the virtual machine does not appear in the Virtual Machine Library, you can use Mac OS X's built-in Spotlight feature to locate it: Click the Spotlight icon in the top-right corner of your screen (at the far right of the menu bar). Type .vmwarevm. Click Show All. If you see more results that are not virtual machines, click File Name from the search result window's search bar (rather than Contents). Press Ctrl and click the virtual machine whose files you wish to locate. Click Open Enclosing Folder. The revealed object is the virtual machine bundle. To see its contents: Press Ctrl and click the bundle. Click Show Package Contents.






Create a Menu Item to Hide and Show Hidden Files in OS X

Use Automator to Create a Contextual Menu to Hide or Show Hidden Files

How To: Use Automator to show/hide hidden files

http://macs.about.com/od/diyguidesprojects/qt/Create-A-Menu-Item-To-Hide-And-Show-Hidden-Files-In-Os-X.htm

http://www.mikesel.info/use-automator-show-hide-hidden-files/


Using Automator to Create a Toggle Hidden Files Menu Item Launch Automator, located in the /Applications folder. Select Service as the type of template to use for your new Automator task, and click the Choose button. In the Library pane, make sure Actions is selected, then underneath the Library item, click Utilities. This will filter the available workflow types to just those relating to utilities. In the filtered list of actions, click Run Shell Script and drag it to the workflow pane. At the top of the workflow pane are two drop-down menu items. Set the 'Service receives selected' to 'files or folders.' Set the 'in' to 'Finder.' Copy the entire shell script command that we created above (all eight lines), and use it to replace any text that may already be present in the Run Shell Script box. From the Automator file menu, select "Save," and then give the service a name. The name you select will appear as the menu item. I call mine Toggle Hidden Files. After saving the Automator service, you can quit Automator. Using the Toggle Hidden Files Menu Item Open a Finder window. Right-click any file or folder. Select Services, Toggle Hidden Files, from the pop-up menu. The Finder will toggle the state of hiding files, causing hidden files and folders to display or be hidden depending on their current condition.



Monday, June 4, 2012

Convert-Windows​Image.ps1 - WIM2VHD for Windows 8!

Convert-Windows​Image.ps1 - WIM2VHD for Windows 8!

Convert-WindowsImage is the new version of WIM2VHD designed specifically for Windows 8. Completely rewritten in PowerShell, this command-line tool allows you to rapidly create sysprepped VHD and VHDX images from setup media for Windows 7/Server 2008 R2 and Windows 8/Server 2012.


http://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f





Mimmo97 Blog Archive