AD Startup script - Integrated Auth SQL 2000

From: Mike (vass0922_at_yahoo.com)
Date: 03/11/04


Date: 11 Mar 2004 09:27:06 -0800

I have a VB Script that will be running on all workstations on a
domain from the AD Startup script Global Policies. The script uses ADO
integrated authentication.
This script needs access to a database on SQL Server 2000
I added "Domain Computers" computer group to the DB for access but the
script fails.

Error Opening Connection
Error Description: Login failed for user 'NT AUTHORITY\ANONYMOUS
LOGON'.

Is it possible to use integrated authentication from a startup script?

The script works fine when I use a sql username/pass but its sensitive
info so I want don't want the username/pass passing clear text.
We will be setting up two way encryption, but would feel safer with
integrated.



Relevant Pages

  • Re: Xcopy not working in startup script
    ... This is a basic batch file script that I am ... deploying through group policy in the startup script to copy ... it works fine on it's own, but when deployed through group policy it ... the permissions of the computer object elsewhere in the domain. ...
    (microsoft.public.windows.server.general)
  • Re: Ooooopppps. Rights not right...
    ... Use a log in script to call a compiled file stored on a share. ... > because the classid is for per machine instead of per user. ... > you have create two user classes, one is called student; ... > Put this bat file to the computer startup script in the local group policy. ...
    (microsoft.public.windows.server.general)
  • Re: Power Management GPO?
    ... I suspect that the power management subsystem might not be started when the startup scripts runs or the SYSTEM context can't modify it, but I have some ideas about this and will do some testing later on today to work it out. ... I created a GPO and put the batch file in first as a startup script and when that didn't work I tried it as a logon script. ... A normal user can't change the power settings so a logon script like this won't work either. ... I can't remember if all power setting are per machine, but if some are per machine and some are per user then you could split it up into 2 scripts, one startup script and one logon script. ...
    (microsoft.public.windows.group_policy)
  • Re: Xcopy not working in startup script
    ... This is a basic batch file script that I am ... deploying through group policy in the startup script to copy ... I'm deploying it during the ... the permissions of the computer object elsewhere in the domain. ...
    (microsoft.public.windows.server.general)
  • RE: Set default printer based on room location
    ... done with a "Startup Script" Batch file or with KIX Script. ... if JoeA logs on to a PC in suite A the network printer A is assigned ... > but then if he goes across to suite B network printer b is assigned. ...
    (microsoft.public.windows.server.active_directory)