{"id":345,"date":"2013-09-25T06:28:38","date_gmt":"2013-09-25T06:28:38","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2013\/09\/25\/to-assign-computer-startup-scripts\/"},"modified":"2017-12-25T00:37:11","modified_gmt":"2017-12-25T00:37:11","slug":"to-assign-computer-startup-scripts","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/to-assign-computer-startup-scripts\/","title":{"rendered":"How to assign computer startup scripts?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3745\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2013\/09\/computer-startup-scripts.png\" alt=\"computer-startup-scripts\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2013\/09\/computer-startup-scripts.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2013\/09\/computer-startup-scripts-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<table class=\"numberedList\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"top\">\n<td class=\"listNumber\" align=\"right\" nowrap=\"nowrap\">1.<\/td>\n<td>Open the Group Policy snap-in.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td class=\"listNumber\" align=\"right\" nowrap=\"nowrap\">2.<\/td>\n<td>In the console tree, click <strong>Scripts (Startup\/Shutdown)<\/strong>. &#8211;<\/p>\n<p><strong>Where?<\/strong><\/p>\n<p><em>policy name<\/em> Policy &gt; Computer Configuration &gt; Windows Settings &gt; Scripts (Startup\/Shutdown)or Start the policy editor of the local group: Start Menu &gt; Run &gt; Type gpedit.msc<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td class=\"listNumber\" align=\"right\" nowrap=\"nowrap\">3.<\/td>\n<td>In the details pane, double-click <strong>Startup<\/strong>.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td class=\"listNumber\" align=\"right\" nowrap=\"nowrap\">4.<\/td>\n<td>In the <strong>Startup Properties<\/strong> dialog box, click <strong>Add<\/strong>.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td class=\"listNumber\" align=\"right\" nowrap=\"nowrap\">5.<\/td>\n<td>In the <strong>Add a Script<\/strong> dialog box, type the following information, and then click\u00a0<strong>OK<\/strong>:<\/p>\n<p><strong>Script Name:<\/strong> Type the path to the script, or click <strong>Browse<\/strong> to search for the script file in the Netlogon share of the domain controller.<\/p>\n<p><strong>Script Parameters:<\/strong> Type any parameters that you want, the same way as you would type them on the command line. For example, if your script includes parameters called \/\/logo (display banner) and \/\/I (interactive mode), type the following: <strong>\/\/logo \/\/I<\/strong><\/td>\n<\/tr>\n<tr valign=\"top\">\n<td class=\"listNumber\" align=\"right\" nowrap=\"nowrap\">6.<\/td>\n<td>In the <strong>Startup Properties<\/strong> dialog box, specify the options that you want, as follows, and then click <strong>OK<\/strong>:<\/p>\n<p><strong>Startup Scripts for <\/strong><strong><em>Group Policy object<\/em><\/strong><strong>:<\/strong> Lists all the scripts that are currently assigned to the selected Group Policy object. If you assign multiple scripts, the scripts are processed in the order that you specify. To move a script up in the list, click it, and then click <strong>Up<\/strong>. To move a script down in the list, click it, and then click <strong>Down<\/strong>.<\/p>\n<p><strong>Add:<\/strong> Opens the <strong>Add a Script<\/strong> dialog box, where you can specify any additional scripts to use.<\/p>\n<p><strong>Edit:<\/strong> Opens the <strong>Edit Script<\/strong> dialog box, where you can modify script information, such as name and parameters.<\/p>\n<p><strong>Remove:<\/strong> Removes the selected script from the <strong>Startup Scripts<\/strong> list.<\/p>\n<p><strong>Show Files:<\/strong> Displays the script files that are stored in the selected Group Policy object.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>1. Open the Group Policy snap-in. 2. In the console tree, click Scripts (Startup\/Shutdown). &#8211; Where? policy name Policy &gt; Computer Configuration &gt; Windows Settings &gt; Scripts (Startup\/Shutdown)or Start the policy editor of the local group: Start Menu &gt; Run &gt; Type gpedit.msc 3. In the details pane, double-click Startup. 4. In the Startup Properties&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3745,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[57],"tags":[2300,2301,2303,2305,1122,545,1806,593,2302,354,2304,732,213],"class_list":["post-345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-assign","tag-computer","tag-computer-startup-scripts","tag-create-system-startup","tag-guide","tag-how","tag-instruction","tag-process","tag-scripts","tag-startup","tag-startup-scripts","tag-steps","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":3746,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/345\/revisions\/3746"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/3745"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}