• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

start up scripts

Pantlegz

Diamond Member
This is probably very basic, but how do you write a start up script for windows. I need it to open a program and insent a path, I know it can't be too hard if you know what you're doing. Any suggestions? Or ideas on where to look?
 
This is probably very basic, but how do you write a start up script for windows. I need it to open a program and insent a path, I know it can't be too hard if you know what you're doing. Any suggestions? Or ideas on where to look?

Programs that run at startup are controlled through the registry, or if you want really basic you can put it in the startup folder in the start menu. (not sure if this applies to 7 and vista)
 
actually, I need a start up sript to run for a group policy(changing our symantic AV from unmanaged to managed, end users are kind slow). I've kinda got it figured I'm just going to make a batch file which will be simple enough. BUT I'm having issues accessing a network location from command prompt, any suggestions? 🙂
 
actually, I need a start up sript to run for a group policy(changing our symantic AV from unmanaged to managed, end users are kind slow). I've kinda got it figured I'm just going to make a batch file which will be simple enough. BUT I'm having issues accessing a network location from command prompt, any suggestions? 🙂

Normally system scripts run as the local system account which has no network access, let me look through my scripts to see if I have one that does anything like that. Quick question, do you have a network account dedicated to script access you can use? If you don't I suggest making one.
 
we don't have a network account dedicat4ed to script access, why? we really don't use scripts much(obvisously) but the only way to change SAV from unmanaged to managed it this way or manually reinstall it on 200+ computers. I would much rather do a run once script and leave it at that...
 
we don't have a network account dedicat4ed to script access, why? we really don't use scripts much(obvisously) but the only way to change SAV from unmanaged to managed it this way or manually reinstall it on 200+ computers. I would much rather do a run once script and leave it at that...

Are you using a batch file, and do you have admin priviledges on you domain?
 
Here's my personal startup script for opening several programs while I get my morning coffee and bagel:
ping -n 10 localhost

START "Outlook" "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"

START "Docuware" "C:\DW4\Dw4.exe"

START "Explorer" "C:\windows\explorer.exe"

START "Firefox" "http://www.google.com/"

START "TaskArrange" "C:\My Download Files\TaskArrange1.1.1\TaskArrange.exe"
Here's the one I use for everyone's network-drive mapping:
net use s: \\ntserver\gaas
net use m: \\Jyu-docuware\apps
They're both simple bat files.
 
Last edited:
http://technet.microsoft.com/en-us/library/cc179134.aspx

I found several references like the one above, and from what I can see the "solution" is to give the computer accounts access to the network share.

The target computer account needs Read permission to the Office source files location, and Read and Write permissions to the log file location. The log file can be stored on the local computer.

Myself, I use autoIT once my scripts get past the very basics, so I haven't had this problem myself, but I would trust the technet answer as being the best bet.
 
awesome got it, thanks guys 🙂

Now if I could just find a way to hide the command prompt... lol


If you run it as a startup script, it should be hidden. That is a startup script as defined in an AD group policy. If it is not, there should be a group policy option to set that. I don't have my gp tools open at home to check, but I am certain there is something in there.
 
net use s: \\ntserver\gaas
net use m: \\Jyu-docuware\apps
They're both simple bat files.

I use the same thing to map a bunch of network drives on my WHS and such, but I'm wondering if anyone knows how to rename the folder in the script. I'd rather my drives be called "Video Production" or "Media" instead of the server path name.

Anyone?
 
Back
Top