Solved

Client Setup Wizard Error

Posted on 2008-06-25
14
4,871 Views
Last Modified: 2011-10-19
One of our domain power users, Instron, receives the following error message every time he logs in:

"The system cannot copy a file from the server to this computer.  Make sure that the network cables and devices are plugged in and functioning properly, and then try to join this computer to the network."

All other users logging into the machine have no problems or error messages.  I was browsing the internet for suggestions/fixes, and many thought that it was a permission problem.  I changed the properties of the C:/Windows/Temp folder so that users could "Write" to this file, but that didn't solve the problem, as suggested.  The most thorough one that I came across can be found here: http://forums.techarena.in/showthread.php?t=614041
I followed the procedure step-by-step.  The value associated with the refcount was 1.  I manually created the registry value referenced in the article, with a value of 1. The issue still persisted, so I continued troubleshooting...

I manually ran \\servername\clients\setup\setup.exe /s servername on the client workstation and still received the same error message.  So, I installed Filemon to try and determine what file failed to copy.  I attached the filemon files for reference.  I'm not too familiar with this program, so I wasn't sure where to go from here...

The thing that puzzled me was that when the problem first occurred, the user 'Instron' would receive this error on other workstations as well [other users COULD logon the same workstations without a problem].  I changed which logon script would begin for 'Instron' and no error message appeared on MY computer for this script.  I switched it back to the original logon script, logged on as 'Instron' on MY computer, and no error message appeared.  So, I went back to the client's computer to login as 'Instron' and ensure that fixed the problem, but the error appeared again!!

 I'm not sure why this error could possibly be occurring... doesn't seem to be a computer issue, or user issue. There are no effects on the computer operating, other than the error message popping up every time the user logs in.  I also attached Instron's Login script for reference.  Any ideas on how to fix this error??
instron-filemon1.LOG
instron-filemon2.LOG
Instron-LOGIN-SCRIPT.txt
0
Comment
Question by:Wytech_Wire
  • 5
  • 5
  • 2
  • +2
14 Comments
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 21872997
I'm not sure how you have configured this login script, but that's probably what's causing the issue.

See:  http://groups.google.com/group/microsoft.public.windows.server.sbs/msg/e4f558b42bee5ce3?hl=en

Generally you just want to edit the default SBS_LOGIN_SCRIPT.bat file.  See this article for info on how to do that:
http://sbsurl.com/login

Also, is the user a member of the local Administrators Group on that computer?  If not, they should be.

Jeff
TechSoEasy
0
 

Author Comment

by:Wytech_Wire
ID: 21901753
The user is a member of the local admins group on that computer... and there doesn't seem to be anything odd with the script.  The error message itself appears right before the script executes (as soon as you click on "OK", I see the script running in cmd).  Any other ideas??  I did attach the logon script for Instron if you wanted to quickly review it... looks fine to me.
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 21913468
I did review the script.  But I can't tell how it's configured to trigger.  That's why I pointed you to the newsgroup post which describes the issue you are having.

Jeff
TechSoEasy
0
 

Author Comment

by:Wytech_Wire
ID: 21924682
Jeff, I read the newsgroup post and followed the procedure accordingly.  There are no duplicate entries in the script... and when < \\servermain\Clients\Setup\setup.exe /s servermain > is run manually from cmd, the error still occurs.

I changed the logon script (for testing purposes) to 'echo on' and the script hangs [& the error message appears] at the first line: < call \\servermain\Clients\Setup\setup.exe /s servermain >.  After you click 'ok' on the error message, the rest of the script runs without error.  The network drives are mapped correctly, and companyweb is launched successfully.  Therefore, I'm thinking it's a problem with that command or that .exe file.  When no script is run upon logon, there is no error.

Perhaps I can write a script to run < call \\servermain\Clients\Setup\setup.exe /s servermain > as an administrator??  Anyone have any experience with this or know how to run a command manually as an admin??
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 21930467
That's because you can't CALL that command line.  You can CALL another another batch file, but you can't CALL an executable.

Jeff
TechSoEasy
0
 

Author Comment

by:Wytech_Wire
ID: 21944542
Jeff,
Thank you for your patience... I did not know about that naming convention.

But, I removed 'call' before the executable file... logged in/out with the user & STILL received the same error.  The message appeared after hanging at the same line too.  Here's what my logon script currently reads:
-----------------------------------------------------
echo on

\\servermain\clients\setup\setup.exe /s servermain       <--(Error appears after hanging at this line)

call net use /delete lpt2
call net use lpt2 \\servermain\dell-printserver

call net use /delete X:
call net use X: \\servermain\x_drive

call net use /delete H:
call net use H: \\fileserver\company

call net time \\servermain /set /yes

start http://companyweb
start \\servermain\sysvol\wytech.local\scripts\menu.vbs
0
 

Author Comment

by:Wytech_Wire
ID: 21944681
I apologize for the double post...

I also temporary gave the user domain administrative rights, logged the user in/out and the error STILL occurred.  Same place and everything.  The odd thing is that we have other logon scripts for other users, which contain & run the same command without error. [call \\servermain\clients\setup\setup.exe /s servermain].  Certainly, it is not a permission problem either.  And it only occurs on the user's workstation.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 21958954
Again... you can't CALL anything other than another batch file.  You can't CALL the net use command... just remove all the CALL commands.  Follow the example I provided you above at http://sbsurl.com/login

Jeff
TechSoEasy
0
 

Author Comment

by:Wytech_Wire
ID: 21966872
I joined the computer to a work group and then rejoined the domain as a new computer.

To join a work group:
Start>My Computer(right click)>Properties>Computer Name tab>Change...
Computer Restarts.
To rejoin the domain:
http://servername/connectcomputer
Follow the Wizard.

Problem solved. I'm guessing that when the computer was originally added to the domain, the Wizard wasn't completed properly... Thanks for your input!
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 400 total points
ID: 21997399
That doesn't sound right at all.  The errors you were getting were a direct result of an invalid login script.  Also, the method you used to rejoin the computer can cause other problems with the way things are supposed to work.  Please follow the exact steps I've outlined here to rejoin the workstation properly:  http://sbsurl.com/rejoin
Jeff
TechSoEasy
0
 

Expert Comment

by:KellamPettit
ID: 22843491
I just ran into the same issue. In our case is was definately a bad logon script. It was easier for me to pinpoint because each department uses a different script.
0
 

Expert Comment

by:avgcs
ID: 24181317

I found this to be a very poor, unclear discussion and solution. I feel this should not be closed, nor points awarded.
Might be logon script, might be some other unknown thing that is resolved by rejoining the domain. To have an accepted solution start with "That doesn't sound right at all. The errors you were getting were a direct result of an invalid login script." is no solution at all.
A fault in the logon sc ript should (OBVIOUSLY) affect all users that execute that script!

Leaving/rejoining the domain does not clarify what caused the problem or what the problem was either.

I can assure that there is no issue with my logon script for this domain that can account for this fault :

net use z: \\svr01\compass
net use h: \\svr01\users\%username%
net use S: \\svr01\scanning
\\SVR01\Clients\Setup\setup.exe /s SVR01

Worst experts exchange discussion I have ever seen
0
 

Expert Comment

by:avgcs
ID: 24181387
backup and then delete the local copy of the profile - it is corrupt.
login script, join to the domain are both red herring awnsers as best I can see.
I have just resolved mine by recreating the local copy of the roaming profile from the server copy.
0
 

Expert Comment

by:johnwileman
ID: 35792126
Agree with above, had the exact same problem and I resolved it by recreating the profile which had gone corrupt.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now