Startup scripts for computers

  • Thread starter gurvinder.nijjar
  • Start date
G

gurvinder.nijjar

I am writing a startup script sp that it runs when a computer starts up. So
I have written a script and added in the computer configuration and then in
startup script in group policy in a OU and place the computers in the OU.
But when the computer starts up it does not run the script. The script is
an aida32 script which audits remote pc's and then adds the results into a
database. But my question is is there a specific format startup scripts use
and can startup scripts allow computers to access remote computers on the
network without logging on. In the script I added the UNC Path like
\\server\share., but the script does not run. ANy ideas of why it might not
run.
 
P

Pegasus \(MVP\)

gurvinder.nijjar said:
I am writing a startup script sp that it runs when a computer starts up. So
I have written a script and added in the computer configuration and then in
startup script in group policy in a OU and place the computers in the OU.
But when the computer starts up it does not run the script. The script is
an aida32 script which audits remote pc's and then adds the results into a
database. But my question is is there a specific format startup scripts use
and can startup scripts allow computers to access remote computers on the
network without logging on. In the script I added the UNC Path like
\\server\share., but the script does not run. ANy ideas of why it might not
run.

- Where did you place the script?
- What language is it written in? Batch? VBS?
- What do you mean with "I added the UNC path"? UNC path for what?
 
G

gurvinder.nijjar

I have placed the script in sysvol\policies\{guid of group
policy}\machine\startup. Also in computer configuration\windows
settings\scripts\startup.
The file is a batch file.
Below I have written whats in the scripts:

\\oldds001\aidanew\aida32\aida32 /R \\oldds001\aidanew\report\$hostname /ADO

where oldds001 is the servername and aidanew is the share name.
 
P

Pegasus \(MVP\)

Scripts will execute at logon time when placed into
c:\documents and settings\all users\start menu\programs\startup.

In a domain environment they must be placed into the netlogon
share. Your domain administrator would know the details.
 
G

gurvinder.nijjar

Does this apply to startup scripts specifically for computers. So we need
to put these in the netlogon share as well.
 
P

Pegasus \(MVP\)

You either place the scripts into the Startup folder, or
into the Netlogon share, but not both.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top