Question

running task scheduler without password

Asked by: jesschoen

Currently my computer boots without a password--I would like to keep it that way.

Is there a way to launch a batch file in Windows XP shortly after bootup using the task scheduler if one doesn't use a password?

Thanks for any help.

James

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-02-10 at 08:33:57ID20879859
Tags

windows

,

without

,

xp

Topic

Windows XP Operating System

Participating Experts
2
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Scheduling Tasks
    I am trying to schedule Defrag, Disk cleanup, etc to run overnight in the Task Scheduler. Can't figure out how to do it. I though at first I was having trouble because I hadn't used a password when I installed Windows XP but I then added one and it still won't run.What is Idl...
  2. Task scheduler problem
    Hi - I'm new here so please bear with me. I am running winXP home edition (SP1) and have a problem with the task scheduler. I want to automatically run my downloader and other tasks during the night and have set the PC bios to boot up at 4am each day. I then try to schedule ...
  3. scheduling tasks
    I'm running a batch file that uses xcopy to copy over files from one computer to another. It runs fine when I execute. But when I use scheduled tasks it demands that I use a password. I have no passwords for the shared folder on the orginating computer and none for the use...
  4. Launch batch file in Task Scheduler at 16.30 every day…
    I have a batch file Batch.bat that I am trying to launch at fixed intervals through Task Scheduler. The batch file shall be run everyday at 16.30. The batch file is run on a Windows 2003 Server. Location of Batchfile: D:\Program. The batch file is used to launch verious Excel...
  5. Vista Task Scheduler - launch failure
    I am trying to use Vista's Task Scheduler to schedule a batch-file controlled back-up job. When I first set up the scheduled job it will run as intended. However, after after logging off and then on again, the job will no longer run. Error codes generated: Event ID: 101; ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: CrazyOnePosted on 2004-02-10 at 08:36:06ID: 10323554

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername     Specifies a remote computer. Commands are scheduled on the
                   local computer if this parameter is omitted.
id                 Is an identification number assigned to a scheduled
                   command.
/delete            Cancels a scheduled command. If id is omitted, all the
                   scheduled commands on the computer are canceled.
/yes               Used with cancel all jobs command when no further
                   confirmation is desired.
time               Specifies the time when command is to run.
/interactive       Allows the job to interact with the desktop of the user
                   who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                   month. If date is omitted, the current day of the month
                   is assumed.
/next:date[,...]   Runs the specified command on the next occurrence of the
                   day (for example, next Thursday).  If date is omitted, the
                   current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

 

by: CrazyOnePosted on 2004-02-10 at 08:38:07ID: 10323573

RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
        /user:<UserName> program

RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
        /smartcard [/user:<UserName>] program

   /noprofile        specifies that the user's profile should not be loaded.
                     This causes the application to load more quickly, but
                     can cause some applications to malfunction.
   /profile          specifies that the user's profile should be loaded.
                     This is the default.
   /env              to use current environment instead of user's.
   /netonly          use if the credentials specified are for remote
                     access only.
   /savecred         to use credentials previously saved by the user.
                     This option is not available on Windows XP Home Edition
                     and will be ignored.
   /smartcard        use if the credentials are to be supplied from a
                     smartcard.
   /user             <UserName> should be in form USER@DOMAIN or DOMAIN\USER
   program         command line for EXE.  See below for examples

Examples:
> runas /noprofile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\""

NOTE:  Enter user's password only when prompted.
NOTE:  USER@DOMAIN is not compatible with /netonly.
NOTE:  /profile is not compatible with /netonly.

 

by: PeteLongPosted on 2004-02-10 at 08:39:41ID: 10323594

Easy just drop the batchfile in here :0)


C:\Documents and Settings\l<yourusername>\Start Menu\Programs\Startup

Pete

 

by: CrazyOnePosted on 2004-02-10 at 08:58:06ID: 10323786

You can use Tweak UI by opening it and double clicking "Logon" then click on "Autologon" and checking the box labeled "Log on automatically..." and set the Users name then click the "Set Password" and enter the password.

Tweak
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp  

or
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"DefaultUserName"="user"
"DefaultPassword"=""

Add reg...
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"ForceAutoLogon"="1"  
----------------------------------

How to Enable Automatic Logon in Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;315231

This article was previously published under Q315231
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

SUMMARY
This article describes how to configure Windows to automate the logon process by storing your password and other pertinent information in the registry database. This feature allows other users to start your computer and use the account that you establish to automatically log on.

IMPORTANT: If you enable autologon, using Windows XP becomes more convenient. However, using this feature can pose a security risk.
MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

If you set a computer for automatic logon, anyone who can physically gain access to the computer can also gain access to everything that is on the computer, including any network or networks that the computer is connected to. In addition, if you enable automatic logon, the password is stored in the registry in plain text. The specific registry key that stores this value is remotely readable by the Authenticated Users group. As a result, using this setting is appropriate only if the computer is physically secured and if you ensure that untrusted users cannot remotely see the registry.

