Avatar of DRRAM
DRRAM
 asked on

shortcut in the desktop

Please how I can create a desktop shortcut of a file. bat that is on the network through Active Directory and which is activated at the start of the session
Thx
Windows XPWindows Server 2003Active Directory

Avatar of undefined
Last Comment
Kent W

8/22/2022 - Mon
rawinnlnx9

Right-click the .bat and select 'Copy' then go to your desktop and 'Paste as shortcut'.
DRRAM

ASKER
the PC is in active directory
Please how I can create a desktop shortcut of a file. bat that is on the network through Active Directory and which is activated at the start of the session
Thx
jorgedeoliveiraborges

Use UNC name convention.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
johnb6767

How to modify the Group Policy for programs that run at user logon on a computer that is running Windows XP
http://support.microsoft.com/kb/314488

Use the UNC path to the file, and to whomever you assign the policy to, will run the .bat file.....
athomsfere

So on login?

Create a shortcut in the startup folder to \\servername\sharename
johnb6767

Or just Rt Click the .bat file on the network share>Send To>Desktop (create Shortcut), and then paste it in the All users Startup folder here....

C:\Documents and Settings\All Users\Start Menu\Programs\Startup
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Kent W

You are aware that in AD, for users, you can name a bat file (logon script) to run, right?

This would be in the \\addomain\netlogon

rawinnlnx9

http://www.rlmueller.net/LogonScriptFAQ.htm#How do I setup logon scripts in a domain with Active Directory
DRRAM

ASKER
yes you are right but I have a problem sweating our bat file (logon script) to run
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
rawinnlnx9

Are you getting an error? I think you could also just create a bat file. Then create a windows task that runs at logon and executes the .bat file.

Go to control panel task scheduler. New task. The trigger will be a specific event. The log is security, the source is EventLog and the ID is 528. You will then have it launch a program. In the next dialog it lets you navigate to a file (.exe or .bat) and you should be able to take it from there.
DRRAM

ASKER
please  rawinnlnx9 can make me a print screen thx
ASKER CERTIFIED SOLUTION
Kent W

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question