Ad
News

ATI Catalyst drivers have a problem

Published on August 27, 2004

ATI has a problem in the latest Catalyst drivers. Read more

AMD's forums hacked

Published on January 30, 2006

Visitors to AMD's website forums received a shock when their adware and virus scanners started blaring warnings about a possible Trojan horse being downloaded. Over the past few days visitors have been complaining about strange popup alerts and slow forum speeds. Apparently, the forum webpages were modified to include a link to a malicious Windows Metafile (WMF) image hosted on toolbarsdollars.biz. A major WMF vulnerability that allows hackers to hide code inside of image files was disclosed a few weeks ago and many users still have not patched against it. Read more

Nvidia Contract Makers In Taiwan Low-key Over Defective Chip Reports

Published on July 07, 2008

Nvidia's Taiwan-based graphics chip contract makers are being low-key after the US chip designer informed investors on July 3 that will take a charge of US$150-$200 million related to expenses stemming from issues discovered with die/packaging materials used in previous generation notebook products. Read more

XP Service Pack 3 Kills AMD Machines

Published on May 09, 2008

Windows XP Service Pack 3 finally arrived to our computers this week… And is now killing AMD machines, according to Jesper Johansson, former program manager for security policy at Microsoft. Read more

Latest Reviews & Articles

System Builder Marathon: Performance & Value

Published on November 28, 2008

We tightened the budget on this month’s enthusiast-level system while loosening our belt for the low-cost gamer box by a similar percentage. Today we gauge the effect of these changes on performance and value and compare to last month's machines. Read more

System Builder Marathon: $1,250 Enthusiast PC

Published on November 27, 2008

On this, the second day of our System Builder Marathon, Don turns down the price tag of his mid-range build looking for a sweet spot just above the $1,000 marker. Let's see what sort of hardware he found for it! Read more

System Builder Marathon: $625 Gaming PC

Published on November 26, 2008

This month's System Builder Marathon is all about your feedback to us. We've revamped our entry-level and mid-range PCs with new price points. Let's kick things off with what we think is the best value at a $625 price point! Read more

The State Of The Personal Computer

Published on November 25, 2008

Where were we in 2008 and where are we heading in 2009? In his State of the Personal Computer address, Alan Dang shares his insights as a user of three different platforms: Mac, Windows, and Linux. Read more

  Tom's Hardware Forums » Windows XP » Windows XP General Discussion » MMC and Logon & Logoff Scripts Problem
 

MMC and Logon & Logoff Scripts Problem




Word :   Username :  
 
Bottom
Author
 Thread : MMC and Logon & Logoff Scripts Problem
 
Profile: stranger
More Information



Windows XP Pro SP2 complete with all updates.

I have two scripts, a logon.cmd script and a logoff.cmd script. both run and work when used manually.

When added to the MMC console they both run. The logoff script works a treat, no problem, but however the logon script starts OK but fails to complete. Wait.exe is a simple MSDos executable that waits a number of seconds before continueing, this gives a little time for commands to complete before moving on (you can't upload a text file that hasn't been created yet!

############ Code in logon Script begins ############

C:

cd \registration

echo online>onlinestatus.txt

wait 3

ftp -s:logon.txt

wait 3

del onlinestatus.txt

exit

############ Code in logon Script Ends ############

This logon script gets as far as successfully loging into the FTP server in the ftp script but fails to upload the very simple text file. IP Address & login User info changed! The script doesn't log out from the ftp server either.

############ logon.txt contains the code ############

open XX.XX.XX.XX
UserName
PassWord
ascii
put onlinestatus.txt
bye

############ logon.txt contains the code ############


On shutdown the same ftp script runs and completes successfully.

Any thoughts and ideas as to what may be going wrong much appreciated.



Related Product

Register or log in to remove.

Profile: stranger
More Information


OK Problem not resolved but sorted.

Problem resolved in an unsatisfactory way by adding the logon script into the Startup Folder. Not what i wanted but at least it works and does its Job.



  Tom's Hardware Forums » Windows XP » Windows XP General Discussion » MMC and Logon & Logoff Scripts Problem

Go to:
 

Google Ads