Use Registry Editor (Regedit.exe) to add your logon information:
Click Start, click Run, type regedit,and then click OK to start Registry Editor.
Locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.

If there is no DefaultPassword value, follow these steps to create the value:
On the Registry Editor menu, click Edit, click New, and then click String Value.
Type DefaultPassword as the value name, and then press ENTER.
Double-click the newly created key, and then type your password in the Value Data box.
If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false) to disable the AutoAdminLogon feature.

Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.

If there is no AutoAdminLogon entry, follow these steps to create the entry:
On the Registry Editor menu, click Edit, click New, and then click String Value.
Type AutoAdminLogon as the value name, and then press ENTER.
Double-click the newly created key, and then type 1 in the Value Data box.
Quit Registry Editor.
Click Start, click Restart, and then click OK.
After your computer restarts and Windows starts, you can log on automatically.
If you want to bypass the automatic logon to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts. Note that this procedure applies only to the first logon. To enforce this setting for future logoffs, the administrator must set the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

Value:ForceAutoLogon
Type: REG_SZ
Data: 1

You can also use the following steps to enable automatic logon without editing the registry in Windows XP Home Edition and Windows XP Professional (not joined to a domain):
Click Start, and then click Run.
In the Open box, type control userpasswords2, and then click OK.
In the dialog box that appears, clear the Users must enter a user name and password to use this computer check box, and then click OK.

The information in this article applies to:
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
Microsoft Windows XP 64-Bit Edition
Last Reviewed: 6/11/2002 (1.0)  

 

by: PeteLongPosted on 2004-02-10 at 09:53:53ID: 10324278

ThanQ

 

by: jesschoenPosted on 2004-02-10 at 09:59:12ID: 10324324

Thanks, Pete, (and to CrazyOne too) for the helpful comments.  The solution worked up to a point but I still have not fully solved the problem.  My problem is with AutoProtect under Norton Antivirus 2004.  When it loads with Windows, it causes a problem with file storage in Windows XP.  When I change the setting on AutoProtect within NAV 2004 to not load with Windows, the problem disappears and AutoProtect shows in the systray with a red x through it.  I can manually enable AutoProtect at that point and everything is fine.  However, I wanted to try an automated arrangement to enable the program after Windows loaded.  So I put shortcuts to two batch files from NAV 2004 (Navapsvc and Navapw32) in the proper startup folder per Pete's suggestion and found that Windows booted first with AutoProtect with the red x followed about 30 seconds later with the x removed (enabled).  That seemed to do the trick except that after about 2-3 minutes, the red x is back and AutoProtect is again disabled.  If anyone has any thoughts on how to keep AutoProtect permanently enabled in this situation, I'd appreciate hearing from you.  When I manually enable it, it seems to keep the setting.

Thanks.

James

 

by: CrazyOnePosted on 2004-02-10 at 10:29:46ID: 10324644

According to Symantec when that happens is to uninstall it (Control Panel\ Add and Remove) and then reinstall it.

 

by: PeteLongPosted on 2004-02-10 at 10:31:38ID: 10324661

thanks for that Spencer, if that works Ill post you some points - only fair :0)

Pete

 

by: CrazyOnePosted on 2004-02-10 at 11:00:31ID: 10324956

:)

 

by: CrazyOnePosted on 2004-02-10 at 11:04:44ID: 10324990

Norton may not fully unistall

How to uninstall Norton AntiVirus by using the Rnav2003.exe removal utility

http://tinyurl.com/ucx9

Download the uninstaller
http://tinyurl.com/29zf8

 

by: jesschoenPosted on 2004-02-10 at 12:08:55ID: 10325688

I have been through the uninstall/reinstall including a rather complete uninstall via the registry--I don't think that works and would rather pursue a work-around to "trick" NAV into working OK--from what I have read, there are a lot of problems with NAV 2004.  Alternatively, I could pursue trying to install NAV 2003 with the rest of Norton SystemWorks 2004 but I'm not sure that is possible.

Is there any way to do a macro-type routine (like in Excel) so that I could record the keystrokes which could manually enable the NAV red x icon?

Thanks.

James

 

by: CrazyOnePosted on 2004-02-10 at 21:22:53ID: 10329690

Did you use this to uninstall with

Download the uninstaller
http://tinyurl.com/29zf8

 

by: CrazyOnePosted on 2004-02-10 at 21:41:03ID: 10329766

>>>I could pursue trying to install NAV 2003 with the rest of Norton SystemWorks 2004

I would comletely and thoroughly unintall Norton SystemWorks 2004. Get it completely off of your system then install Nav 2003, then install Norton SystemWorks 2004 but don't let it install the Anti Virus utility.

 

by: CrazyOnePosted on 2004-02-10 at 21:59:37ID: 10329827

I think this will allow you to change the order that programs and services load. Suggestion put the Norton AntiVirus Auto Protect Service as the last one to load or at least have it load after the Logical Disk Manager service

RegRun
http://www.greatis.com/regrun3startuporder.htm

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...