Export-VM to a network share permission problems

Hello,
I am just getting into scripting backups of Hyper-V VMs using Powershell. I have using 2008 R for the Hyper-V host and 2008 R2 for the server with the network share. I am using Powershell Management Library. I have been able to export the VMs up to the local
VM host. However, I have not been successful in exporting  to a network share. I get the stock message:
"Failed to create export directory with error 'General access denied error'(0x80070005): MyVMtoExport (98504EFC-2B8A-43A8-A14D-999B78CFB736)
Failed to create export directory."
I have read about and applied NTFS and share permissions on the folder on the network share. I have given full control to my domain account, the domain Admin account, as well as the machine account of the Hyper-V host.
I have been able to (as the same user), xcopy files from the Hyper-V host to the share. I have also been able to export the VM from Hyper-V manager to the share.
I have gone back an forth checking permissions, but can't seem to export the VM as myself or as the Hyper-V host machine account.

Hi ,
I assume that the logged user can manager hyper-v and it has proper share/ntfs permission on share folder (also the computer account ).
Please run powershell.exe directly on hyper-v host do not "run as administrator" then export the VM   .
BTW , here is a script for exporting .
http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/02/08/powershell-script-for-exporting-a-virtual-machine.aspx
Hope it helps
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Share permission problem

    Hi,
    Parent share folder: (share permission: read)
    D:\Management
    Sub folders: (secutiry permission: modify by owner)
    D:\Management\David
    D:\Management\Mary
    D:\Management\Ann
    For all sub folders, I have removed inheritance from security. Thus, only folder owner can access.
    I don't want users create anything under parent share folder (D:\Management). Thus I tried to set share permission to read only, but all also affected to all sub folders.
    Is possible to make parent share folder (D:\Management) read only, but sub folders with modify permission ??
    Thanks

    Hi,
    You can manage folder access by using NTFS permissions exclusively by setting share permissions to Full Control for the Everyone group. 
    For the Parent share folder: give users read permissions– “This folder only”. Then users can modify their own subfolders.
    Determine Where to Apply Permissions
    http://technet.microsoft.com/en-us/library/cc771309.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Network Drive Permission Problem on Single Computer

    I am setting up a user on a new computer. On our computers we have four mapped drives. One of these is a personal drive which only he has access to. He can open three of the four mapped drives without a problem, but he cannot open the personal mapped drive.
    It says he does not have permission. What makes this weird though is he has no problem accessing the drive from any other computer. It is singularly a problem on this one computer only.
    The One X

    I was able to figure out the problem. I was unaware there is a "Work Offline" button for network drives (I'm a developer not a network guy). Apparently the previous user had pressed that button, and it has an affect on the whole computer no matter
    what user you logged in as. When you click on the drive to access it the warning doesn't say anything about working offline or give any hint to it being a problem. Kind of a poorly implemented feature by Microsoft I would think.
    Thanks for the help Acreed, going through your suggestions did help me to discover the problem as the "Offline Files" tab only appears when logged in as Administrator and navigating to the drive in Explorer. It really angers me that Microsoft made
    something so simply so difficult to know what the issue is.
    The One X

  • Leopard Windows Networking/Share Access Problem Solution

    Problem Solved!!
    I just got my very first Mac 2 days ago. A Mac Book. Right out of the box I was able to see all the Windows PCs on my home network. 3 XP machines and 1 Vista machine. But somewhere along the way probably after the first reboot I was no longer able to see the machines or the shares. Tried a lot of things that I found on this forum. What worked is the following
    Changes all my windows PCs from DHCP to Static IP
    Left my Mac Book still as DHCP
    Updated the /etc/hosts file on my Macbook with the IP address and names of all my Windows PCs
    The first time around went into Finder/Go/Connect Server and typed in smb://windowspcname/share
    Voila!! I got connected. It asked for the ID/pwd that I want to use to connect to my Vista and XP machines and bingo I was connected and that server now appeared in my Network and Shares. Once I did that with one PC the rest of them automagically appeared. If they don't simply connect manually once. Thereafter they will appear automatically in your Network and Shares.
    Works great for me!!
    Mac Book Mac OS X (10.5.2)

    This may be more of a Mac limit:
    http://docs.info.apple.com/article.html?artnum=107684
    Here's the limits on Windows:
    http://www.portfoliofaq.com/pfaq/FAQ00002.htm

  • At a loss need some help simple share permission problem

    OSX Server 10.4.8 stand alone none AD (none ACL)
    All current updates applied.
    Since reinstalling the server software to current version (complete format reinstall) the existing raid volume is refusing to allow a simple shared folder with inherit permission to allow the assigned group to have r/w access when a user creates a folder in the volume.
    So volume shared set owner r/w usergrp r/w
    user creates a folder permissions become owner r/w grp (usergrp) r
    So I mount a firewire drive to the server and set the same permissions as above to a folder on that volume and hey presto when a user saves a new folder in inherits the permission as owner r/w and group (usergrp) r/w
    So any ideas what is stopping this raid volume allowing the same permissions to work I am at a loss (it worked before reinstall and update to current version)
    Help!

    OSX Server 10.4.8 stand alone none AD (none ACL)
    All current updates applied.
    Since reinstalling the server software to current version (complete format reinstall) the existing raid volume is refusing to allow a simple shared folder with inherit permission to allow the assigned group to have r/w access when a user creates a folder in the volume.
    So volume shared set owner r/w usergrp r/w
    user creates a folder permissions become owner r/w grp (usergrp) r
    So I mount a firewire drive to the server and set the same permissions as above to a folder on that volume and hey presto when a user saves a new folder in inherits the permission as owner r/w and group (usergrp) r/w
    So any ideas what is stopping this raid volume allowing the same permissions to work I am at a loss (it worked before reinstall and update to current version)
    Help!

  • Network Share Credentials Problem

    Hi all - I have PXE boot enabled on all the PCs in my organization so I can image machines in place. In my bootstrap.ini file I have the DefaultGateway VLAN for the IT area defined with UserID and UserPassword set so when machines get imaged back in our
    area, we don't have to enter a username or password. However, in the rest of the organization, the User Credentials box to connect to the deployment share appears to prevent accidental or unauthorized deployments.
    This method works great, but something odd happens when a standard user enters their credentials and tries to proceed. The User Credentials window disappears and nothing happens. It just hangs. I have the permissions for the deployment share set to Domain
    Admins - Full Control, mdt_build (MDT service account) - Read & Execute, List Folder Contents and Read. Any idea what might be causing this?
    Here's a copy of my bootstrap.ini file:
    [Settings]
    Priority=DefaultGateway, Default
    [DefaultGateway]
    10.1.30.1=ImageDeployment
    [ImageDeployment]
    UserID=mdt_build
    UserPassword=password
    [Default]
    DeployRoot=\\MDTServer\MDTProductionShare$
    UserDomain=mydomain
    KeyboardLocale=en-US
    SkipBDDWelcome=YES

    I don't think this bootstrap.ini section is formatted properly.
    Shouldn't it be something like:
    [Settings]
    Priority=DefaultGateway, Default
    [10.1.30.1]
    UserID=mdt_build
    UserPassword=password
    [Default]
    -k
    Keith Garner - keithga.wordpress.com

  • WDTV LIVE will not connect to network share without a password

    I followed "Method 1" from mike27oct post entitledHow to resolve "Network shares" access problems with WDTV media players. The WD Live recognizes the computers but continues to require a username and password.

    mike27oct wrote:
    If you followed Method 1, be sure you adjusted the settings in the WIndows settings, too, be sure Windows is still not requiring a password.  Double check all the steps you followed which I provided in the thread.I double checked your instructions and also realized that I had to except the "anonymus" login and the default password.  Now I am able to link to the computer on my network.  It also shows a list of folders but some of the listed folders are really not on my computer. My movie/video m2ts files are in my video folder. I keep getting a message that their are no media files available. 

  • Problems with VPN and Windows Network Shares

    I'm in the middle of a Windows domain migration and I've setup the two way trust for the domains.
    Cisco VPN clients authenticate against the old domain.
    A user with an account in the new domain and whos laptop is joined to the new domain (also has a user account in the old domain) can connect to the VPN but is asked for Windows authentication when they connect to a network share in either domain.
    Users whos account/laptop are in the old domain don't have this issue.
    Any ideas or suggestions?

    This may happens because broadcasts do not go through an IPSec tunnel.
    Browsing Network Neighborhood is a function of the Microsoft browsing service. Any problems are usually because the PC or master browsers do not function properly. Network Neighborhood is officially not supported. However, it works if configured correctly. Browsing Network Neighborhood works by obtaining the browse list from either a master or backup browser. This list is obtained locally on your LAN by using NetBIOS Broadcasts to locate domain browsers.
    Inorder to resove this :
    Make sure you have NetBIOS over TCP enabled on the adapter that you use to connect to the domain.
    Refer this related links:
    http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_tech_note09186a0080194b4a.shtml

  • Problem with NFS file adapter using a network share as source of files

    Hello,
    I have set up a sender cc with NFS format file adapter, with at the source directory a network share (
    server\sharename ). The share is on another system and not mapped to a local drivename, but it is open for everybody.
    The problem is, the adapter seems to not pick up the files in the directory, so there must be something I'm overlooking.
    - Both servers run on Windows
    - Share is available normally and open for everybody for all actions (including the SAPServiceSID user)
    - Files themselves are okay. If I put a file on a local drive and make the source directory the local drive instead of the network path, the file gets processed correctly
    - Because of the need for a file completion check, FTP is not an option
    Does anybody know what is going wrong, or what I could check for trace / logging info on possible cause of the problem?

    Hi,
    While using NFS mode you are supposed to put the file on XI server directory NOT to a common share directory of any other machine. And this is the reason your adapter in not picking the file.
    You can upload the file on XI server directory by using the tcode "SXDA_TOOLS", morevere you can check the file on the same directory with tcode "AL11". It is otherway-around, you can first select or chose the dir by AL11 and then put the file in the same dir by tcode SXDA_TOOLS.
    If you need more info about SXDA_TOOLS, let me know.
    Regards,
    Sarvesh

  • Network shares can't be ejected? ("Ghost" share problems)

    This topic is to try to solve a problem I'm having, as well as many of my Mac friends, when they use a network share, and it then cannot be unmounted.
    Basically, there are servers no longer accessible, because we switched LANs, etc.
    Symptoms: in the Finder, clicking on the "Eject" button next to the computer's name gives out a dialog telling "A disk on <share name> is in use. Try close applications. (approximately).
    Of course, closing all applications doesn't have any effect, neither does relaunching the Finder.
    In the Terminal, the command "mount" displays, among others:
    //GUEST:@ines:139/Shared Docs em Vaio1 on /Volumes/Shared Docs em Vaio1 (smbfs, nodev, nosuid, mounted by xxx)
    //GUEST@ines:139/Download on /Volumes/Download (smbfs, nodev, nosuid, mounted by xxx)
    I tried umount "Shared Docs em Vaio1", as well as the other share, and yet it outputs "not currently mounted"
    I then did lsof to check what files were open on these share, and the output starts with lsof: WARNING: can't stat() smbfs file system /Volumes/Shared Docs em Vaio1
    Output information may be incomplete.
    assuming "dev=2d000004" from mount table
    lsof: WARNING: can't stat() smbfs file system /Volumes/Download
    Output information may be incomplete.
    assuming "dev=2d000005" from mount table
    I've reached the end of my meager knowledge on this issue, which is minor (in the sense that performance is not affected), but relatively present nevertheless.
    Of course it goes off when rebooting, but I want to be able to solve this problem without a reboot, so how can it be?

    I don't know if it is the same with SMB shares, but with AFP ones I sometimes get this message when the share point is on my MacBook & it goes to sleep. The 'solution' -- such as it is -- is just to wait for the client Mac to notice the server isn't responding & pop up a server disconnect notice on the screen. Once you click the 'ok' button in that notice, the share point disappears from the Finder & no more messages about something on it being in use appear.
    This notice can take several minutes to appear. I don't know of any way to speed up the process, or if it would be wise to try. I assume the long timeout is so that brief network outages are not problematic.

  • TV Show download problem with library on a network share

    My local drive has 100GB disk space available. I have my iTunes library configured to be on a network share which happens to be on a NAS (network attached storage) drive. My NAS drive has over 600GB disk space available. When I try to download a TV Show (Battlestar Galactica) I get an error which says that:
    "The disk you are attempting to use is full"
    This is nowhere near true. I tried several times, then switched my iTunes library to point to my local drive, and the download worked. Does iTunes have a problem with a library on a network share?
    Help!
    Thanks,
    Brad

    Not easy because in order to open just one library file you would have to be running the same version of iTunes on all computers which would be limited to the lowest version supported by your computers (the G3).  Try to open a iTunes 10 library with 9.2.1 and it will refuse. This in turn might not support your equipment.  Even if you can do this you would have to make sure only one copy of iTunes was running because the library file cannot be opened by multiple copies of iTunes at the same time.

  • Problems with mount and unmount of network shares

    Hi,
    I use an Apple script to mount four network shares during startup of an OS 10.4.4 Powerbook. Unfortunately it seems that Tiger can't always mount them all. Sometimes it only mounts three of them, but pressing Command + K indicates that the fourth is already mounted because it's grayed out. How come I can't see it on neither the desktop nor the favorites list in a Finder window then?
    I have a Tiger installation at home with Ciscos VPN Client 4.8 installed. I use that VPN client to gain access to the company's network. When the connection is established, I mount a share (with AFP over TCP/IP) on the company's server running Win2003 and ExtremeZ-IP.
    When I close down Ciscos VPN Client, the mounted network share doesn't unmount automatically, and if I forget to toss that network drive in the trash before closing down or restarting my Mac, it hangs. Why can't it just unmount that drive automatically when the VPN connection is gone?
    Regards
    Thomas G. Madsen
    Powermac G5 (2 x 1.8 Ghz)   Mac OS X (10.4.4)  

    This may happens because broadcasts do not go through an IPSec tunnel.
    Browsing Network Neighborhood is a function of the Microsoft browsing service. Any problems are usually because the PC or master browsers do not function properly. Network Neighborhood is officially not supported. However, it works if configured correctly. Browsing Network Neighborhood works by obtaining the browse list from either a master or backup browser. This list is obtained locally on your LAN by using NetBIOS Broadcasts to locate domain browsers.
    Inorder to resove this :
    Make sure you have NetBIOS over TCP enabled on the adapter that you use to connect to the domain.
    Refer this related links:
    http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_tech_note09186a0080194b4a.shtml

  • How to get "fast user switching" and network shares playing nice

    I've been alternating between banging my head against a wall and reading every forum I could find to try and get a reasonable compromise between using "Fast user switching" and sharing a folder from a file server.  It baffles me how the network share/mount model of OSX/AFP is completely killed by fast-user-switching; this is a big problem with Apple requiring users to be actively logged in to share music/video from iTunes which therefore essentially requires fast-user-switching if anyone else wants to use the computer.  (anyone find it odd that you can share files without being logged in, but sharing songs requires an active login for each user who is sharing?  Apple: time to make iTunes sharing a service!)
    For the sake of example, lets just say I want to share my /Groups folder from my desktop and have it be accessible to my laptop.  Here are all the things that I tried:
    Apple Method 1) Share /Groups in the Server.app on the desktop (running Lion Server), use finder on the laptop and drag the share icon to "Login Items", alternative use a startup Apple script using "mount volume"  Both of the options work and will mount the /Groups folder under /Volumes/Groups, of course when the second person logs in via fast-user-switching (and occasionally the first person for no apparent reason), they will get /Volumes/Groups-1 since /Volumes/Groups is already taken.  Tomorrow we log in a different order and now the previously /Volumes/Groups-1 user has their mount at /Volumes/Group and vice versa.  Any links, aliases, finder sidebar references, and application settings which pointed to yesterday's location are now BROKEN.  Not very user friendly to my mother-in-law who is trying to find those pictures of the kids and doesn't know anything about mount points. I also can't reasonably mirror the file location structure on the desktop so that application preferences that are synced between the two (portable home directories) work.   fail.
    Apple Method 2) Use automounter and set up by hand direct maps for /Groups or an indirect maps for the children of /Groups.  Now it will automatically get mounted to /network/servers/SERVER/Groups/ on the laptop and on the desktop it will automatically create a similar symlink structure so that the same path (/network/servers/SERVER/Groups) work both on desktop and laptop.  Cool.  Except when the second person logs in, the /network/servers/SERVER/Groups/ mountpoint is already owned by the first user and they don't have any permissions to access it.  Fail.
    Apple Method 3) Use mount_afs and specify directly the mount-points.  Have each user have their own startup AppleScript which mounts /Groups to a different location (e.g. /Users/Shared/username/Groups) that way they don't conflict with multiple users.  On the desktop, set up symlinks from /Users/Shared/username/Group to /Groups so that it will be the same as the client and applications settings will work when synchronized back/forth by portable-home-directories.  Will it work, yes it does, but what a bear to maintain.  Is this really what I should expect to do just to have multiple users on my desktop and laptop (which again is essentially required now if I want to do any type of iTunes sharing).  This can't be what apple expects.
    What I ended up doing - the "not quite apple" solution.
    Non-Apple Method 4) After a read of "Autofs: Automatically Mounting Network File Shares in Mac OS X" (http://images.apple.com/business/docs/Autofs.pdf) at the very end there is a single paragraph  of "Kerberized NFS": "A Kerberized NFS mount can have multiple connections from multiple users, each using the correct user’s credentials for each transaction. This allows administrators to support multiple users, each authenticated with their own credentials to the same mount point. This is very different from AFP and SMB mounts," (emphasis mine)
    It appears that by using good 'ole NFS (abeint with Kerberos for security!) you can actually have multiple users on the same mount point.  Roughly following the guidance at https://support.apple.com/kb/TA24986?viewlocale=en_US.  What I needed to do was:
    1) create /etc/exports on my desktop and add a single line "/Groups -sec=krb5".  The existence of /etc/exports triggered a start of nfsd which no longer has any GUI options in Lion.
    2) Add a line to /etc/auto_master on my laptop "/-  auto_mymounts" to reference a new direct map.
    3) Create /etc/auto_mymounts and add a single line "/Groups         SERVER:/Groups" to create the direct map.
    THAT'S IT.  Three lines in three files.
    Now when I log into my laptop, there is a /Groups that is a network mount of my desktop's /Groups, same location AND it works for all of my users, even simultaneously. 
    In the end I'm happy with what I've got, but man was this a difficult path just to support fast-user-switching.  In Lion, Apple appears to be getting away from NFS (no longer turned on by default and remove from the GUI controls) but clearly this really useful functionality which doesn't exist in AFP. 
    I'm really curious, after all this work.  Any other ways to accomplish this?

    In my example above, yes I chose to mount the share "Groups" to the top of the root since that is where I put it on my server and I wanted to keep them similar; but that was just my preference, it isn't a requirement.  You can export and mount from other directories.

  • Can't copy files to network share using migrated account

    Man this is so bizarre. I got a new MacBook Pro and used the Migration Assistant to copy over everything from the old MacBook Pro. Everything seems to work except I can't copy files to my desktop via a network share.
    What's totally bizarre about this is that I can delete and rename files from the network share! I can also drop into the command line and try copying - at first, I get "Operation not permitted", but if execute the command again, it works!
    In the Finder, when I try to copy a file, I get a window that says:
    "You may need to enter the name and password for an administrator on this computer to change the item named "xxx". If I click stop at this point, a zero-byte file is created on the target machine.
    If I click Continue, I get another window that says "The item "xxx" contains one or more items you do not have permissions to read. Do you want to copy the items you are allowed to read?
    If I click Continue, I get a final window that says "The operation cannot be completed because you do not have sufficient privileges for some of the items".
    Note that this also happens in the opposite direction when I connect to my notebook from my desktop.
    Also note that this only happens with the account that was migrated. I can successfully copy files if I setup a new account.
    I've repaired permission on both machines. My old account on the old MacBook Pro still works fine, btw.
    I've seen other posts with people having this problem, but I've yet to see a good solution.

    I had the same problem, but I managed to fix it.
    In WGM check that the sharepoint of your users Home Folder is set to owner root with Read and Write permissions.
    I also created an ard_admin group in WGM and enabled open directory management on the client Macs. (Page 62 of the ARD admin Guide.)

  • Unable to save MS Word and Excel 2010 and 2013 onto the network share

    Hi,
    I have read similar cases, but did not work out on the problems we face.
    We are using Office 2010 and Windows 7 and it seems like only this combination will encounter saving problem on the networe share (but local / removable disks are fine) - 
    Other combinations:
    Windows XP and Office 2010 - no problem
    Windows XP and Office 2003 - no problem
    Windows 7 and Office 2003 - no problem
    In Microsoft Word 2010, when saving a new document, it will save but create a 0KB file in the network share drive and I notice the blue menu bar of the Microsoft Word 2010 still displays "Document1" instead the new file name.
    And only when I click save icon or exit button, Word actually prompts another "Save As" dialog to save the file, and as a result, I have to save the same file and answer MS Word prompt to replace the existing file - and this is the real time that
    the document and its contents really got saved. And the blue menu bar then displays the actual file name.
    In Microsoft Excel 2010 (also Powerpoint I suppose so), in saving a new excel file, after typing in a file name for the new file in the network share location, it will prompt a dialog box indicating the "File is currently in use"
    Similar to MS Word, it will still create a 0KB file in the network share, and only a second time saving and replace the 0KB file, is able to save the file again. 
    I have tried a lot of ways from Safe Mode, Disable Add-in, Added Trusted Locations to the network share in MS Word and Excel, Uninstall Antivirus software, redo NTFS permission on the network share server folder, etc but the problem cannot
    be solved.
    Any help is appreciated. Thank you in advance.
    Kind regards,
    Daryl

    Thank you Max.
    I have tried various storage configurations and share the folders out in Windows Servers and grant user accesses with AD.
    These drives configuration involves iSCSI drives, using NAS drive, using internal SAS RAID drives in Windows 2008 servers, all having the same errors, but the latter one was having the most errors almost every first time the users
    save their files (includes saving from email attachments), the files will get 0KB.
    I have tested LAN cables, switch LAN points in panels and switches, and comes to no avail.
    I have patched with the latest office updates (the latest being Office 2010 SP2) also to no avail.

Maybe you are looking for

  • How to open java files in a java project

    hi , i have to implement a java program analyzer and now i have implement a java parser using javaCC. My parser parse a java file at a time and i have to read and parse all java files in a java project. my idea is to enter java project name *.jpx as

  • Apple Script Editor no longer available

    Since updating to OS X 10.4.5 the AppleScript folder has been left empty in the Applications folder so consequently it is no longer possible to use AppleScript Editor. I did try to locate the AppleScript Editor app in the hard disk to no avail. Any s

  • Open the Library/Screen Savers?

    Hello, I run Leopard, and I tried to use PackageMaker to package up a Quartz Composition I made. I tried to make PackageMaker place the composition into User/Library/Screen Savers, but that would not work. It would work fine in my account, but if I t

  • No New Jersey!!!???

    How the hell can your headquarters be located in New Jersey and you don't have one area covered? I'm not talking the outskirts of philly or ny. I'm talking Atlantic city, Vineland, cape may, Newark...and so on. Jonesboro Arkansas? Seriously? They hav

  • İos 7 is terrible,i can't use my ipad 2 anymore!!!

    My ipad 2 is so bad now,slow and doesn't work good,ios 7 isnt good for old models i want old ios back!!please help me about it!