Solved

Windows 2000 Startup script

Posted on 2004-04-26
10
155 Views
Last Modified: 2010-04-13
I am running a Windows 2000 domain and wish to create a script that creates an L drive on clients PCs (Windows XP Pro) that is a shared resource on the server.

The trouble is that some users log on using local computer accounts.
I thought that by assigning the script via group policy as a computer startup script as opposed to a logon script would sidestep this problem and the drive would be created regardless of who logs in, but it dosent seem to have had any effect....

Does anyone know what the problem is?

What permissions/settings do I need to have to allow this to work, the resource is shared with "everyone" group...

Thanks,
0
Comment
Question by:STEVEO3
10 Comments
 
LVL 8

Expert Comment

by:RevelationCS
ID: 10920075
If the users are logging in using local accounts on the pcs instead of using domain accounts, then you will need to make sure the local user accounts are replicated on the machine with the shared resource (L drive). If those accounts are not replicated, you will need to have some method in the script that authenticates the users with a user id/password that will work to access the shared drive. You can test this by attempting to map to the shared resource via Windows Explorer logged in as the local users to see how it reacts....
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 10921251
if users don't login to the domain, then the GPO isn't being applied. a computer startup script can't map a drive because there's no user context yet. For the non-domain members, you will have to have the accounts duplicated, as RevelationCS sez, but you'll also have to put a batch file in their 'Startup' folder
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 10921273
(you could give a standard 'Startup' folder using GPO, but that's also a user setting - so it won't apply to these non-domain users)
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Expert Comment

by:STEVEO2
ID: 10922879
So creating a GPO with the computer configuration set to have a startup script and giving the computer account read and apply group policy permissions on the security tab will not work because it still needs a user to log on to the domian??

Does anyone have any web resources that cover this?
0
 

Expert Comment

by:STEVEO2
ID: 10922986
Ok i just logged on as normal user who should have the policy applied and nothing happens, i then put the same batch file as a logon script in the user configuration and still nothing.

Runnoing the batch file on the computer manually works.

The file is located in sysvol\domain\scripts


Can anyone see what is going wrong here?
0
 
LVL 16

Accepted Solution

by:
JammyPak earned 250 total points
ID: 10928114
"So creating a GPO with the computer configuration set to have a startup script and giving the computer account read and apply group policy permissions on the security tab will not work because it still needs a user to log on to the domian??"

All I'm saying is that you can't map a drive until a user is logged on - computer accounts can't map drives...

"Ok i just logged on as normal user who should have the policy applied and nothing happens, i then put the same batch file as a logon script in the user configuration and still nothing."

So your GPO is not working properly then...let's back up - you created a GPO object for the domain, or for one OU?
Are the user account objects in the correct container where the GPO is defined? (since logon scripts are a 'user' configuration)
If you login as the user, and then run "gpresult" from a command line, does it show any GPOs being assigned?
0
 
LVL 15

Expert Comment

by:hewittg
ID: 12397061
Also check for duplicate accounts

Glenn
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Print Server: Problem from NT to windows 2008 server environment 3 641
cant not receive emails, due to low disk space. 16 263
Windows Foriegn Disk 3 136
Referencing a mapped drive 6 136
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question