Sign in to follow this  

Can not Map Drive though Batch File on Hyper-V Virtual Mach

Recommended Posts

Hi Guys,

I am new to this forum, hope I will get my questions answered.

Here is the my issue:-

I have Server 2008 Standard 64 Bit as a Host and a Single Virtual Machine under Hyper-V running another Windows Server 2008 Standard.

I am using single network card setup as External in Hyper-V. I am not a network specialist but like to play with the different operating systems. I have two questions now:-

1) I can map the drive by using following command from the command line :-

net use s: \\sqlserver-dev\data /user:administrator sql%1234

but when using same command from logon.bat file and double click batch file, it does not map the drive and also no error displays. I also wanted to use switch like /savecred and /persistent:yes but it gives error.


2) I also found that windows server 2008 standard allows to run one virtual machine under hyper-v as a free machine. Do I need to activate windows in Hyper-V. Please advise the procedure.




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who's Online   0 Members, 0 Anonymous, 23 Guests (See full list)

    There are no registered users currently online