We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

command line export/import of network drives and printers

tedpenner
tedpenner asked
on
Medium Priority
801 Views
Last Modified: 2008-01-09
There is a registry key for both of these that can be easily exported and imported.  I wan't to know how to do it from the command line?
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Commented:
Hi tedpenner,
I can write you a vb script if you can tell me what format you want the output in, and which registry keys you need read.

Cheers!

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Actually, I would rather just have the command line code.

Author

Commented:
I need to export the network drives and printer from one machine used on our domain and import it to another machine used on our domain.  I need to import into the currently logged in users network profile?

Author

Commented:
HKEY_CURRENT_USER > Network
HKEY_CURRENT_USER > Printer

I need command line code for export from specified_share
I need command line code for import from specified_share
CERTIFIED EXPERT
Most Valuable Expert 2012

Commented:
You accepted my answer, but I haven't posted the script. Do you still need it or did youwrite your own?

Author

Commented:
I wrote my own.  What I was wanting was the commands used and I think I have it now.  Thanks for writing back.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.