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: Enable user account at logoff/shutdown - server 2008 R2

11 Sep 2014   #1

7 Pro
Enable user account at logoff/shutdown - server 2008 R2

Hi folks. I've got Server 2008 R2 laptop that I need to transfer files to. Frequently, when I reconnect the mapped drive on the source computer, it disables my account on the laptop. Sometimes I forget to check & re-enable it, causing me to get someone to re-enable my account.

I created a batch file using net user account /active:yes. Running that batch file seems to work fine.

The question is, how do I automate that batch file to run on logoff or shutdown?


My System SpecsSystem Spec
13 Sep 2014   #2

Windows 7 32 bit

My System SpecsSystem Spec

 Enable user account at logoff/shutdown - server 2008 R2

Thread Tools

Similar help and support threads
Thread Forum
User Account Logoff in Windows 7
Hi Experts, One of our domain user is facing a weird problem that is when he tries to login a computer he is loged off immediately after enter credentials, he can log in to other computer with his profile. When I made the user the member of local admin group he was able to login to the...
General Discussion
Restrict Administrator account to install only (Server 2008)
Hi, I need to provide a client a means to install software on the computer, but I don't want the client to be able to change any system settings. It is a Server 2008 system. I know This is a Win7 forum, but the systems are from the same generation. Is there a way to accomplish this? Also, sorry...
General Discussion
Windows server 2008 cannot enable Aero
Hi all Running Windows server 2008 as a VM using vmware workstation (am testing at the moment before I move it to ESXi)I can't get Aero activated. Not a real problem but it would be nice to enable it -- I've plenty of Machine resources so I'm sure its not a lack of graphics etc. W7 Virtual...
Is there a way to execute a prgm/script at user logoff/shutdown?
In old WinXP there was a tricky feature in Group Policy editor to execute a script when a User logs off resp. the computer was shutdown. I do not find this feature in Windos 7 (pro). is there another way to execute a *.bat batch script at a) user logoff b) shutdown? Peter
General Discussion
Enable Streaming in Server 2008 R2, wip
I am working on enabling the stream function on my server, so far I have got the Windows Media Player Network Sharing Service running and am trying to work out what is preventing the streaming menu from showing in WMP 12, I suspect a registry value somewhere. If anyone wants to help then thanks. ...
Music, Pictures & Video

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 01:24.
Twitter Facebook Google+