Computing.Net > Forums > Windows Server 2003 > login script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

login script

Reply to Message Icon

Name: kiwi_hk
Date: February 6, 2006 at 22:24:17 Pacific
OS: Windows 2003
CPU/Ram: 2G
Comment:

Hi

We have Windows 2003 server with XP pro client on a network.

I have some login script that maps drives, install printers at login. They are .bat and .vbs files. I have also written a .vbs file that disables the dial-up check box (log on using dial-up connection) that adds to the register but it doesn't work.

Any suggestions? The login users don't have admin rights to their local machine but I thought at login, you can do this with a vbs script. It's a rule that the domain and client machine can do. Is it only for simple map drives and not for altering the registry?

Thanks

Ken



Sponsored Link
Ads by Google

Response Number 1
Name: Dave_A
Date: February 7, 2006 at 00:25:59 Pacific
Reply:

Have you tried using a GPO for this? not sure if it can be done, but most things can be from there


0

Response Number 2
Name: Jestible
Date: February 7, 2006 at 08:24:32 Pacific
Reply:

Must be a problem with the script. Have you tested the script on a machine, logged on as a local administrator and monitor the registry key it's spose to alter before, and after, you run the script? When doing that, does it change the key? If it doesn't, that script needs to be edited because it doesn't work. :)

I'm almost positive this can be done via a GPO, which are much easier to adjust than a lenghtly script file.

I will check and get back to you with a soultion.

Holy Wow.


0

Response Number 3
Name: kiwi_hk
Date: February 7, 2006 at 16:14:08 Pacific
Reply:

Thanks

I have checked the .vbs script and it works if I login as adminitrator of the local machine. I couldn't find it in GPO that's why I try this method.



0

Response Number 4
Name: tonysathre
Date: February 7, 2006 at 18:56:07 Pacific
Reply:

it shouldnt be a login script since those arent applied until a user logs in, it should be a startup script, set in group policy, and make sure your putting the script in the correct directory in your SYSVOL share


0

Response Number 5
Name: kiwi_hk
Date: February 7, 2006 at 21:59:19 Pacific
Reply:

I have try it in the startup script also..still don't work..


0

Related Posts

See More



Response Number 6
Name: Jestible
Date: February 8, 2006 at 06:58:31 Pacific
Reply:

Isn't this registry change system wide, and it requires a restart. After running it once as an administrator and restarting the button should be disabled, for all accounts. Correct? That machine that you tested it on, did that button ever come back on?

Holy Wow.


0

Response Number 7
Name: kiwi_hk
Date: February 9, 2006 at 06:01:14 Pacific
Reply:

When I was testing it by logging in as Administrator of the local machine. Double clicked on the .vbs script and logoff.

The button was greyed out. Didin't have to restart


0

Response Number 8
Name: tonysathre
Date: February 9, 2006 at 13:26:23 Pacific
Reply:

i think i figured it out:

open regedit and find this key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

then right click and make a REG_SZ (String Value)
set the name as RasDisable key and set its value to 1



0

Response Number 9
Name: kiwi_hk
Date: February 10, 2006 at 00:58:18 Pacific
Reply:

i know what the registry key is and I have created a .vbs script to add this in, the problem is running the .vbs script at login.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: login script

Login script to non domain account www.computing.net/answers/windows-2003/login-script-to-non-domain-account/4801.html

login scripts www.computing.net/answers/windows-2003/login-scripts/4759.html

Windows 2003 Auto-login Script www.computing.net/answers/windows-2003/windows-2003-autologin-script/354.html