• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 749
  • Last Modified:

rasphone at startup. How?

Hi,

I need to start my internet connection when computer starts, BEFORE I login.

I tried to create a .bat file containing:
rasphone -d "ConnectionName"

and inserted it as script in gpedit.msc.

Script starts before user logon but it cannot connect to internet because of "invalid username or password".

Maybe windows cannot read connection password if no user is connected ?

how can i do ?

many thanks,
Francesco
                                                       
0
sunlight76
Asked:
sunlight76
  • 2
1 Solution
 
pbarretteCommented:
Hi Sunlight,

Try RASDIAL instead. It allows you to specify a username and password for the connection:
RASDIAL "ConnectionName" username password

pb
0
 
sunlight76Author Commented:
Sorry for delay in accepting your answer.
thanks again
0
 
pbarretteCommented:
Hi Sunlight,

No problem. Just glad to help.
pb
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now