Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Prevent Finder windows from opening up on reboot for network volumes

Featured Replies

I have my network volumes mapped to my Mac but everytime I reboot the finder windows pop open for each one.  I would like it so the Finder windows don't open each time I start the computer.  I asked this question on another forum and this is what they posted but I have no idea how to do it.  Can someone help?  Here is what they said....

 

Make a script, save it as an app and put that app in your startup.

Something like this:

 

tell application "Finder"  
mount volume "smb://nas-01/music"  
end tell  
   
tell application "Finder"  
mount volume "smb://nas-01/pictures"  
end tell  
   
tell application "Finder"  
mount volume "smb://nas-01/movies"  
end tell  

 

Doing that way mounts the volumes but no Finder is launched.

I have my network volumes mapped to my Mac but everytime I reboot the finder windows pop open for each one.  I would like it so the Finder windows don't open each time I start the computer.  I asked this question on another forum and this is what they posted but I have no idea how to do it.  Can someone help?  Here is what they said....

 

Make a script, save it as an app and put that app in your startup.

Something like this:

 

tell application "Finder"  
mount volume "smb://nas-01/music"  
end tell  
   
tell application "Finder"  
mount volume "smb://nas-01/pictures"  
end tell  
   
tell application "Finder"  
mount volume "smb://nas-01/movies"  
end tell  

 

Doing that way mounts the volumes but no Finder is launched.

 

That will work just fine.  I have a script that does exactly this so that when I log in or connect to my home network my appleScript gets run and my drives connect

 

NOTE: You only need the "tell application "Finder" and end tell part once.  So the script would be:

tell application "Finder"
mount volume "smb://nas-01/music"
mount volume "smb://nas-01/pictures"
mount volume "smb://nas-01/movies"
end tell

I think the question is even more basic than that. I believe it's more "how do I build an AppleScript?"

 

So here's the easy step by step:

• Open up AppleScript Editor (use Spotlight or it's in Applications -> Utilities

• Copy and paste prostuff1's script in to the blank script window

• Save the file - Give it a descriptive name, and give it a location. I'd suggest Applications, as it's easily accessible to any user, and will act like an "app" you can run at any time. Make sure to choose "Application" in the file format section.

• Once you've saved it, open up the Accounts system preference, and choose your account from the list.

• Click the "Login Items" tab

• Click the plus sign, navigate to the Applications folder and find your recently saved script.

 

Give yourself a high five!

I think the question is even more basic than that. I believe it's more "how do I build an AppleScript?"

 

I did not even think about that.  I guess the programmer in me just kind of takes it for granted that if someone is trying to write an AppleScript program they will quickly find AppleScript Editor.

 

Thanks for providing the Step by Step for him.

  • Author

Thanks that worked

  • 1 year later...
  • Author

Is there away that I can add my user name and password to this script?  It has been connecting as GUEST lately?

  • 2 weeks later...
  • Author

anyone?

Try changing the URLs to smb://username:password@nas-01/music

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.