Author Topic: Log on script  (Read 8296 times)

0 Members and 2 Guests are viewing this topic.

Offline Gerard

  • Moderator
  • Board Veteran
  • *****
  • Posts: 3006
  • Gender: Male
Log on script
« on: February 15, 2012, 01:41:38 PM »
can anybody help me get a file to open everytime a user logs on to the computer?
is there a logon script i could use with group policy /
also is there a way this cant be done for c2k at the machine?

Offline Aaron

  • Technicians
  • Board Veteran
  • *****
  • Posts: 1369
  • Gender: Male
    • Willis & Co
Re: Log on script
« Reply #1 on: February 15, 2012, 03:23:18 PM »
what type of file are you wanting to load everytime Gerard

Offline Gerard

  • Moderator
  • Board Veteran
  • *****
  • Posts: 3006
  • Gender: Male
Re: Log on script
« Reply #2 on: February 15, 2012, 09:47:53 PM »
excel doc or batch file from a shared folder

Offline Aaron

  • Technicians
  • Board Veteran
  • *****
  • Posts: 1369
  • Gender: Male
    • Willis & Co
Re: Log on script
« Reply #3 on: February 16, 2012, 12:28:08 PM »
sorry one last question which server are you using? 2003, 2008, 2008r2

Offline Aaron

  • Technicians
  • Board Veteran
  • *****
  • Posts: 1369
  • Gender: Male
    • Willis & Co
Re: Log on script
« Reply #4 on: February 16, 2012, 01:00:17 PM »
I thought under the user account you could set during logon to run a specific program all you needed was the exact location of the program or file you wanted to run and the user you wanted it to run for

Offline Gerard

  • Moderator
  • Board Veteran
  • *****
  • Posts: 3006
  • Gender: Male
Re: Log on script
« Reply #5 on: February 16, 2012, 02:09:43 PM »
its 2003 R2, ill have a look for that

Offline Aaron

  • Technicians
  • Board Veteran
  • *****
  • Posts: 1369
  • Gender: Male
    • Willis & Co
Re: Log on script
« Reply #6 on: February 16, 2012, 02:22:03 PM »
ah sorry gerard i am used to server 2008r2 was testing with a small business server 2003r2 but that doesnt support group policy preference which does make things allot easier for yourself. You would probably have to run a logon script similar to mount a network share but i cant think offhand how to write one for what you need.

I have one for mount a share to a user its like this

net use F: \\servername\sharename\

now agian this was just testing at the time with SBS server 2003r2

Offline Aaron

  • Technicians
  • Board Veteran
  • *****
  • Posts: 1369
  • Gender: Male
    • Willis & Co
Re: Log on script
« Reply #7 on: February 16, 2012, 02:27:35 PM »
here is something i tried and it worked with c2k just change the location to suit yourself also make sure the file or application is somewere that the user can access. I created a bat file to run publisher for myself.

Open notepad

cd "C:\Program Files\Microsoft Office\Office12\"
MSPUB.exe

save as test.bat or rename the text document from .txt to .bat and run if this works you could try putting it into the users logon script to run each time they logon.

Hope this has helped you