?
Solved

Windows 2003 Server & Windows 7 Pro 64 Bit

Posted on 2013-12-06
5
Medium Priority
?
575 Views
Last Modified: 2013-12-09
Logging any client into the SBS 2003 domain runs setup.exe from the server.  This may be something to do with AD, but I cannot be sure.

My client has purchased a Windows 7 64 bit PC (little else available) and whilst it works on the domain perfectly, every time someone logs in the error message that 'setup.exe' from the server is incompatible appears.  It is easy to cancel and does not seem to create any issues, but it is an annoyance.

Of course it is obvious that a 32bit piece application from the Server will not run in the W7 64 bit environment, but I cannot find anyway of stopping the W7 64bit system trying to run it.

Any ideas?
0
Comment
Question by:davesheppard
[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
  • 2
  • 2
5 Comments
 
LVL 17

Assisted Solution

by:Chris Millard
Chris Millard earned 500 total points
ID: 39700786
setup.exe is called as part of the SBS_LOGIN.BAT file. If you check the account of any domain user in active directory users and computers, you will see the SBS_LOGIN.BAT in their account.

What you COULD do, is modify the batch file to only run certain commands (including setup.exe) if a certain version of Windows is detected.

See this page for an example of how to check which version of Windows is running:-

http://www.grimadmin.com/article.php/batchfile-easy-way-to-detect-os-version
0
 

Author Comment

by:davesheppard
ID: 39701265
Many thanks Roy, just before setting the remote access to this client, is the SBS_LOGIN.BAT file on the Server or on the PC.
0
 

Accepted Solution

by:
dstewart785 earned 500 total points
ID: 39701357
roybridge is correct in his explanation to the whereabouts of the SETUP.EXE call. Also, the fix is to not run the command line on a 64 bit machine, but you may want to run the remaining script. The easiest way to do this is to have any 64 bit machine bypass the command and continue down the logon batch file.

Operating systems maintain a set of variables to describe the machine and OS in use.  If you use the DOS command SET from a DOS window, you will see all the values set on your machine. The value to determine the architecture (32 or 64 bit) for command scripts (DOS) is PROCESSOR_ARCHITECTURE. A 64 bit machine will show PROCESSOR_ARCHITECTURE=AMD64 while a 32 bit machine will show PROCESSOR_ARCHITECTURE=x86. Using this information, you can add some lines to your logon script to step by the SETUP Command:

1. Browse to the logon script file at \\sbsservername\netlogon, and open the logon script for editing

2. Locate the command \\sbsservername\clients\setup\setup.exe /s sbsservername

3. Insert a line above it:

 IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" GOTO MissSetup

4. Now, insert a line below the setup.exe command line found in step 2:

:MissSetup
 (include the : in the line)

Your logon script should like:

                     IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" GOTO MissSetup
                     \\sbsservername\clients\setup\setup.exe /s sbsservername
                     :MissSetup

5. Save it.

NOTE: You may have to log onto the SBS server itself as Administrator and locate the logon script in C:\Windows drive in order to edit it.

Now, during the logon process, when any machine running 64 bit architecture gets to the IF EXIST command line, it will skip to the :MissSetup line, bypassing the \\sbsservername\clients\setup\setup.exe /s sbsservername line

Sorry about the education if you were just looking for the answer.
0
 
LVL 17

Expert Comment

by:Chris Millard
ID: 39701363
@davesheppard - the SBS_LOGIN.BAT is on the server.
0
 

Author Closing Comment

by:davesheppard
ID: 39705617
Many thanks to you both, it worked perfectly.  I have split the points as I needed you both, hope neither of you mind.
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Determining the an SCCM package name from the Package ID
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

765 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