[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

"cannot find the file '/idlist,:0:????,\\%domaincontroller%\Policies\{F91B8F0F-D94F-45F0-8665-494DED465225}\User\Scripts\Logon\login.bat".

Posted on 2005-03-30
24
Medium Priority
?
295 Views
Last Modified: 2009-12-16
I put the Group Policy in the OU that I belong to and when I login to the domain
I get the pop up error "cannot find the file
'/idlist,:0:????,\\%domaincontroller%\Policies\{F91B8F0F-D94F-45F0-8665-494DED465225}\User\Scripts\Logon\login.bat".  

The location of the script is below
\\%domaincontroller%\Policies\{F91B8F0F-D94F-45F0-8665-494DED465225}\User\Scripts\Logon\login.bat".
I also have ismember.exe in directory.  below is the script.

:helpdesk
ifmember helpdesk_Global
if not errorlevel 1 goto next
echo Connecting to Helpdesk
net use o:\\server\admin\

:next



Basically from what I can tell it is not finding the path to the script file.

0
Comment
Question by:Cveselka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 12
24 Comments
 
LVL 16

Expert Comment

by:robrandon
ID: 13666577
Do you have any replication errors in your event logs?

0
 

Author Comment

by:Cveselka
ID: 13671423
Yes,

Following is the summary of warnings and errors encountered by File Replication Service while polling the Domain Controller cflpdc.CFL for FRS replica set configuration information.
 
 Could not find computer object for this computer. Will try again at next polling cycle.





0
 
LVL 16

Expert Comment

by:robrandon
ID: 13671625
I had a recent problem where I ran out of space on the dc and it screwed up the gp replications through FRS.  I had to make a registry change and restart the service - then everything was ok.  Let me see if I can find the article.

0
Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

 
LVL 16

Expert Comment

by:robrandon
ID: 13671654
Sorry, couldn't find it.  Do you have an event ID for the error messages?  
0
 

Author Comment

by:Cveselka
ID: 13671733
I starting to think that the person that setup the domain before me set it up wrong.  First Event ID is below

Event ID 5506


I'm also getting these errors

Event ID 5781

Dynamic registration or deregistration of one or more DNS records failed because no DNS servers are available.

And this is the one that is really confusing me

Event ID: 1091

The ntdsConnection object CN=f811622d-2461-4867-aa06-f32682f33991,CN=NTDS Settings,CN=CFLPDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=CFL dictates that the local server should replicate from itself.  This is not a valid configuration and will be ignored.  Please use the Active Directory Sites and Services Manager to modify or delete this object.
0
 
LVL 16

Accepted Solution

by:
robrandon earned 2000 total points
ID: 13672333
Go into Sites and Services.  Drill down to your Site, the Servers folder, and expand each Server.  Under each server, highlight the NTDS settings, then on the right hand side, make sure it is replicating with the correct servers.  

The correct settings depends on your topology.  If you want to explain to me what you have, I can give you an idea of how I would set it up.
0
 

Author Comment

by:Cveselka
ID: 13673067
I have a Primary and backup Windows 2000 Domain controllers.  Looks like the primary is trying to replicate off of itslef.  I guessing I need to delte that.  The backup is trying to replicate off of the primary.  The backup server is showing Default-First-Site-Name (from Site).  Is this correct?

The PDC shows it's replicating from the BDC and says its automatically generated.  Both are using the connection transport RPC
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13674370
Yes, it should not have itself as a replication partner.  You can change the site so it is your exact site name.  Once you have it setup, highlight NTDS settings on the left, and right-click on the server on the right - and choose replicate now.  Give it a few minutes - then check your event logs for errors.
0
 

Author Comment

by:Cveselka
ID: 13674714
OK everything is looking better I will try my group policy login script again.
0
 

Author Comment

by:Cveselka
ID: 13676576
ok that worked great I'm goiong up another 100 points if you can help me with the script.  Whenever the script runs below I get Ifmember is not a recognized command.  I downloaded it and put it in the same directory as the login.bat (script) file.  The login script does run though.

:helpdesk
ifmember helpdesk_Global
if not errorlevel 1 goto next
echo Connecting to Helpdesk
net use o:\\server\admin\

:next
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13680967
If you browse to the share on your DC that contains the script, what happens if you run it manually?  Do you get the same error?  Are the permissions on ifmember set correctly?

0
 

Author Comment

by:Cveselka
ID: 13681130
Yes it runs correctly if browse out there.  It's like it can't find the path.  Do I need to put the path to it in the script file?
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13681194
Perhaps.  I don't know what location it is running the script from - it is that location that would require the ifmember.exe file if the path isn't specified.

Is this just a batch file?  Is there a way to do it in VBScript maybe without using the ifmember external file?

Or, what about restricting the GP that runs the script to users that are in the helpdesk group.  That would probably be the best way to do it.  So your script would just be something like:
net use o:\\server\admin
and it would only run for the helpdesk users.
0
 

Author Comment

by:Cveselka
ID: 13681768
well Now I'm getting the error again on the "cannot find the file '/idlist,:0:????,\\%domaincontroller%\Policies\{F91B8F0F-D94F-45F0-8665-494DED465225}\User\Scripts\Logon\login.bat"

No errors in the event log.
0
 

Author Comment

by:Cveselka
ID: 13682159
Well I finally figured out why I got the error again.  We have Novell and domain login.  When I login to workstation only logging into the domain I get the cannot find file error.  If I login to novell and the domain my login script works.  I don't understand because novell and active directory are two different animals.  any suggestions?
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13682200
I haven't used Novell since 4.x.  Can this be a logon script that is running on the Novell side and have nothing to do with AD?  Are you using the Novell Client to logon?  Maybe that is screwing something up.



0
 

Author Comment

by:Cveselka
ID: 13682225
When I login to just the domain it is using the novell login client.  I get my drive mapping from my login script when I do login to novell but not when I login to just AD.  I just get the cannot find file error.  the path that follows is the correct path.
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13683050
Can you try it without the Novell client?  I'm just curious.
0
 

Author Comment

by:Cveselka
ID: 13683412
OK without the novell client it works.  That should be fine.  now I'm getting the IFMEMBER is not a recognized command again.  Ifmember.exe is in the same directory as the login.bat file
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13683475
Ok, so now, what about setting up the GP so it restricts it to the helpdesk group, so you don't need to use the Ifmember.exe?

0
 

Author Comment

by:Cveselka
ID: 13683509
I really don't want to maintain too many login scripts.  I would rather just have 1.  That way I could just add groups and drive mappings.
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13683588
I guess you have to specify the full path then.  You can probably use a variable to do it, it may look something like this:

:helpdesk
%domaincontroller%\Policies\{F91B8F0F-D94F-45F0-8665-494DED465225}\User\Scripts\Logon\ifmember helpdesk_Global
if not errorlevel 1 goto next
echo Connecting to Helpdesk
net use o:\\server\admin\

Not sure if that is the right path or not to your script - I copied it from the erro message above.
0
 

Author Comment

by:Cveselka
ID: 13683631
I found how to get the script to work by adding the following command in the script.  Thanks for all the help.

if not exist %systemroot%\system32\ifmember.exe copy \\server\share\ifmember.exe %systemroot%\system32
0
 
LVL 16

Expert Comment

by:robrandon
ID: 13684038
Cool.  Glad I could help.
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

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…
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

656 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