Saturday, April 23, 2011

Hyper-V: An error occurred while attempting to export the virtual machine.

When you try to export Hyper-V Virtual machine to network share you get this error:

An error occurred while attempting to export the virtual machine. 
Failed to copy file during export.
General access denied error (0x80070005)


Solution:
Computer account of Hyper-V host should have permissions on NTFS and share level to write to target network share:

NTFS permissions:

1.  On the destination server, Right-click on the shared folder and select Properties. 
2.  Select the Security tab. 
3.  Click Edit button and click the Add button in the permissions dialog box. 
4.  Click Oject Types and select Computers if not already done and click OK.
5.  In the dialog "Enter the object names to select" provide the name of Hyper-V host machine and click Check Names.
6.  With the Hyper-V host machine name select, click Allow by "Full control" and click OK.

Share  permissions:

1.  On the destination server, Right-click on the shared folder and select Properties. 
2.  Select the Sharing tab. 
3.  Click Advanced Sharing...
4.  On the Advanced Sharing dialog, click Permissions  and then Add.
5. Click Oject Types and select Computers if not already done and click OK.
6.  In the dialog "Enter the object names to select" provide the name of Hyper-V host machine and click Check Names.7.  With the Hyper-V host machine name select, click Allow by "Full control" and click OK.

Thursday, April 21, 2011

Hyper-V: The operation cannot be performed while the object is in its current state.

This message appears when you try to delete Virtual Machine from Hyper-V Manager:

The operation cannot be performed while the object is in its current state.

If you go manually to delete the folder where is VM located you will get an error message that you don't have permissions to do that. Into this folder there is config XML file:



Solution for this issue is to find the same XML file in :

C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines

and to delete it.
Note: First you should enable: Show hidden files, folders and drives in Folder Option. 




After that when you open Hyper-V Manager you will see that the machine is gone.

Tuesday, March 29, 2011

Enable WINDOWS 7 Administrator Account with Group Policy (GPO)

Administrator account is disabled by default on Windows 7.
Group Policy can be used to enable it.
Create a new GPO and go to: Computer configuration -> Policies -> Windows Settings -> Security Settings -> Security Options. On Right Pane click on Accounts: Administrator account status and change the settings to Enabled.


To enter a password for the Local Administrator Account, Group Policy Preferences can be used:

Go to Preferences -> Control Panel Settings -> and right click on Local Users and Groups. Choose: New -> Local User. From Drop-down menu on User name choose: Administrator (built-in).
Put the password and confirm it.




Wednesday, March 9, 2011

FLEXlm license finder issue

During customization of 3ds Max 2009 Software Package for Network deployment described on AutoDesk web site (http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=14195309&linkID=9241177), Network License Server has been configured:


But after the installation when 3ds Max has been started, from some reason the value for Network License Server previously configured in Network deployment package is not accepted, FLEXlm license finder pop-up and ask for License File or License Server.



Solution for this can be adding System Environment variable ADSKFLEX_LICENSE_FILE with the value of @SERVERNAME and deploying on the workstations using GPO Preferences.

@SERVERNAME - is the name of your Network License server

Tuesday, March 8, 2011

Deploying 3ds Max 2009 using SCCM 2007 R2

Creating of Customized Network deployment of 3ds Max is described on AutoDesk web site:

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=14195309&linkID=9241177

When the creation of Network Deployment is done a shortcut 3dsmax_2009.ini is created.


Click on it will allow 3ds Max to be installed in silent mode (if silent mode is specified during network deployment creation).

This shortcut points to the subfolder AdminImage which call setup.exe, use switch /I and 3Dsmax_2009.ini file created by Network deployment procedure.

setup.exe /I 3Dsmax_2009.ini

Note:
setup.exe and 3dsmax_2009.ini contains network UNC path where they are physically located.

\\server\share\3dsmax_2009\AdminImage\setup.exe /I \\server\share\3dsmax_2009\AdminImage\3dsmax_2009.ini

Using this syntax  SCCM package can be created and 3ds Max 2009 will be successfully deployed:

Tuesday, March 1, 2011

nvpxplugin.dlm failed to initialize

DLL C:\Autodesk\3ds Max 2009\PluIns\nvpxplugin.dlm failed to initialize.
Error code 14001 - This application has failed to start because the application configuration is incorrect.

This error message appears when Autodesk 3ds Max 2009 has been launched on Windows XP SP2 64-bit.



Solution is to reinstall the following applications:

  • NVIDIA PhysX System Software
        http://www.nvidia.com/object/physx-9.10.0513-driver.html
  •  NVIDIA_PhysX_Plug-in_3dsMax_x64_2.01.1222.0945.msi
        http://developer.nvidia.com/object/physx_dcc_plugins.html
        Plugin for 3ds Max is free but it requires to register to download it.

Wednesday, February 16, 2011

Change Virtual Memory using Group Policy Preference

To change Virtual Memory on Windows 7, the following registry key should be modified:

Value type: REG_MULTI_SZ
Value Name: PagingFiles
Value Data: c:\pagefile.sys 73725 73725

In Value Data there is a location and page file name, first 73725 is initial size, second 73725 is max size.
Registry path is:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management


 


 To deploy this Registry Key you can use Group Policy Preference.
Open Group Policy Management Editor, Preferences, Right click on Registry -> New -> Registry Item. 


Enter the values from the beginning of this article:


Apply this GPO to the Computer accounts and restart the computers.