Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netlogon 1

Status
Not open for further replies.

eperrier

IS-IT--Management
Mar 13, 2004
22
US
How do i create a netlogon script. Can some one help??

Thank You ED
 
If you are looking on how to create a login script then check out these sites:

If you are trying to figure out where to put the script after you have made one read here:

if you have questions let me know...
 
Thank you RYE8261 but i tried it and got errors like to use .bat script

Thanks Ed
 
Hey Rye8261,

Great info. But I do have one question. I went to the first link you posted and created a vbs logon script and it works great, but what can you type in to go to a specific user folder?

We have a folder on a file server called "userdata". Inside that are folders for each end user. I tried %user% and %logon% and that didn't work. What I was wondering was how when the end user logs in would this map to their individual folder? Below is my script so you can see what I am talking about...........

' VBScript.' Guy Thomas February 2004.
'
' Purpose of script to map a network drive to H:' ******************************

Dim objNet

Set objNet = CreateObject("Wscript.Network")

objNet.MapNetworkDrive "H:", "\\rose\userdata"
WSCript.Quit
' End of Guy's VBScript

Thanks in advance!!!

"I live in my own little world. But it's ok, they know me there"
 
eperrier, what where your errors?

everquestaddict, I do not use vbs for my login scrits, i use good old bat files so i can not help much with your question. I know someone will probably answer sometime soon.

If you try to do the same thing with a bat file, you can map their drive by doing something like: net use H: "\\computername\%username%" /PERSISTENT:YES
That is what i use for out backup folders at my work. I would think that the %username% would work with vbs but i can not be certain of it.

sorry i couldnt help out more with that question
 
Oh you helped me. At least steered me in the right direction. hehe

"I live in my own little world. But it's ok, they know me there"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top