Re: Login Script



Nah, This is getting far too complex for me.

I need to resolve this simply as this network is live with a 100 clients
logging in all the time. And the network will be scrapped as we are building
a new one, so that will be set up correctly.

I found the setting in a scripts.INI that was running LOGIN.BAT.
Took that out and now it doesn't run this file on newly created logins,
though the old logins still run the LOGIN.BAT file. So far so good.

All I want to do is somehow run a specific batch file at login for a
specific user. Can anyone tell me how to do that simply.

Many thanks
Rowland


"Rowland Costin" <technical@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eOhoT84eHHA.4604@xxxxxxxxxxxxxxxxxxxxxxx
Scratch That. I found it and installed it, How do I run it? where will it
have put it?

Thanks
Rowland
"Rowland Costin" <technical@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uPA7W44eHHA.5044@xxxxxxxxxxxxxxxxxxxxxxx
How do I install GPMC?


"Mark Heitbrink [MVP]" <spam-only@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eu7Wfd4eHHA.3960@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

Rowland Costin schrieb:
Basically, I have a Win2K3 Terminal server in a small domain with 2
domain
controllers all under :active directory, no workstations. The
LOGIN.BAT
file is stored in the folder
C:\WINDOWS\system32\GroupPolicy\User\Scripts\Logon

You are working with local policies, so all things you manipulate are
effecting all users.
Work with GroupPolicy in your AD, not with the local one.

- Install the GPMC
- create a OU, move the TS into it
- create an link a GPO to that OU
- Enable Loopback http://support.microsoft.com/kb/231287
- remove auth.Users from the GPO and add: your TS and your TS
sec.group/user

To use different loginscripts, you can use different GPOs, filtered
by Security Group, or use ifmember.exe inside your batch.

Mark
--
Mark Heitbrink - MVP Windows Server - Group Policy

Homepage: www.gruppenrichtlinien.de - deutsch
Blog: gpupdate.spaces.live.com - english






.



Relevant Pages

  • Re: Intermittant GPO failure to apply
    ... Gigabit have blocked the GPO applied, ... fluctuates as the network adapter driver initializes and as the network ... |> Value Name: DisableDHCPMediaSense ...
    (microsoft.public.windows.server.sbs)
  • RE: Create user that dont have access to domain
    ... If you are talking about PCs in public areas, ... listed below) and then restrict network object access using the GPO. ... Through a GPO or local policy? ...
    (microsoft.public.windows.server.active_directory)
  • Re: Deploy office 2003 to XP workstations
    ... Does this has to be done on AD GPO? ... XP works with a asynchronous startup behavior. ... The network driver starts to late. ... you can set "Run login scripts synchronously". ...
    (microsoft.public.windows.group_policy)
  • Re: EventID 1054 from Userenv for startup script
    ... This order means that the local GPO is processed first, and GPOs that are linked to the organizational unit of which the computer or user is a direct member are processed last, which overwrites settings in the earlier GPOs if there are conflicts. ... So if you said "some machines don't have full access to the network at startup" the GPO's seems not to apply correct. ... in the right window "Group policy Inheritance tab", ... The startup script is applied to the computer, ...
    (microsoft.public.windows.group_policy)
  • Re: Deploy office 2003 to XP workstations
    ... I enabled the policy GPO using GPMC, I'm able to see the setting. ... The network driver starts to late. ... you can set "Run login scripts synchronously". ...
    (microsoft.public.windows.group_policy)

Loading