Solved

file you are looking for cannot be found

Posted on 2011-09-06
12
198 Views
Last Modified: 2012-05-12
A program folder is located on the server (2008 r2 x64) a drive letter was mapped to that folder from a workstation. A shortcut was made to the exe file within that folder. At times ,when you double click on the shortcut, I get a message, "the file you are looking for cannot be found". If I reboot, the shortcut\program loads fine. Is there anything I can do to correct this error without constantly rebooting?
0
Comment
Question by:robert145
  • 6
  • 5
12 Comments
 
LVL 7

Expert Comment

by:Reece Dodds
ID: 36492611
create a batch file to re-map the network drives...
eg:

@echo off

Net Use Y: /Delete /y
Net Use Y: \\192.168.1.254\SharedFolder1 adminpassword /USER:adminunsername /y

Net Use Z: /Delete /y
Net Use Z: \\192.168.1.254\SharedFolder2 adminpassword /USER:adminunsername /y

Save it in the Startup folder of the client PC, and create a shortcut to it on your desktop if you want.
0
 

Author Comment

by:robert145
ID: 36492703
how does this differ from a regular mapped drive and what might cause the shortcut to the executable that did work, suddenly not connect again, if the program were closed, then reopened?
0
 
LVL 7

Expert Comment

by:Reece Dodds
ID: 36492772
it doesn't differ from a regular mapped drive, it's the same just done with the CLI rather than GUI.

Drive mappings will sometimes disconnect after 15 mins of inactivity.  
To fix this (in XP):
http://support.microsoft.com/kb/297684#appliesto

On the server you may need to change group policies:
Start>Run>gpedit.msc [ENTER]
Expand Computer Configuration>Windows Settings>Security Settings>Local Policies>Security Option:
Microsoft Network Server:Amount of idle time required before suspending session.
Zero (0) will disable it
.

 
0
 

Author Comment

by:robert145
ID: 36492832
would it be common for server group policies left unedited to frequently "disconnect" program shortcuts causing annoying frequent reboots. And is it possible that mainstream applications would automatically adjust the group policy timings to avoid such system tweaks manually?
0
 
LVL 7

Expert Comment

by:Reece Dodds
ID: 36492898
yes to the first and no to the second.
The default timeout for disconnecting idle connections is 15 mins.  This is standard for almost all Windows OS installs.
Mainstream applications are usually intended to be installed in the environment they are most commonly used in, which is stand-alone systems with normal network setups.  If the program was designed to run on and rely on a network, it wouldn't use mapped drives for this.
0
 

Author Comment

by:robert145
ID: 36492938
the program in question was written. The program was not assembled as a typical installed type software, but simple compiled into a regular folder that was placed on the server. These issues I have explained have only been occurring since the folder was copied to the new 2008 x64 server. The old server was a 32 bit. It was confirmed by the software maker that the compiled program would run fine on a 64 bit server.
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 10

Expert Comment

by:SuperTaco
ID: 36492960
You can try disabled SMB 2.0 on your server.  i would also update any firmware on your switches.  that can cause the issue too.
0
 
LVL 7

Expert Comment

by:Reece Dodds
ID: 36492972
I'm not too sure how the installer was compiled and what system changes it could have made to the 32 OS that failed to occur on the x64, but if the batch file fix (which really just recreates the mapped drives on log in) and the GPO and registry tweaks fixed the issue, then it is quite likely that the installer (not the program) was built correctly for the x64 OS.
Is everything running OK now?
0
 
LVL 7

Accepted Solution

by:
Reece Dodds earned 250 total points
ID: 36492980
i mean "built incorrectly for x64 OS"
0
 

Assisted Solution

by:robert145
robert145 earned 0 total points
ID: 36493015
i will work with the gpedit.msc and possibly the autodisconnect. i think our system is small enough that the resources wont be effected.
0
 

Author Closing Comment

by:robert145
ID: 36518520
all viable options worth working with. Very helpful.
0
 

Author Comment

by:robert145
ID: 36537183
Well, I believe I discovered what my issue was on one of my PC's. I thought that we were all experiencing some new issues with the program since we had installed Symantec Endpoint AV Clients. After uninstalling the Symantec, most of the issues disappeared. I installed MS Essentials AV. I was still unable to double-click the shortcut and get the exe to launch on my PC. I ran a full scan on my PC to find that I had 10 instances of Exploit:Java/CVE-2010-0840.W. None of the other AVware: Symantec, Sophos, AVG or Avast identified the problems including Malwarebytes. After they were removed, I rebooted, rescanned, rebooted and the program launched multiple times. Its been fine ever since. Another small program, autoruns.exe from MS helped me remove some old removed program remnants that I was never able to get at. Uninstall usually doesnt uninstall everything. This lesson in frustration lead me to try extremes. Normally I would just reformat and reinstall the OS which is why I never store anything on the C: drive except the OS and programs. Sometimes the damage goes too far and reformat is the only option. Only time will tell if the recovery was successful.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

After playing around with my ASUS 1215n (http://www.asus.de/product.aspx?P_ID=HrglRhH8D60Rmlv3) Netbook, I finally managed to get smooth HD 1080p (http://en.wikipedia.org/wiki/1080p) playback of videos on it. Second Generation Intel Atom (http://en.…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

762 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

18 Experts available now in Live!

Get 1:1 Help Now