Solved

Client Setup Wizard Error

Posted on 2008-06-25
14
4,880 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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
 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

685 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