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
Sha11e

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.

So...
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
TCG

 
 

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\
or.....
  • Start > All Programs > Right click on "Startup" folder > Open
Hope this helps.
My System SpecsSystem Spec
15 Apr 2011   #3
Clinkz

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
.


Reply

 Logon Script




Thread Tools





Similar help and support threads
Thread Forum
the logon process was unable to display security and logon options whe
I have a Gateway MX6920 that had Windows XP preinstalled on it, I formatted and installed Windows 7. it only has the basic Windows 7 programs on it +Firefox, Google Chrome, TeamViewer, & an Anti-virus, but I have an ongoing issue where the computer completely freezes. the mouse doesn't work, no...
General Discussion
Can I force a user to log off automatically through a logon script?
Hi there I've trying to invoke a fix on the fly and have got a mixed windows workstation environment on my network. For particular reasons, I don't want my windows XP users to use a Windows 7 machine and equally I don't want a Windows 7 user to use a Windows XP machine. Silly I know but there...
Network & Sharing
Logon script not running on Win 7
Hi all, new here. Have a little experience with Win 7, a lot with Win XP. So here's my situation. I'm trying to create a login script for use on my work's PCs. Most all of our boxes are running XP. Putting this login script into the Starup folder works fine, the script runs on startup and...
General Discussion
Logon script issue...
Hi, I work in a fairly large company and we use a logon script (pushed thru GPO) utilizing "NET USE" to access shared drives. In XP, the system simply skips those drives which user has no access rights to and goes back straight to the C:\drive prompt. This effectively puts an end to the script...
Network & Sharing
Logon screen, change/remove logon picture
Hi, Is there a way to remove the logon picture. or make the picture smaller. it ruins my logon wallpaper :cry: let me know!
Customization
PowerShell logon script
Ok, so this doesn't necessarily have to do with Windows 7, but I originally wanted to reply to a post on Vista forums and somehow I ended up here. Anyway... I actually tried all of this on Windows Server 2008 - set policies, scripts and logged on there. Here's one way that actually works. 1)...
Network & Sharing

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 00:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App