Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows 2003 Server & Windows 7 Pro 64 Bit

Posted on 2013-12-06
5
Medium Priority
?
577 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

604 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