RE: Batchfiles and VISTA





"Syd" wrote:

Our company have shortcuts in STARTUP, pointing to a batchfile (on the file
server), that runs everytime we reboot our machines, copying custom files
from the File server to our local computers. In XP it worked fine, with VISTA
we have to right-click and select RUN AS ADMINSTRATOR. How can we get the
BATCH file to run without any HUMAN INTERVENTION please?



if you dont want to disable UAC follow these steps :

--> Get winrar from http://rarlabs.com/rar/wrar371.exe
--> Install It
--> Right click the batch file
--> Select "add to archive"
--> Tick the box "Create SFX"
--> Select "Best" from the drop-down menu (compression method)
--> Go to the "Advanced" Tab
--> Click "SFX options" button
--> Type in the batch file's name in the "Run after extractration"
(including .bat)
--> Go to the "Modes" tab
--> Tick the box "Unpack to a temporray folder"
--> Select "Hide All" from "Silent Mode"
--> Select "Overwrite all files" from "Ovorwrite mode"
--> Click ok

You will see a new file in the batch file's directory

--> Right click the generated file
--> Select "Properties"
--> "Compability" Tab
--> Tick the "Run this program as an administator"

And finally point to it in startup (instead of the batch file)
.



Relevant Pages

  • Re: Problem Moving large files
    ... > I'm taking backups on our file server with NTBackup. ... > a batch file seemed to solve the problem. ...
    (microsoft.public.windows.server.general)
  • Re: Rebooting 2003 server automatically?
    ... > 1) Regularly rebooting a file server is almost always a cover-up of some ... > invoked from a remote location by UNC or mapped network drive letter. ... > Bring the batch file to the server locally, or declare the remote host a ...
    (microsoft.public.win2000.general)
  • Login Script batch File
    ... I need to include a small batch file in file server's login script. ... SBS 2003. ... This file copies a small file from file server to a folder on ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: .NET Framework 2.0 Configuration
    ... took a step backwards not ... .NET exe off a file server? ... I would give them a batch file or tell them to paste the following into ...
    (microsoft.public.dotnet.framework)