Jump to content
Sign in to follow this  
friends

WinXP & Win2K Security stuffs

Recommended Posts

friends

I have a LAN environment, and there are Win2K and WinXP OSes.

Whenever we wanna access Win2K (Restricted User) by typing

\\computer-name from WinXP, there will be a windows pop up asking for "Username" and "Password".

If we entered the correct Username and Password, then only we can

access to the shared folder.

Is it possible to define the "Username" and "Password" in the script,

so that we don't have to enter Username and Password everytime

we access to the computer's shared folder ?

If it is possible... mind to show me an example ?

Thanks....

Share this post


Link to post
Share on other sites
Matt @ MPCS

I have never personally tried this but working through the logic... couldn't you execute a RunAsSet speciying the server of the share as the computer before accessing the share? If that doesn't work you could always do a winwait for the login box and then controlsend the username and passwords.

Matt

Share this post


Link to post
Share on other sites
friends

I have never personally tried this but working through the logic... couldn't you execute a RunAsSet speciying the server of the share as the computer before accessing the share? If that doesn't work you could always do a winwait for the login box and then controlsend the username and passwords.

Matt

<{POST_SNAPBACK}>

I've tried that out... it does not work.

I don't want to use the ControlSend method to do it.

I want it to "access" directly without the user knowing it.

Share this post


Link to post
Share on other sites
t0ddie

maybe hide the windows first. they will popup for maybe a split second....

just my 2 cents


Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites
lyledg

Or, if you wanted to go the DOS route, you could use "NET USE \\computername\sharename /USER:[domainname\]username] password" from a Run command in conjunction with Comspec..

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  

×