Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Logon Script

15 Apr 2011   #1

Windows 7 Home Premium x64
Logon Script

I like to create small websites, just doing fun stuff with HTML and such.
I thought it'd be easier to share the htdocs folder(I'm using XAMPP - that's where are all HTML etc files are) and edit those files / create new files from any comp in my network.

I wanted to run a script (net use blabla..) everytime I log in on this computer(Windows 7 Home Premium x64) but it doesn't have Local Group Policies
So how can I do this?

Come to think of it, I heard you can put a .bat file in autoexec or something.
Not sure how to do that though.
Can someone help me?

My System SpecsSystem Spec

15 Apr 2011   #2


You can drop the batch/vbs file into the startup folder instead:
  • C:\Users\<your user account>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
  • Start > All Programs > Right click on "Startup" folder > Open
Hope this helps.
My System SpecsSystem Spec
15 Apr 2011   #3

Windows 7 Professional x64 Backtrack 4 R2

Have a look at the last post by Mike L who solved that problem, link to post here

Also another way of doing it.

Open Computer Management by right clicking my computer and selecting manage.

navigate to Users under Local users and groups

Right-click the user account that you want, and then clicking Properties.

In the Profile tab, there is a Logon script field, type the path to the script you would like to run.
My System SpecsSystem Spec


 Logon Script

Thread Tools

Similar help and support threads for2: Logon Script
Thread Forum
Logon Script Runs for Some Users But Not Others Network & Sharing
Logon script not running on Win 7 General Discussion
Script Logon into websites Software
Logon script issue... Network & Sharing
PowerShell logon script Network & Sharing
Use GP or logon/logoff script Network & Sharing
Delay waiting for logon script to start General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:07 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33